- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for rewrites (0.18 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
const ( leaveDeadValues deadValueChoice = false removeDeadValues = true ) // deadcode indicates whether rewrite should try to remove any values that become dead. func applyRewrite(f *Func, rb blockRewriter, rv valueRewriter, deadcode deadValueChoice) { // repeat rewrites until we find no more rewrites pendingLines := f.cachedLineStarts // Holds statement boundaries that need to be moved to a new value/block pendingLines.clear()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
ArrayRef<int64_t> shape, int64_t val) { RankedTensorType type = tensorflow::GetTypeFromTFTensorShape(shape, rewriter->getIntegerType(64)); DenseElementsAttr attr = DenseElementsAttr::get(type, rewriter->getI64IntegerAttr(val)); return rewriter->create<arith::ConstantOp>(loc, type, attr); } Value CreateI32SplatTensor(Location loc, PatternRewriter *rewriter,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
// Erase unused ops after the transformation. rewriter.eraseOp(output_uniform_dequantize_call_pattern->GetCallOp()); rewriter.eraseOp(output_uniform_quantize_call_pattern->GetCallOp()); rewriter.eraseOp(multiply_op); rewriter.eraseOp(subtract_op); rewriter.eraseOp(input_i8_to_f32_convert_op); rewriter.eraseOp(input_uniform_quantize_call_pattern->GetCallOp()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
needsUnsafe = true } } } return needsUnsafe } // rewriteCall rewrites one call to add pointer checks. // If any pointer checks are required, we rewrite the call into a // function literal that calls _cgoCheckPointer for each pointer // argument and then calls the original function. // This returns the rewritten call and whether the package needs to // import unsafe as _cgo_unsafe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
//TODO: this compiles to add r5,r6,r0. It should be addi r5,r6,0. // this is OK since r0 == $0, but the latter is preferred. ADD $0, R6, R5 // 7ca60214 //TODO: the assembler rewrites these into ADDIS $19, R5, Rx and ADD $-10617, Rx, Rx, but the test only sees the first ADDIS ADD $1234567, R5 // 3ca50013 or 0600001238a5d687 ADD $1234567, R5, R6 // 3cc50013 or 0600001238c5d687
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:53:50 UTC 2024 - 50.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// are present in the module graph reachable from rootPaths, they must not // be at a lower version. That could cause a missing sum error or a new // import ambiguity. // // For example, suppose a developer rewrites imports from example.com/m to // example.com/m/v2, then runs 'go mod tidy'. Tidy may delete the // requirement on example.com/m if there is no other transitive requirement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
Sets -cover. -cpuprofile cpu.out Write a CPU profile to the specified file before exiting. Writes test binary as -c would. -memprofile mem.out Write an allocation profile to the file after all tests have passed. Writes test binary as -c would. -memprofilerate n Enable more precise (and expensive) memory allocation profiles by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
src/runtime/asm_amd64.s
DATA runtime·tls_g+0(SB)/8, $16 GLOBL runtime·tls_g+0(SB), NOPTR, $8 #endif #ifdef GOOS_windows GLOBL runtime·tls_g+0(SB), NOPTR, $8 #endif // The compiler and assembler's -spectre=ret mode rewrites // all indirect CALL AX / JMP AX instructions to be // CALL retpolineAX / JMP retpolineAX. // See https://support.google.com/faqs/answer/7625886. #define RETPOLINE(reg) \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
rewriter.getIntegerAttr(attribute_type, revised_begin_mask), rewriter.getIntegerAttr(attribute_type, revised_end_mask), /*ellipsis_mask=*/rewriter.getI64IntegerAttr(0), rewriter.getIntegerAttr(attribute_type, revised_new_axis_mask), rewriter.getIntegerAttr(attribute_type, revised_shrink_axis_mask)); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
PatternRewriter& rewriter, Value& scale, Value& zero_point) { TensorType scale_type = RankedTensorType::get({}, rewriter.getF32Type()); TensorType zero_point_type = scale_type.clone(rewriter.getI32Type()); scale = rewriter.create<TF::ConstOp>( loc, scale_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0)