Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLateEHPrepare.cpp190 while (InsertPos != EHPad->end() && InsertPos->isEHLabel()) in hoistCatches()
191 InsertPos++; in hoistCatches()
192 if (InsertPos == Catch) 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()
217 BuildMI(MBB, InsertPos, in addCatchAlls()
218 InsertPos == MBB.end() ? DebugLoc() : InsertPos->getDebugLoc(), in addCatchAlls()
312 while (InsertPos != MBB.end() && InsertPos->isEHLabel()) in restoreStackPointer()
[all …]
H A DWebAssemblyCFGStackify.cpp181 auto InsertPos = MBB->end(); in getEarliestInsertPos() local
191 --InsertPos; in getEarliestInsertPos()
193 return InsertPos; in getEarliestInsertPos()
205 auto InsertPos = MBB->begin(); in getLatestInsertPos() local
206 while (InsertPos != MBB->end()) { in getLatestInsertPos()
215 ++InsertPos; in getLatestInsertPos()
217 return InsertPos; in getLatestInsertPos()
357 BuildMI(*Header, InsertPos, Header->findDebugLoc(InsertPos), in placeBlockMarker()
389 MachineInstr *End = BuildMI(MBB, InsertPos, MBB.findPrevDebugLoc(InsertPos), in placeBlockMarker()
435 MachineInstr *Begin = BuildMI(MBB, InsertPos, MBB.findDebugLoc(InsertPos), in placeLoopMarker()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp170 void *InsertPos; in getRegionValueSymbol() local
174 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
188 void *InsertPos; in conjureSymbol() local
204 void *InsertPos; in getDerivedSymbol() local
219 void *InsertPos; in getExtentSymbol() local
236 void *InsertPos; in getMetadataSymbol() local
252 void *InsertPos; in getCastSymbol() local
268 void *InsertPos; in getSymIntExpr() local
285 void *InsertPos; in getIntSymExpr() local
302 void *InsertPos; in getSymSymExpr() local
[all …]
H A DBasicValueFactory.cpp92 void *InsertPos; in getValue() local
101 APSIntSet.InsertNode(P, InsertPos); in getValue()
129 void *InsertPos; in getCompoundValData() local
135 CompoundValDataSet.InsertNode(D, InsertPos); in getCompoundValData()
146 void *InsertPos; in getLazyCompoundValData() local
153 LazyCompoundValDataSet.InsertNode(D, InsertPos); in getLazyCompoundValData()
163 void *InsertPos; in getPointerToMemberData() local
338 void *InsertPos; in getPersistentSValWithData() local
350 Map.InsertNode(P, InsertPos); in getPersistentSValWithData()
362 void *InsertPos; in getPersistentSValPair() local
[all …]
/freebsd/contrib/llvm-project/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,
62 void encodeFPSYSSelect(const MCInst &MI, unsigned OpIdx, unsigned InsertPos,
118 unsigned InsertPos, APInt &Value, in encodeRelocImm() argument
136 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodeRelocImm()
145 unsigned InsertPos, APInt &Value, in encodePCRelImm() argument
154 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodePCRelImm()
159 if (InsertPos < 16) in encodePCRelImm()
180 unsigned InsertPos, APInt &Value, in encodeFPSYSSelect() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclarationName.cpp295 void *InsertPos = nullptr; in getCXXDeductionGuideName() local
300 CXXDeductionGuideNames.InsertNode(Name, InsertPos); in getCXXDeductionGuideName()
310 void *InsertPos = nullptr; in getCXXConstructorName() local
316 CXXConstructorNames.InsertNode(SpecialName, InsertPos); in getCXXConstructorName()
326 void *InsertPos = nullptr; in getCXXDestructorName() local
332 CXXDestructorNames.InsertNode(SpecialName, InsertPos); in getCXXDestructorName()
341 void *InsertPos = nullptr; in getCXXConversionFunctionName() local
343 CXXConversionFunctionNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXConversionFunctionName()
348 CXXConversionFunctionNames.InsertNode(SpecialName, InsertPos); in getCXXConversionFunctionName()
372 void *InsertPos = nullptr; in getCXXLiteralOperatorName() local
[all …]
H A DDeclTemplate.cpp364 void *InsertPos) { in addSpecializationImpl() argument
367 if (InsertPos) { in addSpecializationImpl()
373 InsertPos == CorrectInsertPos && in addSpecializationImpl()
376 Specializations.InsertNode(Entry, InsertPos); in addSpecializationImpl()
452 InsertPos); in addSpecialization()
548 TemplateParameterList *TPL, void *&InsertPos) { in findPartialSpecialization() argument
564 void *InsertPos) { in AddPartialSpecialization() argument
565 if (InsertPos) in AddPartialSpecialization()
1254 void *&InsertPos) { in findSpecialization() argument
1265 TemplateParameterList *TPL, void *&InsertPos) { in findPartialSpecialization() argument
[all …]
H A DASTContext.cpp737 void *InsertPos = nullptr; in getCanonicalTemplateTemplateParmDecl() local
3247 void *InsertPos = nullptr; in getComplexType() local
3275 void *InsertPos = nullptr; in getPointerType() local
3298 void *InsertPos = nullptr; in getAdjustedType() local
3319 void *InsertPos = nullptr; in getDecayedType() local
3368 void *InsertPos = nullptr; in getBlockPointerType() local
3404 void *InsertPos = nullptr; in getLValueReferenceType() local
3444 void *InsertPos = nullptr; in getRValueReferenceType() local
12265 void *InsertPos; in getMSGuidDecl() local
12281 void *InsertPos; in getUnnamedGlobalConstantDecl() local
[all …]
/freebsd/contrib/llvm-project/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()
287 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFoldingSet.h219 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos,
225 void InsertNode(Node *N, void *InsertPos, const FoldingSetInfo &Info);
490 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
492 ID, InsertPos, Derived::getFoldingSetInfo())); in FindNodeOrInsertPos()
498 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
499 FoldingSetBase::InsertNode(N, InsertPos, Derived::getFoldingSetInfo()); in InsertNode()
655 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
656 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
671 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
672 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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp278 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
399 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand()
525 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
542 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
594 MBB->insert(InsertPos, MIB); in EmitSubregNode()
668 MBB->insert(InsertPos, MIB); in EmitRegSequence()
1112 MBB->insert(InsertPos, MIB); in EmitMachineNode()
1221 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSpecialNode()
1249 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSpecialNode()
1397 MBB->insert(InsertPos, MIB); in EmitSpecialNode()
[all …]
H A DScheduleDAGSDNodes.cpp757 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() local
775 BB->insert(InsertPos, DbgMI); in ProcessSDDbgValues()
811 MachineBasicBlock::iterator InsertPos) { in EmitPhysRegCopy() argument
830 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), Reg) in EmitPhysRegCopy()
851 EmitSchedule(MachineBasicBlock::iterator &InsertPos) { in EmitSchedule() argument
852 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule()
911 BB->insert(InsertPos, DbgMI); in EmitSchedule()
922 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
930 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); in EmitSchedule()
1057 InsertPos = Emitter.getInsertPos(); in EmitSchedule()
[all …]
H A DScheduleDAGSDNodes.h123 EmitSchedule(MachineBasicBlock::iterator &InsertPos);
188 MachineBasicBlock::iterator InsertPos);
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPHIElimination.cpp501 MachineBasicBlock::iterator InsertPos = in LowerPHINode() local
511 NewSrcInstr = BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
522 NewSrcInstr = TII->createPHISourceCopy(opBlock, InsertPos, nullptr, in LowerPHINode()
550 for (MachineBasicBlock::iterator Term = InsertPos; Term != opBlock.end(); in LowerPHINode()
561 KillInst = InsertPos; in LowerPHINode()
608 for (MachineBasicBlock::iterator Term = InsertPos; in LowerPHINode()
619 KillInst = InsertPos; in LowerPHINode()
629 KillInst = std::prev(InsertPos); in LowerPHINode()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp98 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore() argument
99 insertBefore(InsertPos->getIterator()); in insertBefore()
104 void Instruction::insertBefore(BasicBlock::iterator InsertPos) { in insertBefore() argument
105 insertBefore(*InsertPos->getParent(), InsertPos); in insertBefore()
110 void Instruction::insertAfter(Instruction *InsertPos) { in insertAfter() argument
111 BasicBlock *DestParent = InsertPos->getParent(); in insertAfter()
113 DestParent->getInstList().insertAfter(InsertPos->getIterator(), this); in insertAfter()
133 InstListType::iterator InsertPos) { in insertBefore() argument
136 BB.getInstList().insert(InsertPos, this); in insertBefore()
146 bool InsertAtHead = InsertPos.getHeadBit(); in insertBefore()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DVectorUtils.h448 InsertPos(nullptr) {} in InterleaveGroup()
451 : Alignment(Alignment), InsertPos(Instr) { in InterleaveGroup()
530 InstTy *getInsertPos() const { return InsertPos; } in getInsertPos()
531 void setInsertPos(InstTy *Inst) { InsertPos = Inst; } in setInsertPos()
575 InstTy *InsertPos; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastPreTileConfig.cpp351 MachineBasicBlock::iterator InsertPos; in convertPHI() local
353 InsertPos = TileDefMI->getParent()->getFirstNonPHI(); in convertPHI()
386 InsertPos = TileDefMI->getIterator(); in convertPHI()
400 addOffset(BuildMI(*TileDefMI->getParent(), InsertPos, DebugLoc(), in convertPHI()
408 MachineBasicBlock::iterator InsertPos = MBB->getFirstNonPHI(); in convertPHI() local
410 BuildMI(*MBB, InsertPos, DebugLoc(), TII->get(X86::MOV64ri), StrideReg) in convertPHI()
414 BuildMI(*MBB, InsertPos, DebugLoc(), TII->get(X86::PTILELOADDV), TileReg) in convertPHI()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp835 MachineBasicBlock::iterator InsertPos = PH->getFirstTerminator(); in computeCount() local
837 if (InsertPos != PH->end()) in computeCount()
838 DL = InsertPos->getDebugLoc(); in computeCount()
922 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount()
943 BuildMI(*PH, InsertPos, DL, SubD, SubR); in computeCount()
963 BuildMI(*PH, InsertPos, DL, AddD, AddR) in computeCount()
985 BuildMI(*PH, InsertPos, DL, LsrD, LsrR) in computeCount()
1245 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1246 DL = InsertPos->getDebugLoc(); in convertToHardwareLoop()
1266 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)) in convertToHardwareLoop()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2ITBlockPass.cpp221 MachineBasicBlock::iterator InsertPos = MIB.getInstr(); in InsertITInstructions() local
255 MBB.insert(InsertPos, NMI); in InsertITInstructions()
275 finalizeBundle(MBB, InsertPos.getInstrIterator(), in InsertITInstructions()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp265 void *InsertPos = nullptr; in tryInstantiateStdTemplate() local
267 new_class_template->findSpecialization(imported_args, InsertPos); in tryInstantiateStdTemplate()
285 new_class_template->AddSpecialization(result, InsertPos); in tryInstantiateStdTemplate()

1234