Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp170 void *InsertPos; in getRegionValueSymbol() local
175 DataSet.InsertNode(SD, InsertPos); in getRegionValueSymbol()
189 void *InsertPos; in conjureSymbol() local
206 void *InsertPos; in getDerivedSymbol() local
222 void *InsertPos; in getExtentSymbol() local
240 void *InsertPos; in getMetadataSymbol() local
257 void *InsertPos; in getCastSymbol() local
274 void *InsertPos; in getSymIntExpr() local
292 void *InsertPos; in getIntSymExpr() local
310 void *InsertPos; in getSymSymExpr() local
[all …]
H A DBasicValueFactory.cpp92 void *InsertPos; in getValue() local
102 APSIntSet.InsertNode(P, InsertPos); in getValue()
130 void *InsertPos; in getCompoundValData() local
137 CompoundValDataSet.InsertNode(D, InsertPos); in getCompoundValData()
148 void *InsertPos; in getLazyCompoundValData() local
156 LazyCompoundValDataSet.InsertNode(D, InsertPos); in getLazyCompoundValData()
166 void *InsertPos; in getPointerToMemberData() local
350 void *InsertPos; in getPersistentSValWithData() local
363 Map.InsertNode(P, InsertPos); in getPersistentSValWithData()
375 void *InsertPos; in getPersistentSValPair() local
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DFoldingSet.cpp75 void *InsertPos = nullptr; in TEST() local
78 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
80 EXPECT_EQ(nullptr, InsertPos); in TEST()
90 void *InsertPos = nullptr; in TEST() local
93 TrivialPair *N = Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
95 EXPECT_NE(nullptr, InsertPos); in TEST()
140 void *InsertPos = nullptr; in TEST() local
144 Trivial.FindNodeOrInsertPos(ID, InsertPos); in TEST()
147 Trivial.InsertNode(&T, InsertPos); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DPreferMemberInitializerCheck.cpp222 SourceLocation InsertPos; in check() local
234 InsertPos = Init->getRParenLoc(); in check()
242 InsertPos = Init->getSourceLocation(); in check()
251 if (InsertPos.isValid()) in check()
252 InvalidFix |= InsertPos.isMacroID(); in check()
257 if (InsertPos.isInvalid()) { in check()
259 InsertPos = Lexer::getLocForEndOfToken( in check()
266 InsertPos = Lexer::getLocForEndOfToken( in check()
280 InvalidFix |= InsertPos.isMacroID(); in check()
300 if (InsertPos.isValid()) in check()
[all …]
/llvm-project-15.0.7/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,
132 unsigned InsertPos, APInt &Value, in encodeRelocImm() argument
150 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodeRelocImm()
159 unsigned InsertPos, APInt &Value, in encodePCRelImm() argument
168 unsigned InsertByte = getBytePosition<Size>(InsertPos); in encodePCRelImm()
173 if (InsertPos < 16) in encodePCRelImm()
194 unsigned InsertPos, APInt &Value, in getMachineOpValue() argument
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclarationName.cpp301 void *InsertPos = nullptr; in getCXXDeductionGuideName() local
306 CXXDeductionGuideNames.InsertNode(Name, InsertPos); in getCXXDeductionGuideName()
316 void *InsertPos = nullptr; in getCXXConstructorName() local
322 CXXConstructorNames.InsertNode(SpecialName, InsertPos); in getCXXConstructorName()
332 void *InsertPos = nullptr; in getCXXDestructorName() local
338 CXXDestructorNames.InsertNode(SpecialName, InsertPos); in getCXXDestructorName()
347 void *InsertPos = nullptr; in getCXXConversionFunctionName() local
349 CXXConversionFunctionNames.FindNodeOrInsertPos(ID, InsertPos)) in getCXXConversionFunctionName()
354 CXXConversionFunctionNames.InsertNode(SpecialName, InsertPos); in getCXXConversionFunctionName()
378 void *InsertPos = nullptr; in getCXXLiteralOperatorName() local
[all …]
H A DDeclTemplate.cpp321 void *InsertPos) { in addSpecializationImpl() argument
324 if (InsertPos) { in addSpecializationImpl()
330 InsertPos == CorrectInsertPos && in addSpecializationImpl()
333 Specializations.InsertNode(Entry, InsertPos); in addSpecializationImpl()
393 InsertPos); in addSpecialization()
505 TemplateParameterList *TPL, void *&InsertPos) { in findPartialSpecialization() argument
552 void *InsertPos) { in AddPartialSpecialization() argument
553 if (InsertPos) in AddPartialSpecialization()
1213 void *&InsertPos) { in findSpecialization() argument
1224 TemplateParameterList *TPL, void *&InsertPos) { in findPartialSpecialization() argument
[all …]
H A DASTContext.cpp775 void *InsertPos = nullptr; in getCanonicalTemplateTemplateParmDecl() local
3263 void *InsertPos = nullptr; in getComplexType() local
3291 void *InsertPos = nullptr; in getPointerType() local
3314 void *InsertPos = nullptr; in getAdjustedType() local
3354 void *InsertPos = nullptr; in getDecayedType() local
3380 void *InsertPos = nullptr; in getBlockPointerType() local
3415 void *InsertPos = nullptr; in getLValueReferenceType() local
3455 void *InsertPos = nullptr; in getRValueReferenceType() local
11978 void *InsertPos; in getMSGuidDecl() local
11994 void *InsertPos; in getUnnamedGlobalConstantDecl() local
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCSEInfo.cpp112 void *&InsertPos) { in getNodeIfExists() argument
113 auto *Node = CSEMap.FindNodeOrInsertPos(ID, InsertPos); in getNodeIfExists()
126 void GISelCSEInfo::insertNode(UniqueMachineInstr *UMI, void *InsertPos) { in insertNode() argument
130 if (InsertPos) in insertNode()
131 CSEMap.InsertNode(UMI, InsertPos); in insertNode()
149 void GISelCSEInfo::insertInstr(MachineInstr *MI, void *InsertPos) { in insertInstr() argument
154 insertNode(Node, InsertPos); in insertInstr()
159 void *&InsertPos) { in getMachineInstrIfExists() argument
161 if (auto *Inst = getNodeIfExists(ID, MBB, InsertPos)) { in getMachineInstrIfExists()
281 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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DQualifiedAutoCheck.cpp260 SourceLocation InsertPos = TypeSpec->getBegin(); in check() local
261 diag(InsertPos, in check()
266 << FixItHint::CreateInsertion(InsertPos, "const "); in check()
282 SourceLocation InsertPos = TypeSpec->getBegin(); in check() local
283 diag(InsertPos, "'auto &%0' can be declared as 'const auto &%0'") in check()
284 << Var->getName() << FixItHint::CreateInsertion(InsertPos, "const "); in check()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp279 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), in getVR()
400 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), in AddOperand()
526 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
543 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSubregNode()
595 MBB->insert(InsertPos, MIB); in EmitSubregNode()
669 MBB->insert(InsertPos, MIB); in EmitRegSequence()
1069 MBB->insert(InsertPos, MIB); in EmitMachineNode()
1173 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSpecialNode()
1201 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), in EmitSpecialNode()
1338 MBB->insert(InsertPos, MIB); in EmitSpecialNode()
[all …]
H A DScheduleDAGSDNodes.cpp751 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues() local
769 BB->insert(InsertPos, DbgMI); in ProcessSDDbgValues()
805 MachineBasicBlock::iterator InsertPos) { in EmitPhysRegCopy() argument
824 BuildMI(*BB, InsertPos, DebugLoc(), TII->get(TargetOpcode::COPY), Reg) in EmitPhysRegCopy()
845 EmitSchedule(MachineBasicBlock::iterator &InsertPos) { in EmitSchedule() argument
846 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos, in EmitSchedule()
903 BB->insert(InsertPos, DbgMI); in EmitSchedule()
914 TII->insertNoop(*Emitter.getBlock(), InsertPos); in EmitSchedule()
922 EmitPhysRegCopy(SU, CopyVRBaseMap, InsertPos); in EmitSchedule()
1049 InsertPos = Emitter.getInsertPos(); in EmitSchedule()
[all …]
H A DScheduleDAGSDNodes.h123 EmitSchedule(MachineBasicBlock::iterator &InsertPos);
188 MachineBasicBlock::iterator InsertPos);
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1242 BasicBlock::iterator InsertPos; in rewriteWithNewAddressSpaces() local
1244 InsertPos = std::next(NewVInst->getIterator()); in rewriteWithNewAddressSpaces()
1246 InsertPos = std::next(VInst->getIterator()); in rewriteWithNewAddressSpaces()
1248 InsertPos = ASC->getIterator(); in rewriteWithNewAddressSpaces()
1251 ASC->getType(), "", &*InsertPos); in rewriteWithNewAddressSpaces()
1266 BasicBlock::iterator InsertPos; in rewriteWithNewAddressSpaces() local
1268 InsertPos = std::next(NewVInst->getIterator()); in rewriteWithNewAddressSpaces()
1270 InsertPos = std::next(VInst->getIterator()); in rewriteWithNewAddressSpaces()
1272 while (isa<PHINode>(InsertPos)) in rewriteWithNewAddressSpaces()
1273 ++InsertPos; in rewriteWithNewAddressSpaces()
[all …]
/llvm-project-15.0.7/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()
1238 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1239 DL = InsertPos->getDebugLoc(); in convertToHardwareLoop()
1259 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)) in convertToHardwareLoop()
[all …]

1234