Home
last modified time | relevance | path

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

12

/external/llvm/lib/CodeGen/
DPHIEliminationUtils.cpp42 MachineBasicBlock::iterator InsertPoint; in findPHICopyInsertPoint() local
45 InsertPoint = MBB->begin(); in findPHICopyInsertPoint()
48 InsertPoint = *DefUsesInMBB.begin(); in findPHICopyInsertPoint()
49 ++InsertPoint; in findPHICopyInsertPoint()
52 InsertPoint = MBB->end(); in findPHICopyInsertPoint()
53 while (!DefUsesInMBB.count(&*--InsertPoint)) {} in findPHICopyInsertPoint()
54 ++InsertPoint; in findPHICopyInsertPoint()
58 return MBB->SkipPHIsAndLabels(InsertPoint); in findPHICopyInsertPoint()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPHIEliminationUtils.cpp42 MachineBasicBlock::iterator InsertPoint; in findPHICopyInsertPoint() local
45 InsertPoint = MBB->begin(); in findPHICopyInsertPoint()
48 InsertPoint = *DefUsesInMBB.begin(); in findPHICopyInsertPoint()
49 ++InsertPoint; in findPHICopyInsertPoint()
52 InsertPoint = MBB->end(); in findPHICopyInsertPoint()
53 while (!DefUsesInMBB.count(&*--InsertPoint)) {} in findPHICopyInsertPoint()
54 ++InsertPoint; in findPHICopyInsertPoint()
59 return MBB->SkipPHIsAndLabels(InsertPoint); in findPHICopyInsertPoint()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h101 class InsertPoint {
128 virtual ~InsertPoint() {} in ~InsertPoint()
193 class InstrInsertPoint : public InsertPoint {
224 class MBBInsertPoint : public InsertPoint {
242 : InsertPoint(), MBB(MBB), Beginning(Beginning) { in InsertPoint() function
258 class EdgeInsertPoint : public InsertPoint {
285 : InsertPoint(), Src(Src), DstOrSplit(&Dst), P(P) {} in EdgeInsertPoint()
311 typedef SmallVector<std::unique_ptr<InsertPoint>, 2> InsertionPoints;
359 void addInsertPoint(InsertPoint &Point);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h111 class InsertPoint {
139 virtual ~InsertPoint() = default;
204 class InstrInsertPoint : public InsertPoint {
237 class MBBInsertPoint : public InsertPoint {
256 : InsertPoint(), MBB(MBB), Beginning(Beginning) { in InsertPoint() function
273 class EdgeInsertPoint : public InsertPoint {
302 : InsertPoint(), Src(Src), DstOrSplit(&Dst), P(P) {} in EdgeInsertPoint()
330 using InsertionPoints = SmallVector<std::unique_ptr<InsertPoint>, 2>;
378 void addInsertPoint(InsertPoint &Point);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp155 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint,
804 MachineBasicBlock::iterator InsertPoint, in insertSwap() argument
806 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in insertSwap()
909 auto InsertPoint = ++MachineBasicBlock::iterator(MI); in handleSpecialSwappables() local
920 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
923 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
925 insertSwap(MI, InsertPoint, VSRCTmp2, VSRCTmp1); in handleSpecialSwappables()
926 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
928 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
931 LLVM_DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
[all …]
DPPCReduceCRLogicals.cpp179 MachineBasicBlock::iterator InsertPoint = BSI.SplitBefore; in splitMBB() local
186 NewMBB->splice(NewMBB->end(), ThisMBB, InsertPoint, ThisMBB->end()); in splitMBB()
/external/llvm/lib/Target/PowerPC/
DPPCVSXSwapRemoval.cpp154 void insertSwap(MachineInstr *MI, MachineBasicBlock::iterator InsertPoint,
794 MachineBasicBlock::iterator InsertPoint, in insertSwap() argument
796 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in insertSwap()
893 auto InsertPoint = ++MachineBasicBlock::iterator(MI); in handleSpecialSwappables() local
904 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
907 DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
909 insertSwap(MI, InsertPoint, VSRCTmp2, VSRCTmp1); in handleSpecialSwappables()
910 DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
912 BuildMI(*MI->getParent(), InsertPoint, MI->getDebugLoc(), in handleSpecialSwappables()
915 DEBUG(std::prev(InsertPoint)->dump()); in handleSpecialSwappables()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAttributes.cpp88 void *InsertPoint; in get() local
89 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
98 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
111 void *InsertPoint; in get() local
112 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
118 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
664 void *InsertPoint; in get() local
666 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in get()
674 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in get()
852 void *InsertPoint; in getImpl() local
[all …]
/external/llvm/lib/IR/
DAttributes.cpp71 void *InsertPoint; in get() local
72 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
81 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
94 void *InsertPoint; in get() local
95 AttributeImpl *PA = pImpl->AttrsSet.FindNodeOrInsertPos(ID, InsertPoint); in get()
101 pImpl->AttrsSet.InsertNode(PA, InsertPoint); in get()
558 void *InsertPoint; in get() local
560 pImpl->AttrsSetNodes.FindNodeOrInsertPos(ID, InsertPoint); in get()
568 pImpl->AttrsSetNodes.InsertNode(PA, InsertPoint); in get()
696 void *InsertPoint; in getImpl() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationPlanner.h77 VPInsertPoint(VPBasicBlock *InsertBlock, VPBasicBlock::iterator InsertPoint) in VPInsertPoint() argument
78 : Block(InsertBlock), Point(InsertPoint) {} in VPInsertPoint()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp245 CharUnitPair InsertPoint = {CurAlignment, CharUnits::Zero()}; in calculateOptimalPad() local
253 auto Iter = std::upper_bound(CurBegin, CurEnd, InsertPoint); in calculateOptimalPad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp173 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg()
491 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping()
760 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
768 : InsertPoint(), Instr(Instr), Before(Before) { in InstrInsertPoint()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp140 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in repairReg()
435 for (const std::unique_ptr<InsertPoint> &InsertPt : RepairPt) { in computeMapping()
674 RegBankSelect::InsertPoint &Point) { in addInsertPoint()
682 : InsertPoint(), Instr(Instr), Before(Before) { in InstrInsertPoint()
/external/llvm/include/llvm/IR/
DIRBuilder.h150 class InsertPoint {
156 InsertPoint() : Block(nullptr) {} in InsertPoint() function
159 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() argument
160 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint()
170 InsertPoint saveIP() const { in saveIP()
171 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
175 InsertPoint saveAndClearIP() { in saveAndClearIP()
176 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
182 void restoreIP(InsertPoint IP) { in restoreIP()
225 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
/external/clang/lib/CodeGen/
DCGException.cpp750 CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); in EmitLandingPad()
880 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveIP(); in emitCatchPadBlock()
934 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveIP(); in emitCatchDispatchBlock()
1174 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in Emit()
1256 CGBuilderTy::InsertPoint savedIP = CGF.Builder.saveAndClearIP(); in exit()
1290 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateLandingPad()
1324 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in getTerminateHandler()
1356 CGBuilderTy::InsertPoint SavedIP = Builder.saveIP(); in getEHResumeBlock()
DCGCleanup.cpp744 CGBuilderTy::InsertPoint savedInactiveFallthroughIP; in PopCleanupBlock()
924 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in PopCleanupBlock()
1203 CGBuilderTy::InsertPoint SavedIP = Builder.saveAndClearIP(); in DeactivateCleanupBlock()
DCGObjCRuntime.cpp225 CGBuilderTy::InsertPoint SavedIP = CGF.Builder.saveAndClearIP(); in EmitTryCatchStmt()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIRBuilder.h168 class InsertPoint {
174 InsertPoint() = default;
177 InsertPoint(BasicBlock *InsertBlock, BasicBlock::iterator InsertPoint) in InsertPoint() function
178 : Block(InsertBlock), Point(InsertPoint) {} in InsertPoint()
188 InsertPoint saveIP() const { in saveIP()
189 return InsertPoint(GetInsertBlock(), GetInsertPoint()); in saveIP()
193 InsertPoint saveAndClearIP() { in saveAndClearIP()
194 InsertPoint IP(GetInsertBlock(), GetInsertPoint()); in saveAndClearIP()
200 void restoreIP(InsertPoint IP) { in restoreIP()
243 Builder.restoreIP(InsertPoint(Block, Point)); in ~InsertPointGuard()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfLinker.cpp1643 auto InsertPoint = std::lower_bound( in insertLineSequence() local
1653 if (InsertPoint != Rows.end() && in insertLineSequence()
1654 InsertPoint->Address == Seq.front().Address && InsertPoint->EndSequence) { in insertLineSequence()
1655 *InsertPoint = Seq.front(); in insertLineSequence()
1656 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
1658 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp142 Instruction *InsertPoint = &InnerResumeDest->front(); in getInnerResumeDest() local
148 InsertPoint); in getInnerResumeDest()
155 "eh.lpad-body", InsertPoint); in getInnerResumeDest()
1616 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local
1647 InsertPoint, FirstNewBlock->getInstList(), AI->getIterator(), I); in InlineFunction()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h114 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp181 Instruction *InsertPoint = &InnerResumeDest->front(); in getInnerResumeDest() local
187 InsertPoint); in getInnerResumeDest()
194 "eh.lpad-body", InsertPoint); in getInnerResumeDest()
1775 BasicBlock::iterator InsertPoint = Caller->begin()->begin(); in InlineFunction() local
1806 InsertPoint, FirstNewBlock->getInstList(), AI->getIterator(), I); in InlineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h122 Builder.restoreIP(IRBuilderBase::InsertPoint(Block, Point)); in ~SCEVInsertPointGuard()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp2945 auto InsertPoint = std::lower_bound( in insertLineSequence() local
2955 if (InsertPoint != Rows.end() && in insertLineSequence()
2956 InsertPoint->Address == Seq.front().Address && InsertPoint->EndSequence) { in insertLineSequence()
2957 *InsertPoint = Seq.front(); in insertLineSequence()
2958 Rows.insert(InsertPoint + 1, Seq.begin() + 1, Seq.end()); in insertLineSequence()
2960 Rows.insert(InsertPoint, Seq.begin(), Seq.end()); in insertLineSequence()
/external/llvm/lib/Support/
DYAMLParser.cpp440 , TokenQueueT::iterator InsertPoint);
1029 , TokenQueueT::iterator InsertPoint) { in rollIndent() argument
1039 TokenQueue.insert(InsertPoint, T); in rollIndent()

12