Home
last modified time | relevance | path

Searched refs:NewPt (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp154 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
170 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
196 static void appendAndTransferDominatedUses(Instruction *NewPt, in appendAndTransferDominatedUses() argument
208 InsertPts[NewPt] = std::move(OldUses); in appendAndTransferDominatedUses()
359 bool AArch64PromoteConstant::isDominated(Instruction *NewPt, Instruction *User, in isDominated() argument
364 *NewPt->getParent()->getParent()).getDomTree(); in isDominated()
369 if (NewPt == IPI.first || DT.dominates(IPI.first, NewPt) || in isDominated()
373 (IPI.first->getParent() != NewPt->getParent() && in isDominated()
374 DT.dominates(IPI.first->getParent(), NewPt->getParent()))) { in isDominated()
386 bool AArch64PromoteConstant::tryAndMerge(Instruction *NewPt, Instruction *User, in tryAndMerge() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp165 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
181 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
207 static void appendAndTransferDominatedUses(Instruction *NewPt, in appendAndTransferDominatedUses() argument
219 InsertPts[NewPt] = std::move(OldUses); in appendAndTransferDominatedUses()
367 bool AArch64PromoteConstant::isDominated(Instruction *NewPt, Instruction *User, in isDominated() argument
371 *NewPt->getParent()->getParent()).getDomTree(); in isDominated()
376 if (NewPt == IPI.first || DT.dominates(IPI.first, NewPt) || in isDominated()
380 (IPI.first->getParent() != NewPt->getParent() && in isDominated()
381 DT.dominates(IPI.first->getParent(), NewPt->getParent()))) { in isDominated()
393 bool AArch64PromoteConstant::tryAndMerge(Instruction *NewPt, Instruction *User, in tryAndMerge() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DGVNHoist.cpp385 bool hasMemoryUse(const Instruction *NewPt, MemoryDef *Def, in hasMemoryUse() argument
393 const BasicBlock *NewBB = NewPt->getParent(); in hasMemoryUse()
407 if (firstInBB(Insn, NewPt)) in hasMemoryUse()
445 bool hasEHOrLoadsOnPath(const Instruction *NewPt, MemoryDef *Def, in hasEHOrLoadsOnPath() argument
447 const BasicBlock *NewBB = NewPt->getParent(); in hasEHOrLoadsOnPath()
469 if (hasMemoryUse(NewPt, Def, BB)) in hasEHOrLoadsOnPath()
518 bool safeToHoistLdSt(const Instruction *NewPt, const Instruction *OldPt, in safeToHoistLdSt() argument
521 if (NewPt == OldPt) in safeToHoistLdSt()
524 const BasicBlock *NewBB = NewPt->getParent(); in safeToHoistLdSt()
537 if (!firstInBB(UD->getMemoryInst(), NewPt)) in safeToHoistLdSt()
[all …]