Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp170 void *InsertPos; in getRegionValueSymbol() local
171 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getRegionValueSymbol()
175 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
189 void *InsertPos; in conjureSymbol() local
190 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in conjureSymbol()
194 DataSet.InsertNode(SD, InsertPos); in conjureSymbol()
206 void *InsertPos; in getDerivedSymbol() local
207 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getDerivedSymbol()
211 DataSet.InsertNode(SD, InsertPos); in getDerivedSymbol()
222 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMCCodeEmitter.cpp48 unsigned InsertPos, APInt &Value,
53 void encodeRelocImm(const MCInst &MI, unsigned OpIdx, unsigned InsertPos,
58 void encodePCRelImm(const MCInst &MI, unsigned OpIdx, unsigned InsertPos,
114 unsigned InsertPos, APInt &Value, in encodeRelocImm() argument
132 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodeRelocImm()
141 unsigned InsertPos, APInt &Value, in encodePCRelImm() argument
150 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodePCRelImm()
155 if (InsertPos < 16) in encodePCRelImm()
176 unsigned InsertPos, APInt &Value, in getMachineOpValue() argument
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclarationName.cpp295 void *InsertPos = nullptr; in getCXXDeductionGuideName() local
296 if (auto *Name = CXXDeductionGuideNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXDeductionGuideName()
300 CXXDeductionGuideNames.InsertNode(Name, InsertPos); in getCXXDeductionGuideName()
310 void *InsertPos = nullptr; in getCXXConstructorName() local
311 if (auto *Name = CXXConstructorNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXConstructorName()
316 CXXConstructorNames.InsertNode(SpecialName, InsertPos); in getCXXConstructorName()
326 void *InsertPos = nullptr; in getCXXDestructorName() local
327 if (auto *Name = CXXDestructorNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXDestructorName()
332 CXXDestructorNames.InsertNode(SpecialName, InsertPos); in getCXXDestructorName()
341 void *InsertPos = nullptr; in getCXXConversionFunctionName() local
[all …]
H A DDeclTemplate.cpp317 llvm::FoldingSetVector<EntryType> &Specs, void *&InsertPos, in findSpecializationImpl() argument
324 EntryType *Entry = Specs.FindNodeOrInsertPos(ID, InsertPos); in findSpecializationImpl()
331 void *InsertPos) { in addSpecializationImpl() argument
334 if (InsertPos) { in addSpecializationImpl()
340 InsertPos == CorrectInsertPos && in addSpecializationImpl()
343 Specializations.InsertNode(Entry, InsertPos); in addSpecializationImpl()
412 void *&InsertPos) { in findSpecialization() argument
413 return findSpecializationImpl(getSpecializations(), InsertPos, Args); in findSpecialization()
417 FunctionTemplateSpecializationInfo *Info, void *InsertPos) { in addSpecialization() argument
419 InsertPos); in addSpecialization()
[all …]
H A DASTContext.cpp786 void *InsertPos = nullptr; in getCanonicalTemplateTemplateParmDecl() local
788 = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
884 Canonical = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
890 CanonTemplateTemplateParms.InsertNode(Canonical, InsertPos); in getCanonicalTemplateTemplateParmDecl()
3286 void *InsertPos = nullptr; in getComplexType() local
3287 if (ComplexType *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos)) in getComplexType()
3297 ComplexType *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos); in getComplexType()
3302 ComplexTypes.InsertNode(New, InsertPos); in getComplexType()
3314 void *InsertPos = nullptr; in getPointerType() local
3315 if (PointerType *PT = PointerTypes.FindNodeOrInsertPos(ID, InsertPos)) in getPointerType()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCSEInfo.cpp116 void *&InsertPos) { in getNodeIfExists() argument
117 auto *Node = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in getNodeIfExists()
130 void GISelCSEInfo::insertNode(UniqueMachineInstr *UMI, void *InsertPos) { in insertNode() argument
134 if (InsertPos) in insertNode()
135 CSEMap.InsertNode(UMI, InsertPos); in insertNode()
153 void GISelCSEInfo::insertInstr(MachineInstr *MI, void *InsertPos) { in insertInstr() argument
158 insertNode(Node, InsertPos); in insertInstr()
163 void *&InsertPos) { in getMachineInstrIfExists() argument
165 if (auto *Inst = getNodeIfExists(ID, MBB, InsertPos)) { in getMachineInstrIfExists()
285 void *InsertPos; in verify() local
[all …]
H A DCSEMIRBuilder.cpp290 void *InsertPos = nullptr; in buildInstr() local
292 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildInstr()
300 return memoizeMI(NewMIB, InsertPos); in buildInstr()
316 void *InsertPos = nullptr; in buildConstant() local
320 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildConstant()
327 return memoizeMI(NewMIB, InsertPos); in buildConstant()
343 void *InsertPos = nullptr; in buildFConstant() local
347 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildFConstant()
353 return memoizeMI(NewMIB, InsertPos); in buildFConstant()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DFoldingSet.h218 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos,
224 void InsertNode(Node *N, void *InsertPos, const FoldingSetInfo &Info);
489 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
491 ID, InsertPos, Derived::getFoldingSetInfo())); in FindNodeOrInsertPos()
497 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
498 FoldingSetBase::InsertNode(N, InsertPos, Derived::getFoldingSetInfo()); in InsertNode()
654 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
655 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
670 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
671 Set.InsertNode(N, InsertPos); in InsertNode()
H A DImmutableList.h180 void* InsertPos; in concat() local
184 ListTy* L = Cache.FindNodeOrInsertPos(ID, InsertPos); in concat()
193 Cache.InsertNode(L, InsertPos); in concat()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DFoldingSet.cpp279 const FoldingSetNodeID &ID, void *&InsertPos, const FoldingSetInfo &Info) { in FindNodeOrInsertPos() argument
284 InsertPos = nullptr; in FindNodeOrInsertPos()
296 InsertPos = Bucket; in FindNodeOrInsertPos()
303 void FoldingSetBase::InsertNode(Node *N, void *InsertPos, in InsertNode() argument
310 InsertPos = GetBucketFor(Info.ComputeNodeHash(this, N, TempID), Buckets, in InsertNode()
317 void **Bucket = static_cast<void**>(InsertPos); in InsertNode()
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DPHIElimination.cpp481 MachineBasicBlock::iterator InsertPos = in LowerPHINode() local
491 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
502 NewSrcInstr = TII->createPHISourceCopy(opBlock, InsertPos, nullptr, in LowerPHINode()
530 for (MachineBasicBlock::iterator Term = InsertPos; Term != opBlock.end(); in LowerPHINode()
541 KillInst = InsertPos; in LowerPHINode()
588 for (MachineBasicBlock::iterator Term = InsertPos; in LowerPHINode()
599 KillInst = InsertPos; in LowerPHINode()
609 KillInst = std::prev(InsertPos); in LowerPHINode()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp174 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg()
278 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
332 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand()
399 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand()
468 BuildMI(*MBB, InsertPos, DL, TII->get(TargetOpcode::COPY), NewReg) in ConstrainForSubReg()
525 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
542 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
594 MBB->insert(InsertPos, MIB); in EmitSubregNode()
618 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode()
668 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()
910 BB->insert(InsertPos, DbgMI); in EmitSchedule()
921 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
929 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); in EmitSchedule()
[all …]
H A DScheduleDAGSDNodes.h123 EmitSchedule(MachineBasicBlock::iterator &InsertPos);
188 MachineBasicBlock::iterator InsertPos);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600ControlFlowFinalizer.cpp365 MachineBasicBlock::iterator InsertPos, in insertLiterals() argument
367 MachineBasicBlock *MBB = InsertPos->getParent(); in insertLiterals()
371 InsertPos = BuildMI(MBB, InsertPos->getDebugLoc(), in insertLiterals()
376 return InsertPos; in insertLiterals()
438 void EmitFetchClause(MachineBasicBlock::iterator InsertPos, in EmitFetchClause() argument
445 BB->splice(InsertPos, BB, MI); in EmitFetchClause()
449 void EmitALUClause(MachineBasicBlock::iterator InsertPos, const DebugLoc &DL, in EmitALUClause() argument
456 BB->splice(InsertPos, BB, MI); in EmitALUClause()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86FastPreTileConfig.cpp352 MachineBasicBlock::iterator InsertPos; in convertPHI() local
354 InsertPos = TileDefMI->getParent()->getFirstNonPHI(); in convertPHI()
387 InsertPos = TileDefMI->getIterator(); in convertPHI()
401 addOffset(BuildMI(*TileDefMI->getParent(), InsertPos, DebugLoc(), in convertPHI()
409 MachineBasicBlock::iterator InsertPos = MBB->getFirstNonPHI(); in convertPHI() local
411 BuildMI(*MBB, InsertPos, DebugLoc(), TII->get(X86::MOV64ri), StrideReg) in convertPHI()
415 BuildMI(*MBB, InsertPos, DebugLoc(), TII->get(X86::PTILELOADDV), TileReg) in convertPHI()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1244 BasicBlock::iterator InsertPos; in rewriteWithNewAddressSpaces() local
1246 InsertPos = std::next(NewVInst->getIterator()); in rewriteWithNewAddressSpaces()
1248 InsertPos = std::next(VInst->getIterator()); in rewriteWithNewAddressSpaces()
1250 InsertPos = ASC->getIterator(); in rewriteWithNewAddressSpaces()
1253 ASC->getType(), "", &*InsertPos); in rewriteWithNewAddressSpaces()
1268 BasicBlock::iterator InsertPos; in rewriteWithNewAddressSpaces() local
1270 InsertPos = std::next(NewVInst->getIterator()); in rewriteWithNewAddressSpaces()
1272 InsertPos = std::next(VInst->getIterator()); in rewriteWithNewAddressSpaces()
1274 while (isa<PHINode>(InsertPos)) in rewriteWithNewAddressSpaces()
1275 ++InsertPos; in rewriteWithNewAddressSpaces()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DThumb2ITBlockPass.cpp222 MachineBasicBlock::iterator InsertPos = MIB.getInstr(); in InsertITInstructions() local
256 MBB.insert(InsertPos, NMI); in InsertITInstructions()
276 finalizeBundle(MBB, InsertPos.getInstrIterator(), in InsertITInstructions()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp264 void *InsertPos = nullptr; in tryInstantiateStdTemplate() local
266 new_class_template->findSpecialization(imported_args, InsertPos); in tryInstantiateStdTemplate()
284 new_class_template->AddSpecialization(result, InsertPos); in tryInstantiateStdTemplate()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DVectorUtils.h627 InsertPos(nullptr) {} in InterleaveGroup()
630 : Alignment(Alignment), InsertPos(Instr) { in InterleaveGroup()
709 InstTy *getInsertPos() const { return InsertPos; } in getInsertPos()
710 void setInsertPos(InstTy *Inst) { InsertPos = Inst; } in setInsertPos()
754 InstTy *InsertPos; variable
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp432 void *InsertPos; in getStackFrame() local
434 cast_or_null<StackFrameContext>(Contexts.FindNodeOrInsertPos(ID, InsertPos)); in getStackFrame()
437 Contexts.InsertNode(L, InsertPos); in getStackFrame()
447 void *InsertPos; in getBlockInvocationContext() local
450 InsertPos)); in getBlockInvocationContext()
453 Contexts.InsertNode(L, InsertPos); in getBlockInvocationContext()

1234