Home
last modified time | relevance | path

Searched refs:InsertPoint (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPHIEliminationUtils.cpp41 MachineBasicBlock::iterator InsertPoint; in findPHICopyInsertPoint() local
44 InsertPoint = MBB->begin(); in findPHICopyInsertPoint()
47 InsertPoint = *DefUsesInMBB.begin(); in findPHICopyInsertPoint()
48 ++InsertPoint; in findPHICopyInsertPoint()
51 InsertPoint = MBB->end(); in findPHICopyInsertPoint()
52 while (!DefUsesInMBB.count(&*--InsertPoint)) {} in findPHICopyInsertPoint()
53 ++InsertPoint; in findPHICopyInsertPoint()
58 return MBB->SkipPHIsAndLabels(InsertPoint); in findPHICopyInsertPoint()
DCodeGenPrepare.cpp6310 Instruction *InsertPoint = I; in tryToSinkFreeOperands() local
6317 NI->insertBefore(InsertPoint); in tryToSinkFreeOperands()
6318 InsertPoint = NI; in tryToSinkFreeOperands()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp92 bool llvm::isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, in isSafeToMoveBefore() argument
97 if (&I == &InsertPoint) in isSafeToMoveBefore()
101 if (I.getNextNode() == &InsertPoint) in isSafeToMoveBefore()
104 if (isa<PHINode>(I) || isa<PHINode>(InsertPoint)) in isSafeToMoveBefore()
111 if (!isControlFlowEquivalent(I, InsertPoint, DT, PDT)) in isSafeToMoveBefore()
116 const bool MoveForward = DT.dominates(&I, &InsertPoint); in isSafeToMoveBefore()
122 if (UserInst != &InsertPoint && !DT.dominates(&InsertPoint, U)) in isSafeToMoveBefore()
129 if (&InsertPoint == OpInst || !DT.dominates(OpInst, &InsertPoint)) in isSafeToMoveBefore()
133 Instruction &StartInst = (MoveForward ? I : InsertPoint); in isSafeToMoveBefore()
134 Instruction &EndInst = (MoveForward ? InsertPoint : I); in isSafeToMoveBefore()
[all …]
DInlineFunction.cpp177 Instruction *InsertPoint = &InnerResumeDest->front(); in getInnerResumeDest() local
183 InsertPoint); in getInnerResumeDest()
190 "eh.lpad-body", InsertPoint); in getInnerResumeDest()
1846 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local
1878 InsertPoint, FirstNewBlock->getInstList(), AI->getIterator(), I); in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h110 class InsertPoint {
138 virtual ~InsertPoint() = default;
203 class InstrInsertPoint : public InsertPoint {
236 class MBBInsertPoint : public InsertPoint {
255 : InsertPoint(), MBB(MBB), Beginning(Beginning) { in InsertPoint() function
272 class EdgeInsertPoint : public InsertPoint {
301 : InsertPoint(), Src(Src), DstOrSplit(&Dst), P(P) {} in EdgeInsertPoint()
329 using InsertionPoints = SmallVector<std::unique_ptr<InsertPoint>, 2>;
377 void addInsertPoint(InsertPoint &Point);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DControlHeightReduction.cpp557 checkHoistValue(Value *V, Instruction *InsertPoint, DominatorTree &DT, in checkHoistValue() argument
561 assert(InsertPoint && "Null InsertPoint"); in checkHoistValue()
567 assert(DT.getNode(InsertPoint->getParent()) && "DT must contain Destination"); in checkHoistValue()
573 if (DT.dominates(I, InsertPoint)) { in checkHoistValue()
587 if (!checkHoistValue(Op, InsertPoint, DT, Unhoistables, &OpsHoistStops, in checkHoistValue()
901 Instruction *InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable() local
902 CHR_DEBUG(dbgs() << "InsertPoint " << *InsertPoint << "\n"); in checkScopeHoistable()
914 if (SI == InsertPoint) { in checkScopeHoistable()
919 bool IsHoistable = checkHoistValue(SI->getCondition(), InsertPoint, in checkScopeHoistable()
936 InsertPoint = getBranchInsertPoint(RI); in checkScopeHoistable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp150 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint,
800 MachineBasicBlock::iterator InsertPoint, in insertSwap() argument
802 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in insertSwap()
905 auto InsertPoint = ++MachineBasicBlock::iterator(MI); in handleSpecialSwappables() local
916 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
919 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
921 insertSwap(MI, InsertPoint, VSRCTmp2, VSRCTmp1); in handleSpecialSwappables()
922 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
924 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
927 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
[all …]
DPPCReduceCRLogicals.cpp199 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB() local
206 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp87 void *InsertPoint; in get() local
88 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
97 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
110 void *InsertPoint; in get() local
111 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
117 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
131 void *InsertPoint; in get() local
132 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
138 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
751 void *InsertPoint; in get() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Frontend/OpenMP/
DOMPIRBuilder.h41 using InsertPointTy = IRBuilder<>::InsertPoint;
165 IRBuilder<>::InsertPoint
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationPlanner.h76 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument
77 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeMoverUtils.h44 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp222 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg()
544 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping()
833 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
841 : InsertPoint(), Instr(Instr), Before(Before) { in InstrInsertPoint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h173 class InsertPoint {
179 InsertPoint() = default;
182 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() function
183 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint()
193 InsertPoint saveIP() const { in saveIP()
194 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
198 InsertPoint saveAndClearIP() { in saveAndClearIP()
199 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
205 void restoreIP(InsertPoint IP) { in restoreIP()
291 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h125 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLParser.cpp430 , TokenQueueT::iterator InsertPoint);
1027 , TokenQueueT::iterator InsertPoint) { in rollIndent() argument
1037 TokenQueue.insert(InsertPoint, T); in rollIndent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp304 IRBuilder<>::InsertPoint OpenMPIRBuilder::CreateParallel( in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp1547 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog() local
1548 --InsertPoint; in addEpilog()
1550 Context.setInsertPoint(InsertPoint); in addEpilog()
DIceTargetLoweringMIPS32.cpp1732 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog() local
1733 --InsertPoint; in addEpilog()
1735 Context.setInsertPoint(InsertPoint); in addEpilog()
DIceTargetLoweringX8664.cpp1160 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog() local
1161 --InsertPoint; in addEpilog()
1163 Context.setInsertPoint(InsertPoint); in addEpilog()
DIceTargetLoweringX8632.cpp1178 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog() local
1179 --InsertPoint; in addEpilog()
1181 Context.setInsertPoint(InsertPoint); in addEpilog()