Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_liveness_analysis_test.cc70 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add"), {})); in TEST_F()
71 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
72 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
87 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "add.2"), {})); in TEST_F()
88 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.1"), {})); in TEST_F()
89 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "constant.2"), {})); in TEST_F()
90 EXPECT_FALSE(liveness.IsLive(GetInstruction(module.get(), "add.1"), {})); in TEST_F()
105 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {})); in TEST_F()
106 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {0})); in TEST_F()
107 EXPECT_TRUE(liveness.IsLive(GetInstruction(module.get(), "tuple.1"), {1})); in TEST_F()
[all …]
Dhlo_liveness_analysis.h51 bool IsLive(const HloInstruction* instruction,
Dhlo_module_dce.cc68 if (liveness->IsLive(xla_while, {i})) { in RunWhileDCE()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h304 JITTargetAddress Size, Linkage L, Scope S, bool IsLive, in Symbol() argument
310 setLive(IsLive); in Symbol()
315 JITTargetAddress Size, Scope S, bool IsLive) { in constructCommon() argument
323 new (Sym) Symbol(Base, 0, Name, Size, Linkage::Weak, S, IsLive, false); in constructCommon()
341 Linkage L, Scope S, bool IsLive) { in constructAbsolute() argument
346 new (Sym) Symbol(Base, 0, Name, Size, L, S, IsLive, false); in constructAbsolute()
353 bool IsLive) { in constructAnonDef() argument
359 Scope::Local, IsLive, IsCallable); in constructAnonDef()
366 bool IsLive, bool IsCallable) { in constructNamedDef() argument
372 new (Sym) Symbol(Base, Offset, Name, Size, L, S, IsLive, IsCallable); in constructNamedDef()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h303 JITTargetAddress Size, Linkage L, Scope S, bool IsLive, in Symbol() argument
309 setLive(IsLive); in Symbol()
314 JITTargetAddress Size, Scope S, bool IsLive) { in constructCommon() argument
322 new (Sym) Symbol(Base, 0, Name, Size, Linkage::Weak, S, IsLive, false); in constructCommon()
340 Linkage L, Scope S, bool IsLive) { in constructAbsolute() argument
345 new (Sym) Symbol(Base, 0, Name, Size, L, S, IsLive, false); in constructAbsolute()
352 bool IsLive) { in constructAnonDef() argument
357 Scope::Local, IsLive, IsCallable); in constructAnonDef()
364 bool IsLive, bool IsCallable) { in constructNamedDef() argument
369 new (Sym) Symbol(Base, Offset, Name, Size, L, S, IsLive, IsCallable); in constructNamedDef()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAggressiveAntiDepBreaker.cpp119 bool AggressiveAntiDepState::IsLive(unsigned Reg) { in IsLive() function in AggressiveAntiDepState
217 if (State->IsLive(Reg)) { in Observe()
315 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) { in HandleLastUse()
320 if (!State->IsLive(Reg)) { in HandleLastUse()
336 if (!State->IsLive(SubregReg)) { in HandleLastUse()
399 if (State->IsLive(AliasReg)) { in PrescanInstruction()
435 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) in PrescanInstruction()
683 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { in FindSuitableFreeRegisters()
690 if (State->IsLive(AliasReg) || in FindSuitableFreeRegisters()
801 if (!State->IsLive(Reg)) in BreakAntiDependencies()
DAggressiveAntiDepBreaker.h113 bool IsLive(unsigned Reg);
/external/llvm/lib/CodeGen/
DAggressiveAntiDepBreaker.cpp106 bool AggressiveAntiDepState::IsLive(unsigned Reg) in IsLive() function in AggressiveAntiDepState
204 if (State->IsLive(Reg)) { in Observe()
302 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) { in HandleLastUse()
307 if (!State->IsLive(Reg)) { in HandleLastUse()
321 if (!State->IsLive(SubregReg)) { in HandleLastUse()
381 if (State->IsLive(AliasReg)) { in PrescanInstruction()
417 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) in PrescanInstruction()
665 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { in FindSuitableFreeRegisters()
672 if (State->IsLive(AliasReg) || in FindSuitableFreeRegisters()
784 if (!State->IsLive(Reg)) in BreakAntiDependencies()
DAggressiveAntiDepBreaker.h108 bool IsLive(unsigned Reg);
/external/llvm-project/llvm/lib/CodeGen/
DAggressiveAntiDepBreaker.cpp114 bool AggressiveAntiDepState::IsLive(unsigned Reg) { in IsLive() function in AggressiveAntiDepState
212 if (State->IsLive(Reg)) { in Observe()
310 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) { in HandleLastUse()
315 if (!State->IsLive(Reg)) { in HandleLastUse()
331 if (!State->IsLive(SubregReg)) { in HandleLastUse()
394 if (State->IsLive(AliasReg)) { in PrescanInstruction()
430 if (TRI->isSuperRegister(Reg, *AI) && State->IsLive(*AI)) in PrescanInstruction()
678 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { in FindSuitableFreeRegisters()
685 if (State->IsLive(AliasReg) || in FindSuitableFreeRegisters()
796 if (!State->IsLive(Reg)) in BreakAntiDependencies()
DAggressiveAntiDepBreaker.h113 bool IsLive(unsigned Reg);
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp123 bool IsLive = MBB.isLiveIn(GPR64) || MBB.isLiveIn(GPR32); in addSavedGPR() local
124 if (!IsLive || !IsImplicit) { in addSavedGPR()
125 MIB.addReg(GPR64, getImplRegState(IsImplicit) | getKillRegState(!IsLive)); in addSavedGPR()
126 if (!IsLive) in addSavedGPR()
/external/llvm-project/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp360 if (IsLive(Use)) in MarkIfNotLive()
660 assert(!IsLive(RA) && "Use is already live!"); in MarkValue()
662 if (IsLive(MaybeLiveUse)) { in MarkValue()
697 if (IsLive(RA)) in MarkLive()
707 bool DeadArgumentEliminationPass::IsLive(const RetOrArg &RA) { in IsLive() function in DeadArgumentEliminationPass
/external/deqp-deps/SPIRV-Tools/source/opt/
Daggressive_dead_code_elim_pass.h68 bool IsLive(const Instruction* inst) const { in IsLive() function
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Daggressive_dead_code_elim_pass.h68 bool IsLive(const Instruction* inst) const { in IsLive() function
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Daggressive_dead_code_elim_pass.h68 bool IsLive(const Instruction* inst) const { in IsLive() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp229 bool IsLive = MBB.isLiveIn(GPR64) || MBB.isLiveIn(GPR32); in addSavedGPR() local
230 if (!IsLive || !IsImplicit) { in addSavedGPR()
231 MIB.addReg(GPR64, getImplRegState(IsImplicit) | getKillRegState(!IsLive)); in addSavedGPR()
232 if (!IsLive) in addSavedGPR()
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DDeadArgumentElimination.h131 bool IsLive(const RetOrArg &RA);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp357 auto IsLive = [&LPR,this] (unsigned Reg) -> bool { in genMuxInBlock() local
374 bool Live = IsLive(Op.getReg()); in genMuxInBlock()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp357 auto IsLive = [&LPR,this] (unsigned Reg) -> bool { in genMuxInBlock() local
374 bool Live = IsLive(Op.getReg()); in genMuxInBlock()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.cpp191 bool IsLive = MBB.isLiveIn(GPR64) || MBB.isLiveIn(GPR32); in addSavedGPR() local
192 if (!IsLive || !IsImplicit) { in addSavedGPR()
193 MIB.addReg(GPR64, getImplRegState(IsImplicit) | getKillRegState(!IsLive)); in addSavedGPR()
194 if (!IsLive) in addSavedGPR()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.h171 uint32_t Alignment, bool IsLive);
DMachOLinkGraphBuilder.cpp285 uint32_t Alignment, bool IsLive) { in addSectionStartSymAndBlock() argument
290 auto &Sym = G->addAnonymousSymbol(B, 0, Size, false, IsLive); in addSectionStartSymAndBlock()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.h193 uint32_t Alignment, bool IsLive);
DMachOLinkGraphBuilder.cpp315 uint32_t Alignment, bool IsLive) { in addSectionStartSymAndBlock() argument
320 auto &Sym = G->addAnonymousSymbol(B, 0, Size, false, IsLive); in addSectionStartSymAndBlock()

12