Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/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.cpp180 auto InsertPos = MBB->end(); in getEarliestInsertPos() local
181 while (InsertPos != MBB->begin()) { in getEarliestInsertPos()
182 if (BeforeSet.count(&*std::prev(InsertPos))) { in getEarliestInsertPos()
185 for (auto Pos = InsertPos, E = MBB->begin(); Pos != E; --Pos) in getEarliestInsertPos()
190 --InsertPos; in getEarliestInsertPos()
192 return InsertPos; in getEarliestInsertPos()
204 auto InsertPos = MBB->begin(); in getLatestInsertPos() local
205 while (InsertPos != MBB->end()) { in getLatestInsertPos()
206 if (AfterSet.count(&*InsertPos)) { in getLatestInsertPos()
209 for (auto Pos = InsertPos, E = MBB->end(); Pos != E; ++Pos) in getLatestInsertPos()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp170 void *InsertPos; in getRegionValueSymbol() local
171 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getRegionValueSymbol()
174 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
188 void *InsertPos; in conjureSymbol() local
189 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in conjureSymbol()
192 DataSet.InsertNode(SD, InsertPos); in conjureSymbol()
204 void *InsertPos; in getDerivedSymbol() local
205 SymExpr *SD = DataSet.FindNodeOrInsertPos(profile, InsertPos); in getDerivedSymbol()
208 DataSet.InsertNode(SD, InsertPos); in getDerivedSymbol()
219 void *InsertPos; in getExtentSymbol() 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()
136 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodeRelocImm()
145 unsigned InsertPos, APInt &Value, in encodePCRelImm()
154 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodePCRelImm()
159 if (InsertPos < 16) in encodePCRelImm()
180 unsigned InsertPos, APIn in getMachineOpValue()
114 encodeRelocImm(const MCInst & MI,unsigned OpIdx,unsigned InsertPos,APInt & Value,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const encodeRelocImm() argument
141 encodePCRelImm(const MCInst & MI,unsigned OpIdx,unsigned InsertPos,APInt & Value,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const encodePCRelImm() argument
176 getMachineOpValue(const MCInst & MI,const MCOperand & Op,unsigned InsertPos,APInt & Value,SmallVectorImpl<MCFixup> & Fixups,const MCSubtargetInfo & STI) const getMachineOpValue() argument
[all...]
/freebsd/contrib/llvm-project/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.cpp351 llvm::FoldingSetVector<EntryType> &Specs, void *&InsertPos, in findSpecializationImpl() argument
358 EntryType *Entry = Specs.FindNodeOrInsertPos(ID, InsertPos); in findSpecializationImpl()
365 void *InsertPos) { in addSpecializationImpl() argument
368 if (InsertPos) { in addSpecializationImpl()
374 InsertPos == CorrectInsertPos && in addSpecializationImpl()
377 Specializations.InsertNode(Entry, InsertPos); in addSpecializationImpl()
446 void *&InsertPos) { in findSpecialization() argument
447 return findSpecializationImpl(getSpecializations(), InsertPos, Args); in findSpecialization()
451 FunctionTemplateSpecializationInfo *Info, void *InsertPos) { in addSpecialization() argument
453 InsertPos); in addSpecialization()
[all …]
H A DASTContext.cpp740 void *InsertPos = nullptr; in getCanonicalTemplateTemplateParmDecl() local
742 = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
810 Canonical = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos); in getCanonicalTemplateTemplateParmDecl()
816 CanonTemplateTemplateParms.InsertNode(Canonical, InsertPos); in getCanonicalTemplateTemplateParmDecl()
3477 void *InsertPos = nullptr; in getCountAttributedType() local
3479 CountAttributedTypes.FindNodeOrInsertPos(ID, InsertPos); in getCountAttributedType()
3490 CountAttributedTypes.InsertNode(CATy, InsertPos); in getCountAttributedType()
3628 void *InsertPos = nullptr; in getComplexType() local
3629 if (ComplexType *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos)) in getComplexType()
3639 ComplexType *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos); in getComplexType()
[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()
289 void *InsertPos; verify() local
[all...]
H A DCSEMIRBuilder.cpp315 void *InsertPos = nullptr; in buildInstr() local
317 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildInstr()
325 return memoizeMI(NewMIB, InsertPos); in buildInstr()
341 void *InsertPos = nullptr; in buildConstant() local
345 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildConstant()
352 return memoizeMI(NewMIB, InsertPos); in buildConstant()
368 void *InsertPos = nullptr; in buildFConstant() local
372 MachineInstrBuilder MIB = getDominatingInstrForID(ID, InsertPos); in buildFConstant()
378 return memoizeMI(NewMIB, InsertPos); in buildFConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFoldingSet.h220 Node *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos,
226 void InsertNode(Node *N, void *InsertPos, const FoldingSetInfo &Info);
505 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
507 ID, InsertPos, Derived::getFoldingSetInfo())); in FindNodeOrInsertPos()
513 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
514 FoldingSetBase::InsertNode(N, InsertPos, Derived::getFoldingSetInfo()); in InsertNode()
670 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) { in FindNodeOrInsertPos() argument
671 return Set.FindNodeOrInsertPos(ID, InsertPos); in FindNodeOrInsertPos()
686 void InsertNode(T *N, void *InsertPos) { in InsertNode() argument
687 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.cpp174 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyFromReg()
278 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
356 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddRegisterOperand()
426 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand()
495 BuildMI(*MBB, InsertPos, DL, TII->get(TargetOpcode::COPY), NewReg) in ConstrainForSubReg()
552 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
569 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
621 MBB->insert(InsertPos, MIB); in EmitSubregNode()
645 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), in EmitCopyToRegClassNode()
695 MBB->insert(InsertPos, MIB); in EmitRegSequence()
[all …]
H A DScheduleDAGSDNodes.cpp758 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() local
776 BB->insert(InsertPos, DbgMI); in ProcessSDDbgValues()
812 MachineBasicBlock::iterator InsertPos) { in EmitPhysRegCopy() argument
831 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), Reg) in EmitPhysRegCopy()
840 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), VRBase) in EmitPhysRegCopy()
852 EmitSchedule(MachineBasicBlock::iterator &InsertPos) { in EmitSchedule() argument
853 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule()
921 BB->insert(InsertPos, DbgMI); in EmitSchedule()
932 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
940 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); 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.cpp363 MachineBasicBlock::iterator InsertPos, in insertLiterals() argument
365 MachineBasicBlock *MBB = InsertPos->getParent(); in insertLiterals()
369 InsertPos = BuildMI(MBB, InsertPos->getDebugLoc(), in insertLiterals()
374 return InsertPos; in insertLiterals()
436 void EmitFetchClause(MachineBasicBlock::iterator InsertPos, in EmitFetchClause() argument
443 BB->splice(InsertPos, BB, MI); in EmitFetchClause()
447 void EmitALUClause(MachineBasicBlock::iterator InsertPos, const DebugLoc &DL, in EmitALUClause() argument
454 BB->splice(InsertPos, BB, MI); in EmitALUClause()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp97 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore() argument
98 insertBefore(InsertPos->getIterator()); in insertBefore()
103 void Instruction::insertBefore(BasicBlock::iterator InsertPos) { in insertBefore() argument
104 insertBefore(*InsertPos->getParent(), InsertPos); in insertBefore()
109 void Instruction::insertAfter(Instruction *InsertPos) { in insertAfter() argument
110 BasicBlock *DestParent = InsertPos->getParent(); in insertAfter()
112 DestParent->getInstList().insertAfter(InsertPos->getIterator(), this); in insertAfter()
127 InstListType::iterator InsertPos) { in insertBefore() argument
130 BB.getInstList().insert(InsertPos, this); in insertBefore()
138 bool InsertAtHead = InsertPos.getHeadBit(); in insertBefore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DPHIElimination.cpp578 MachineBasicBlock::iterator InsertPos = in LowerPHINode() local
589 BuildMI(opBlock, InsertPos, MPhi->getDebugLoc(), in LowerPHINode()
599 NewSrcInstr = TII->createPHISourceCopy(opBlock, InsertPos, nullptr, in LowerPHINode()
627 for (MachineBasicBlock::iterator Term = InsertPos; Term != opBlock.end(); in LowerPHINode()
638 KillInst = InsertPos; in LowerPHINode()
686 for (MachineBasicBlock::iterator Term = InsertPos; in LowerPHINode()
697 KillInst = InsertPos; in LowerPHINode()
707 KillInst = std::prev(InsertPos); in LowerPHINode()
/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/include/llvm/Analysis/
H A DVectorUtils.h474 InsertPos(nullptr) {} in InterleaveGroup()
477 : Alignment(Alignment), InsertPos(Instr) { in InterleaveGroup()
556 InstTy *getInsertPos() const { return InsertPos; } in getInsertPos()
557 void setInsertPos(InstTy *Inst) { InsertPos = Inst; } in setInsertPos()
601 InstTy *InsertPos; variable
/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()
1202 MachineBasicBlock::iterator InsertPos = Preheader->getFirstTerminator(); in convertToHardwareLoop() local
1244 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1245 DL = InsertPos->getDebugLoc(); in convertToHardwareLoop()
[all …]
/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()
/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()
276 finalizeBundle(MBB, InsertPos.getInstrIterator(), in InsertITInstructions()
/freebsd/contrib/llvm-project/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