Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLateEHPrepare.cpp186 auto InsertPos = EHPad->begin(); in hoistCatches() local
190 while (InsertPos != EHPad->end() && InsertPos->isEHLabel()) in hoistCatches()
191 InsertPos++; in hoistCatches()
192 if (InsertPos == Catch) in hoistCatches()
195 EHPad->insert(InsertPos, Catch->removeFromParent()); in hoistCatches()
208 auto InsertPos = MBB.begin(); in addCatchAlls() local
210 while (InsertPos != MBB.end() && InsertPos->isEHLabel()) in addCatchAlls()
211 InsertPos++; in addCatchAlls()
214 if (InsertPos == MBB.end() || in addCatchAlls()
215 !WebAssembly::isCatch(InsertPos->getOpcode())) { in addCatchAlls()
[all …]
H A DWebAssemblyCFGStackify.cpp181 auto InsertPos = MBB->end(); in getEarliestInsertPos() local
182 while (InsertPos != MBB->begin()) { in getEarliestInsertPos()
183 if (BeforeSet.count(&*std::prev(InsertPos))) { in getEarliestInsertPos()
186 for (auto Pos = InsertPos, E = MBB->begin(); Pos != E; --Pos) in getEarliestInsertPos()
191 --InsertPos; in getEarliestInsertPos()
193 return InsertPos; in getEarliestInsertPos()
205 auto InsertPos = MBB->begin(); in getLatestInsertPos() local
206 while (InsertPos != MBB->end()) { in getLatestInsertPos()
207 if (AfterSet.count(&*InsertPos)) { in getLatestInsertPos()
210 for (auto Pos = InsertPos, E = MBB->end(); Pos != E; ++Pos) in getLatestInsertPos()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp160 void *InsertPos; in getRegionValueSymbol() local
161 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getRegionValueSymbol()
165 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
179 void *InsertPos; in conjureSymbol() local
180 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in conjureSymbol()
184 DataSet.InsertNode(SD, InsertPos); in conjureSymbol()
196 void *InsertPos; in getDerivedSymbol() local
197 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getDerivedSymbol()
201 DataSet.InsertNode(SD, InsertPos); in getDerivedSymbol()
212 void *InsertPos; in getExtentSymbol() local
[all …]
H A DBasicValueFactory.cpp92 void *InsertPos; in getValue() local
97 FoldNodeTy* P = APSIntSet.FindNodeOrInsertPos(ID, InsertPos); in getValue()
102 APSIntSet.InsertNode(P, InsertPos); in getValue()
130 void *InsertPos; in getCompoundValData() local
132 CompoundValData* D = CompoundValDataSet.FindNodeOrInsertPos(ID, InsertPos); in getCompoundValData()
137 CompoundValDataSet.InsertNode(D, InsertPos); in getCompoundValData()
148 void *InsertPos; in getLazyCompoundValData() local
151 LazyCompoundValDataSet.FindNodeOrInsertPos(ID, InsertPos); in getLazyCompoundValData()
156 LazyCompoundValDataSet.InsertNode(D, InsertPos); in getLazyCompoundValData()
166 void *InsertPos; in getPointerToMemberData() local
[all …]
H A DMemRegion.cpp71 void *InsertPos; in getSubRegion() local
72 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
77 Regions.InsertNode(R, InsertPos); in getSubRegion()
88 void *InsertPos; in getSubRegion() local
89 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
94 Regions.InsertNode(R, InsertPos); in getSubRegion()
107 void *InsertPos; in getSubRegion() local
108 auto *R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, InsertPos)); in getSubRegion()
113 Regions.InsertNode(R, InsertPos); in getSubRegion()
1104 void *InsertPos; in getElementRegion() local
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclarationName.cpp301 void *InsertPos = nullptr; in getCXXDeductionGuideName() local
302 if (auto *Name = CXXDeductionGuideNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXDeductionGuideName()
306 CXXDeductionGuideNames.InsertNode(Name, InsertPos); in getCXXDeductionGuideName()
316 void *InsertPos = nullptr; in getCXXConstructorName() local
317 if (auto *Name = CXXConstructorNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXConstructorName()
322 CXXConstructorNames.InsertNode(SpecialName, InsertPos); in getCXXConstructorName()
332 void *InsertPos = nullptr; in getCXXDestructorName() local
333 if (auto *Name = CXXDestructorNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXDestructorName()
338 CXXDestructorNames.InsertNode(SpecialName, InsertPos); in getCXXDestructorName()
347 void *InsertPos = nullptr; in getCXXConversionFunctionName() local
[all …]
H A DASTContext.cpp770 void *InsertPos = nullptr; in getCanonicalTemplateTemplateParmDecl() local
772 = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
873 Canonical = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
879 CanonTemplateTemplateParms.InsertNode(Canonical, InsertPos); in getCanonicalTemplateTemplateParmDecl()
3167 void *InsertPos = nullptr; in getComplexType() local
3168 if (ComplexType *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos)) in getComplexType()
3178 ComplexType *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos); in getComplexType()
3183 ComplexTypes.InsertNode(New, InsertPos); in getComplexType()
3195 void *InsertPos = nullptr; in getPointerType() local
3196 if (PointerType *PT = PointerTypes.FindNodeOrInsertPos(ID, InsertPos)) in getPointerType()
[all …]
H A DDeclTemplate.cpp298 llvm::FoldingSetVector<EntryType> &Specs, void *&InsertPos, in findSpecializationImpl() argument
305 EntryType *Entry = Specs.FindNodeOrInsertPos(ID, InsertPos); in findSpecializationImpl()
312 void *InsertPos) { in addSpecializationImpl() argument
315 if (InsertPos) { in addSpecializationImpl()
321 InsertPos == CorrectInsertPos && in addSpecializationImpl()
324 Specializations.InsertNode(Entry, InsertPos); in addSpecializationImpl()
376 void *&InsertPos) { in findSpecialization() argument
377 return findSpecializationImpl(getSpecializations(), InsertPos, Args); in findSpecialization()
381 FunctionTemplateSpecializationInfo *Info, void *InsertPos) { in addSpecialization() argument
383 InsertPos); in addSpecialization()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCSEInfo.cpp111 void *&InsertPos) { in getNodeIfExists() argument
112 auto *Node = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in getNodeIfExists()
125 void GISelCSEInfo::insertNode(UniqueMachineInstr *UMI, void *InsertPos) { in insertNode() argument
129 if (InsertPos) in insertNode()
130 CSEMap.InsertNode(UMI, InsertPos); in insertNode()
148 void GISelCSEInfo::insertInstr(MachineInstr *MI, void *InsertPos) { in insertInstr() argument
153 insertNode(Node, InsertPos); in insertInstr()
158 void *&InsertPos) { in getMachineInstrIfExists() argument
160 if (auto *Inst = getNodeIfExists(ID, MBB, InsertPos)) { in getMachineInstrIfExists()
271 void *InsertPos; in verify() local
[all …]
H A DCSEMIRBuilder.cpp221 void *InsertPos = nullptr; in buildInstr() local
223 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildInstr()
231 return memoizeMI(NewMIB, InsertPos); in buildInstr()
247 void *InsertPos = nullptr; in buildConstant() local
251 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildConstant()
258 return memoizeMI(NewMIB, InsertPos); in buildConstant()
274 void *InsertPos = nullptr; in buildFConstant() local
278 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildFConstant()
284 return memoizeMI(NewMIB, InsertPos); in buildFConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DFoldingSet.h215 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos,
221 void InsertNode(Node *N, void *InsertPos, const FoldingSetInfo &Info);
462 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
464 ID, InsertPos, Derived::getFoldingSetInfo())); in FindNodeOrInsertPos()
470 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
471 FoldingSetBase::InsertNode(N, InsertPos, Derived::getFoldingSetInfo()); in InsertNode()
627 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
628 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
643 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
644 Set.InsertNode(N, InsertPos); in InsertNode()
H A DImmutableList.h179 void* InsertPos; in concat() local
183 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); in concat()
192 Cache.InsertNode(L, InsertPos); in concat()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DCSEInfo.h97 MachineBasicBlock *MBB, void *&InsertPos);
102 void insertNode(UniqueMachineInstr *UMI, void *InsertPos = nullptr);
108 void *&InsertPos);
112 void insertInstr(MachineInstr *MI, void *InsertPos = nullptr);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DFoldingSet.cpp327 const FoldingSetNodeID &ID, void *&InsertPos, const FoldingSetInfo &Info) { in FindNodeOrInsertPos() argument
332 InsertPos = nullptr; in FindNodeOrInsertPos()
344 InsertPos = Bucket; in FindNodeOrInsertPos()
351 void FoldingSetBase::InsertNode(Node *N, void *InsertPos, in InsertNode() argument
358 InsertPos = GetBucketFor(Info.ComputeNodeHash(this, N, TempID), Buckets, in InsertNode()
365 void **Bucket = static_cast<void**>(InsertPos); in InsertNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp180 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg()
284 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
331 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand()
398 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand()
467 BuildMI(*MBB, InsertPos, DL, TII->get(TargetOpcode::COPY), NewReg) in ConstrainForSubReg()
524 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
541 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
593 MBB->insert(InsertPos, MIB); in EmitSubregNode()
617 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode()
667 MBB->insert(InsertPos, MIB); in EmitRegSequence()
[all …]
H A DScheduleDAGSDNodes.cpp756 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() local
774 BB->insert(InsertPos, DbgMI); in ProcessSDDbgValues()
810 MachineBasicBlock::iterator InsertPos) { in EmitPhysRegCopy() argument
829 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), Reg) in EmitPhysRegCopy()
838 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), VRBase) in EmitPhysRegCopy()
850 EmitSchedule(MachineBasicBlock::iterator &InsertPos) { in EmitSchedule() argument
851 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule()
907 BB->insert(InsertPos, DbgMI); in EmitSchedule()
919 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
927 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); in EmitSchedule()
[all …]
H A DScheduleDAGSDNodes.h123 EmitSchedule(MachineBasicBlock::iterator &InsertPos);
188 MachineBasicBlock::iterator InsertPos);
H A DInstrEmitter.h40 MachineBasicBlock::iterator InsertPos; variable
144 MachineBasicBlock::iterator getInsertPos() { return InsertPos; } in getInsertPos()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DR600ControlFlowFinalizer.cpp364 MachineBasicBlock::iterator InsertPos, in insertLiterals() argument
366 MachineBasicBlock *MBB = InsertPos->getParent(); in insertLiterals()
370 InsertPos = BuildMI(MBB, InsertPos->getDebugLoc(), in insertLiterals()
375 return InsertPos; in insertLiterals()
437 void EmitFetchClause(MachineBasicBlock::iterator InsertPos, in EmitFetchClause() argument
444 BB->splice(InsertPos, BB, Clause.second[i]); in EmitFetchClause()
449 void EmitALUClause(MachineBasicBlock::iterator InsertPos, const DebugLoc &DL, in EmitALUClause() argument
456 BB->splice(InsertPos, BB, Clause.second[i]); in EmitALUClause()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp380 void *InsertPos; in getStackFrame() local
382 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
385 Contexts.InsertNode(L, InsertPos); in getStackFrame()
395 void *InsertPos; in getBlockInvocationContext() local
398 InsertPos)); in getBlockInvocationContext()
401 Contexts.InsertNode(L, InsertPos); in getBlockInvocationContext()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineSink.cpp1086 MachineBasicBlock::iterator InsertPos, in performSink() argument
1092 if (!SuccToSinkTo.empty() && InsertPos != SuccToSinkTo.end()) in performSink()
1094 InsertPos->getDebugLoc())); in performSink()
1100 SuccToSinkTo.splice(InsertPos, ParentBlock, MI, in performSink()
1110 SuccToSinkTo.insert(InsertPos, NewDbgMI); in performSink()
1399 MachineBasicBlock::iterator InsertPos = SuccToSinkTo->begin(); in SinkInstruction() local
1400 while (InsertPos != SuccToSinkTo->end() && InsertPos->isPHI()) in SinkInstruction()
1401 ++InsertPos; in SinkInstruction()
1433 performSink(MI, *SuccToSinkTo, InsertPos, DbgUsersToSink); in SinkInstruction()
1815 MachineBasicBlock::iterator InsertPos = SuccBB->getFirstNonPHI(); in tryToSinkCopy() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp831 MachineBasicBlock::iterator InsertPos = PH->getFirstTerminator(); in computeCount() local
833 if (InsertPos != PH->end()) in computeCount()
834 DL = InsertPos->getDebugLoc(); in computeCount()
916 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount()
937 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount()
956 BuildMI(*PH, InsertPos, DL, AddD, AddR) in computeCount()
977 BuildMI(*PH, InsertPos, DL, LsrD, LsrR) in computeCount()
1201 MachineBasicBlock::iterator InsertPos = Preheader->getFirstTerminator(); in convertToHardwareLoop() local
1243 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1244 DL = InsertPos->getDebugLoc(); in convertToHardwareLoop()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DVectorUtils.h586 InsertPos(nullptr) {} in InterleaveGroup()
589 : Alignment(Alignment), InsertPos(Instr) { in InterleaveGroup()
668 InstTy *getInsertPos() const { return InsertPos; } in getInsertPos()
669 void setInsertPos(InstTy *Inst) { InsertPos = Inst; } in setInsertPos()
715 InstTy *InsertPos; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DThumb2ITBlockPass.cpp222 MachineBasicBlock::iterator InsertPos = MIB.getInstr(); in InsertITInstructions() local
255 MBB.insert(InsertPos, NMI); in InsertITInstructions()
275 finalizeBundle(MBB, InsertPos.getInstrIterator(), in InsertITInstructions()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp531 void VPRecipeBase::insertBefore(VPRecipeBase *InsertPos) { in insertBefore() argument
533 assert(InsertPos->getParent() && in insertBefore()
535 Parent = InsertPos->getParent(); in insertBefore()
536 Parent->getRecipeList().insert(InsertPos->getIterator(), this); in insertBefore()
539 void VPRecipeBase::insertAfter(VPRecipeBase *InsertPos) { in insertAfter() argument
541 assert(InsertPos->getParent() && in insertAfter()
543 Parent = InsertPos->getParent(); in insertAfter()
544 Parent->getRecipeList().insertAfter(InsertPos->getIterator(), this); in insertAfter()
558 void VPRecipeBase::moveAfter(VPRecipeBase *InsertPos) { in moveAfter() argument
560 insertAfter(InsertPos); in moveAfter()

1234