Home
last modified time | relevance | path

Searched refs:HasSideEffect (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_to_select.cc35 if (conditional->true_computation()->HasSideEffect() || in DoConditionalToSelect()
36 conditional->false_computation()->HasSideEffect()) { in DoConditionalToSelect()
Dzero_sized_hlo_elimination.cc34 if (instruction->HasSideEffect() || !instruction->shape().IsArray() || in Run()
Dhlo_dce.cc54 (!instruction->HasSideEffect() || in RunOnComputation()
Dhlo_constant_folding.cc117 if (instruction->HasSideEffect()) { in Run()
Dhlo_cse.cc191 if (instruction->HasSideEffect()) { in Run()
Dwhile_loop_invariant_code_motion.cc204 if (instruction->HasSideEffect() || in TryHoistingInvariantInstructionsFromWhileBody()
Dwhile_loop_expensive_invariant_code_motion.cc202 if (instruction->HasSideEffect() || in TryHoistingInvariantInstructionsFromWhileBody()
Dhlo_computation.cc245 bool HloComputation::HasSideEffect() const { in HasSideEffect() function in xla::HloComputation
247 if (instruction->HasSideEffect()) { in HasSideEffect()
274 (item->HasSideEffect() && item != instruction)) { in RemoveInstructionAndUnusedOperands()
Dhlo_computation.h454 bool HasSideEffect() const;
Dconditional_simplifier.cc75 conditional->HasSideEffect()) { in TryRemoveConditional()
Dwhile_loop_simplifier.cc651 if (while_op->while_condition()->HasSideEffect()) { in TryRemoveWhileLoop()
698 return computation->HasSideEffect(); in TryRemoveWhileLoop()
Dhlo_instruction_test.cc1907 EXPECT_FALSE(instr->HasSideEffect()); in TEST_F()
1909 EXPECT_TRUE(instr->HasSideEffect()); in TEST_F()
Dhlo_instruction.h1054 bool HasSideEffect() const;
Dhlo_instruction.cc1547 bool HloInstruction::HasSideEffect() const { in HasSideEffect() function in xla::HloInstruction
1553 if (computation->HasSideEffect()) { in HasSideEffect()
3042 return !HasSideEffect(); in IsFusible()
Dsharding_propagation.cc607 instruction->HasSideEffect()) { in InferShardingFromOperands()
Dhlo_rematerialization.cc85 return !instruction->HasSideEffect(); in IsRematerializable()
Dmemory_space_assignment.cc3038 instruction->user_count() == 0 && !instruction->HasSideEffect() && in SimplifyGraph()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp2117 static void UpdateAsmCallInst(llvm::CallBase &Result, bool HasSideEffect, in UpdateAsmCallInst() argument
2129 if (!HasSideEffect) { in UpdateAsmCallInst()
2513 bool HasSideEffect = S.isVolatile() || S.getNumOutputs() == 0; in EmitAsmStmt() local
2517 llvm::InlineAsm::get(FTy, AsmString, Constraints, HasSideEffect, in EmitAsmStmt()
2524 UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly, in EmitAsmStmt()
2530 UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly, in EmitAsmStmt()
/external/clang/lib/CodeGen/
DCGStmt.cpp2053 bool HasSideEffect = S.isVolatile() || S.getNumOutputs() == 0; in EmitAsmStmt() local
2057 llvm::InlineAsm::get(FTy, AsmString, Constraints, HasSideEffect, in EmitAsmStmt()
2073 if (!HasSideEffect) { in EmitAsmStmt()
/external/llvm/lib/AsmParser/
DLLParser.cpp2825 bool HasSideEffect, AlignStack, AsmDialect; in ParseValID() local
2827 if (ParseOptionalToken(lltok::kw_sideeffect, HasSideEffect) || in ParseValID()
2835 ID.UIntVal = unsigned(HasSideEffect) | (unsigned(AlignStack)<<1) | in ParseValID()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp8115 bool HasSideEffect = IA->hasSideEffects(); in visitInlineAsm() local
8165 if (!HasSideEffect) in visitInlineAsm()
8166 HasSideEffect = OpInfo.hasMemory(TLI); in visitInlineAsm()
8188 SDValue Flag, Chain = (HasSideEffect) ? getRoot() : DAG.getRoot(); in visitInlineAsm()
8566 if (ResultValues.empty() || HasSideEffect || !OutChains.empty() || IsCallBr) in visitInlineAsm()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp8153 bool HasSideEffect = IA->hasSideEffects(); in visitInlineAsm() local
8209 if (!HasSideEffect) in visitInlineAsm()
8210 HasSideEffect = OpInfo.hasMemory(TLI); in visitInlineAsm()
8232 SDValue Flag, Chain = (HasSideEffect) ? getRoot() : DAG.getRoot(); in visitInlineAsm()
8633 if (ResultValues.empty() || HasSideEffect || !OutChains.empty() || IsCallBr) in visitInlineAsm()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp3385 bool HasSideEffect, AlignStack, AsmDialect; in parseValID() local
3387 if (parseOptionalToken(lltok::kw_sideeffect, HasSideEffect) || in parseValID()
3395 ID.UIntVal = unsigned(HasSideEffect) | (unsigned(AlignStack)<<1) | in parseValID()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp3218 bool HasSideEffect, AlignStack, AsmDialect; in ParseValID() local
3220 if (ParseOptionalToken(lltok::kw_sideeffect, HasSideEffect) || in ParseValID()
3228 ID.UIntVal = unsigned(HasSideEffect) | (unsigned(AlignStack)<<1) | in ParseValID()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner.cc1369 if (hlo->HasSideEffect()) { in DefaultAction()