/external/tensorflow/tensorflow/compiler/xla/service/ |
D | multi_output_fusion.cc | 141 HloInstruction* MultiOutputFusion::Fuse(HloInstruction* instr1, in Fuse() argument 143 HloInstruction* remaining = instr1; in Fuse() 197 MultiOutputFusion::GetNewFusibles(HloInstruction* instr1, in GetNewFusibles() argument 199 HloInstruction* fusion = instr1; in GetNewFusibles() 201 if (is_fused(instr1)) { in GetNewFusibles() 203 fused = instr1; in GetNewFusibles() 244 void MultiOutputFusion::UpdateBeforeFuse(HloInstruction* instr1, in UpdateBeforeFuse() argument 246 HloInstruction* fusion = instr1; in UpdateBeforeFuse() 248 if (is_fused(instr1)) { in UpdateBeforeFuse() 250 fused = instr1; in UpdateBeforeFuse() [all …]
|
D | multi_output_fusion.h | 68 virtual bool ShapesCompatibleForFusion(HloInstruction* instr1, 77 virtual int64_t GetProfit(HloInstruction* instr1, HloInstruction* instr2) = 0; 83 virtual bool LegalToFuse(HloInstruction* instr1, HloInstruction* instr2); 87 bool LegalToFuseMainConstraints(HloInstruction* instr1, 92 virtual HloInstruction* Fuse(HloInstruction* instr1, HloInstruction* instr2); 105 HloInstruction* instr1, HloInstruction* instr2, 122 HloInstruction* instr1, HloInstruction* instr2); 140 HloInstruction* instr1; member 144 ToBeFused(HloInstruction* instr1, HloInstruction* instr2, int64_t score, in ToBeFused() 146 : instr1(instr1), instr2(instr2), score(score), timestamp(timestamp) {} in ToBeFused() [all …]
|
D | copy_insertion.cc | 1036 Relation::RuntimeOrder ComputeRuntimeOrdering(HloInstruction* instr1, in ComputeRuntimeOrdering() argument 1038 auto saved_relation = AlreadyComputed(instr1, instr2); in ComputeRuntimeOrdering() 1040 VLOG(3) << "Already computed between " << instr1->ToString() << "\n vs " in ComputeRuntimeOrdering() 1044 auto constraint = ordering_->GetExecutionConstraint(instr1, instr2); in ComputeRuntimeOrdering() 1047 return Save(instr1, instr2, Relation::kSameInstr); in ComputeRuntimeOrdering() 1049 return Save(instr1, instr2, Relation::kBeforeStartOrSameInstr); in ComputeRuntimeOrdering() 1051 return Save(instr1, instr2, Relation::kBeforeStart); in ComputeRuntimeOrdering() 1053 return Save(instr1, instr2, Relation::kAfterEnd); in ComputeRuntimeOrdering() 1056 return Save(instr1, instr2, Relation::kNoOverlap); in ComputeRuntimeOrdering() 1058 if (instr1->parent() != instr2->parent()) { in ComputeRuntimeOrdering() [all …]
|
D | hlo_instruction_test.cc | 2001 auto instr1 = HloInstruction::CreateCustomCall(ShapeUtil::MakeShape(F32, {}), in TEST_F() local 2004 auto instr2 = instr1->Clone(); in TEST_F() 2005 EXPECT_TRUE(instr1->Identical(*instr2)); in TEST_F() 2008 instr1->set_window(w); in TEST_F() 2009 EXPECT_FALSE(instr1->Identical(*instr2)); in TEST_F() 2013 auto instr1 = HloInstruction::CreateCustomCall(ShapeUtil::MakeShape(F32, {}), in TEST_F() local 2016 auto instr2 = instr1->Clone(); in TEST_F() 2017 EXPECT_TRUE(instr1->Identical(*instr2)); in TEST_F() 2021 instr1->set_convolution_dimension_numbers(dnums); in TEST_F() 2022 EXPECT_FALSE(instr1->Identical(*instr2)); in TEST_F() [all …]
|
D | hlo_verifier.cc | 1948 Status CheckSameChannel(const HloInstruction* instr1, in CheckSameChannel() argument 1950 if (instr1->channel_id() != instr2->channel_id()) { in CheckSameChannel() 1954 instr1->ToString(), *instr1->channel_id(), instr2->ToString(), in CheckSameChannel() 1963 Status CheckSameIsHostTransfer(const HloInstruction* instr1, in CheckSameIsHostTransfer() argument 1966 DynCast<const HloSendRecvInstruction>(instr1); in CheckSameIsHostTransfer() 1976 instr1->ToString(), instr2->ToString()); in CheckSameIsHostTransfer()
|
/external/compiler-rt/test/profile/ |
D | instrprof-shared.test | 5 2. libt-no-instr1.so is not instrumented 18 RUN: %clang -o %t.d/libt-no-instr1.so -fPIC -shared %S/Inputs/instrprof-shared-lib.c 23 RUN: %clang_profgen -o %t-instr-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/Inputs/instrprof-sha… 25 RUN: %clang -o %t-no-instr1-instr -L%t.d -rpath %t.d -lt-instr %S/Inputs/instrprof-shared-main.c 26 RUN: %clang -o %t-no-instr1-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %S/Inputs/instrprof-shared-… 27 RUN: %clang -o %t-no-instr1-no-instr2 -L%t.d -rpath %t.d -lt-no-instr2 %S/Inputs/instrprof-shared-… 30 RUN: %clang -o %t-no-instr2-no-instr1 -L%t.d -rpath %t.d -lt-no-instr1 %t.d/instrprof-shared-main-… 34 RUN: env LLVM_PROFILE_FILE=%t-instr-no-instr1.profraw %run %t-instr-no-instr1 36 RUN: env LLVM_PROFILE_FILE=%t-no-instr1-instr.profraw %run %t-no-instr1-instr 38 RUN: env LLVM_PROFILE_FILE=%t-no-instr1-no-instr1.profraw %run %t-no-instr1-no-instr1 [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | gpu_fusible.cc | 126 bool ShapesCompatibleForMultiOutputFusion(const HloInstruction& instr1, in ShapesCompatibleForMultiOutputFusion() argument 143 auto* instr_1 = GetRealHeroForMultiOutputFusion(instr1); in ShapesCompatibleForMultiOutputFusion() 409 FusionDecision FusionFitsInBudget(const HloInstruction& instr1, in FusionFitsInBudget() argument 413 if (SharedMemoryUsage(instr1, cache) + SharedMemoryUsage(instr2, cache) > in FusionFitsInBudget() 420 if (NumUnnestedReductions(instr1, cache) + in FusionFitsInBudget() 442 int64_t num_output_buffers = ShapeUtil::SubshapeCount(instr1.shape()) + in FusionFitsInBudget() 452 if (instr1.operand_count() + instr2.operand_count() - 1 + in FusionFitsInBudget() 458 << "(" << instr1.ToString() << " ) = " << instr1.operand_count() in FusionFitsInBudget() 467 absl::flat_hash_set<const HloInstruction*> operands(instr1.operands().begin(), in FusionFitsInBudget() 468 instr1.operands().end()); in FusionFitsInBudget() [all …]
|
D | multi_output_fusion.cc | 54 FusionDecision LegalToFuse(HloInstruction* instr1, HloInstruction* instr2, in LegalToFuse() argument 62 CHECK(instr1->opcode() == HloOpcode::kFusion); in LegalToFuse() 64 instr1->fusion_kind() != instr2->fusion_kind()) || in LegalToFuse() 66 instr1->IsLoopFusion())) { in LegalToFuse() 73 if (instr1->fused_expression_root()->opcode() == in LegalToFuse() 82 return FusionFitsInBudget(*instr1, *instr2, in LegalToFuse()
|
D | gpu_fusible.h | 81 FusionDecision FusionFitsInBudget(const HloInstruction& instr1, 103 bool ShapesCompatibleForMultiOutputFusion(const HloInstruction& instr1,
|
/external/mesa3d/src/compiler/nir/ |
D | nir_opt_vectorize.c | 99 instrs_equal(const nir_instr *instr1, const nir_instr *instr2) in instrs_equal() argument 101 switch (instr1->type) { in instrs_equal() 103 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instrs_equal() 165 instr_try_combine(struct nir_shader *nir, nir_instr *instr1, nir_instr *instr2, in instr_try_combine() argument 168 assert(instr1->type == nir_instr_type_alu); in instr_try_combine() 170 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in instr_try_combine() 189 nir_builder_init(&b, nir_cf_node_get_function(&instr1->block->cf_node)); in instr_try_combine() 190 b.cursor = nir_after_instr(instr1); in instr_try_combine() 312 nir_instr_remove(instr1); in instr_try_combine() 372 const nir_instr *instr1 = *(nir_instr **)util_dynarray_begin(arr1); in cmp_func() local [all …]
|
D | nir_instr_set.c | 549 nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2) in nir_instrs_equal() argument 551 assert(instr_can_rewrite(instr1) && instr_can_rewrite(instr2)); in nir_instrs_equal() 553 if (instr1->type != instr2->type) in nir_instrs_equal() 556 switch (instr1->type) { in nir_instrs_equal() 558 nir_alu_instr *alu1 = nir_instr_as_alu(instr1); in nir_instrs_equal() 601 nir_deref_instr *deref1 = nir_instr_as_deref(instr1); in nir_instrs_equal() 645 nir_tex_instr *tex1 = nir_instr_as_tex(instr1); in nir_instrs_equal() 678 nir_load_const_instr *load1 = nir_instr_as_load_const(instr1); in nir_instrs_equal() 700 nir_phi_instr *phi1 = nir_instr_as_phi(instr1); in nir_instrs_equal() 720 nir_intrinsic_instr *intrinsic1 = nir_instr_as_intrinsic(instr1); in nir_instrs_equal()
|
D | nir.h | 3989 bool nir_instrs_equal(const nir_instr *instr1, const nir_instr *instr2);
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_vectorize_vs_inputs.c | 97 r600_io_access_same_var(const nir_instr *instr1, const nir_instr *instr2) in r600_io_access_same_var() argument 99 assert(instr1->type == nir_instr_type_intrinsic && in r600_io_access_same_var() 102 nir_intrinsic_instr *intr1 = nir_instr_as_intrinsic(instr1); in r600_io_access_same_var() 220 const nir_instr *instr1 = *(nir_instr **)util_dynarray_begin(arr1); in r600_cmp_func() local 223 return r600_io_access_same_var(instr1, instr2); in r600_cmp_func()
|
/external/AFLplusplus/ |
D | GNUmakefile.gcc_plugin | 156 echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr 158 …@cmp -s .test-instr0 .test-instr1; DR="$$?"; rm -f .test-instr0 .test-instr1; if [ "$$DR" = "0" ];… 197 rm -f *.o *.so *~ a.out core core.[1-9][0-9]* test-instr .test-instr0 .test-instr1 .test2
|
D | GNUmakefile.llvm | 467 echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr 469 …@cmp -s .test-instr0 .test-instr1; DR="$$?"; rm -f .test-instr0 .test-instr1; if [ "$$DR" = "0" ];… 528 rm -f *.o *.so *~ a.out core core.[1-9][0-9]* .test2 test-instr .test-instr0 .test-instr1 *.dwo
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_compiler_test.cc | 782 auto instr1 = c1.instructions(j); in TEST_F() local 784 instr1.clear_name(); in TEST_F() 785 instr1.clear_id(); in TEST_F() 786 instr1.clear_operand_ids(); in TEST_F() 794 LOG(INFO) << "instr1 = " << instr1.DebugString(); in TEST_F() 796 instr1.AppendPartialToString(&str1); in TEST_F()
|
/external/llvm/docs/ |
D | MergeFunctions.rst | 415 instr0 i32 %pf0 instr1 i32 %pf1 instr2 i32 123 421 instr0 i32 %pg0 instr1 i32 %pg0 instr2 i32 123 430 Instruction with opcode "*instr1*" from *f* is *greater* than instruction with 431 opcode "*instr1*" from *g*; here we have equal types and opcodes, but "*pf1* is
|