Home
last modified time | relevance | path

Searched refs:insertBefore (Results 1 – 25 of 91) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DTracker.cpp78 BotLLVMI->insertBefore(NextLLVMI); in revert()
88 LLVMI->insertBefore(BotLLVMI); in revert()
113 RemovedI->insertBefore(NextI); in revert()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp167 ICmp->insertBefore(Call); in removeCompareBuiltin()
373 GEP->insertBefore(Call); in unrollGEPLoad()
374 Load->insertBefore(Call); in unrollGEPLoad()
381 GEP->insertBefore(Call); in unrollGEPStore()
382 Store->insertBefore(Call); in unrollGEPStore()
H A DBPFAbstractMemberAccess.cpp112 NewInst->insertBefore(Before); in insertPassThrough()
1125 BCInst->insertBefore(Call); in transformGEPChain()
1130 GEP->insertBefore(Call); in transformGEPChain()
1134 BCInst2->insertBefore(Call); in transformGEPChain()
H A DBPFPreserveStaticOffset.cpp425 Replacement->insertBefore(InsnToReplace); in tryToReplaceWithGEPBuiltin()
430 Replacement->insertBefore(InsnToReplace); in tryToReplaceWithGEPBuiltin()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp532 PN->insertBefore(InsertPos); in createTailRecurseLoopHeader()
546 RetPN->insertBefore(InsertPos); in createTailRecurseLoopHeader()
548 RetKnownPN->insertBefore(InsertPos); in createTailRecurseLoopHeader()
569 AccPN->insertBefore(HeaderBB->begin()); in insertAccumulator()
781 AccRecInstrNew->insertBefore(RI); in cleanupAndFinalize()
810 AccRecInstrNew->insertBefore(SI); in cleanupAndFinalize()
H A DMergedLoadStoreMotion.cpp220 NewPN->insertBefore(BB->begin()); in getPHIOperand()
271 SNew->insertBefore(InsertPt); in sinkStoresAndGEPs()
282 GEPNew->insertBefore(SNew); in sinkStoresAndGEPs()
H A DCallSiteSplitting.cpp225 Copy->insertBefore(Before); in cloneInstForMustTail()
378 CallPN->insertBefore(*TailBB, OriginalBegin); in splitCallSite()
403 NewPN->insertBefore(*TailBB, TailBB->begin()); in splitCallSite()
H A DGuardWidening.cpp636 FI->insertBefore(*InsertPt->getParent(), InsertPt); in freezeAndPush()
642 FI->insertBefore(*InsertPt->getParent(), InsertPt); in freezeAndPush()
665 FI->insertBefore(*InsertPt->getParent(), InsertPt); in freezeAndPush()
709 FI->insertBefore(*FreezeInsertPt->getParent(), FreezeInsertPt); in freezeAndPush()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp300 NewInst->insertBefore(ThenTerm); in versionCallSiteWithCond()
310 NewBitCast->insertBefore(ThenTerm); in versionCallSiteWithCond()
321 NewRet->insertBefore(ThenTerm); in versionCallSiteWithCond()
346 NewInst->insertBefore(ThenTerm); in versionCallSiteWithCond()
H A DLoopUnrollRuntime.cpp120 NewPN->insertBefore(PrologExit->getFirstNonPHIIt()); in ConnectProlog()
291 NewPN->insertBefore(NewExit->getFirstNonPHIIt()); in ConnectEpilog()
393 NewIdx->insertBefore(FirstLoopBB->getFirstNonPHIIt()); in CloneLoopBlocks()
939 NewIdx->insertBefore(Header->getFirstNonPHIIt()); in UnrollRuntimeLoopRemainder()
H A DSSAUpdater.cpp161 InsertedPHI->insertBefore(BB->begin()); in GetValueInMiddleOfBlock()
322 PHI->insertBefore(BB->begin()); in CreateEmptyPHI()
H A DAssumeBundleBuilder.cpp300 Intr->insertBefore(I); in salvageKnowledge()
507 MergedAssume->insertBefore(InsertPt); in mergeRange()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp190 NewDbgVariableRecord->insertBefore(&InsertBefore); in createDbgVariableRecord()
207 NewDVRDeclare->insertBefore(&InsertBefore); in createDVRDeclare()
454 DVI->insertBefore(InsertBefore); in createDebugIntrinsic()
470 DbgLabel->insertBefore(InsertBefore); in createDebugIntrinsic()
535 void DbgRecord::insertBefore(DbgRecord *InsertBefore) { in insertBefore() function in llvm::DbgRecord
555 insertBefore(MoveBefore); in moveBefore()
H A DInstruction.cpp97 void Instruction::insertBefore(Instruction *InsertPos) { in insertBefore() function in Instruction
98 insertBefore(InsertPos->getIterator()); in insertBefore()
103 void Instruction::insertBefore(BasicBlock::iterator InsertPos) { in insertBefore() function in Instruction
104 insertBefore(*InsertPos->getParent(), InsertPos); in insertBefore()
120 insertBefore(*ParentBB, It); in insertInto()
126 void Instruction::insertBefore(BasicBlock &BB, in insertBefore() function in Instruction
H A DReplaceConstant.cpp30 ConstInst->insertBefore(*InsertPt->getParent(), InsertPt); in expandUser()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp94 NewInst->insertBefore(*PredBB, InsertPos); in replaceConstantExprOp()
99 NewInst->insertBefore(*Instr->getParent(), Instr->getIterator()); in replaceConstantExprOp()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp277 commit.insertBefore(LocBeforeVal, "] = "); in rewriteToDictionarySubscriptSet()
280 commit.insertBefore(LocBeforeVal, "["); in rewriteToDictionarySubscriptSet()
513 commit.insertBefore(ValRange.getBegin(), ": "); in rewriteToDictionaryLiteral()
517 commit.insertBefore(ValRange.getBegin(), "@{"); in rewriteToDictionaryLiteral()
957 commit.insertBefore(Range.getBegin(), "(id)"); in objectifyExpr()
1115 commit.insertBefore(ArgRange.getBegin(), "@"); in rewriteToNumericBoxedExpression()
1154 commit.insertBefore(ArgRange.getBegin(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp93 NewRecipe->insertBefore(&Ingredient); in VPInstructionsToVPRecipes()
167 Clone->insertBefore(SinkCandidate); in sinkScalarOperands()
1026 VPC->insertBefore(&R); in simplifyRecipe()
1030 VPC->insertBefore(&R); in simplifyRecipe()
1194 NewOp->insertBefore(&R); in truncateToMinimalBitwidths()
1457 VPEVL->insertBefore(*Header, Header->getFirstNonPhi()); in tryAddExplicitVectorLength()
1467 OpVPEVL->insertBefore(CanonicalIVIncrement); in tryAddExplicitVectorLength()
1474 NextEVLIV->insertBefore(CanonicalIVIncrement); in tryAddExplicitVectorLength()
1509 NewRecipe->insertBefore(CurRecipe); in tryAddExplicitVectorLength()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h209 void insertBefore(Instruction *InsertPos);
210 void insertBefore(InstListType::iterator InsertPos);
221 void insertBefore(BasicBlock &BB, InstListType::iterator InsertPos);
H A DBasicBlock.h185 friend void Instruction::insertBefore(BasicBlock::iterator InsertPos);
187 friend void Instruction::insertBefore(BasicBlock &BB,
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dilist_base.h76 template <class T> static void insertBefore(T &Next, T &N) { in insertBefore() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp85 SI->insertBefore(First); in runOnFunction()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp272 commit.insertBefore(receiver->getBeginLoc(), "("); in rewriteToPropertyDotSyntax()
1259 commit.insertBefore(OM->getEndLoc(), " NS_RETURNS_INNER_POINTER"); in migrateNsReturnsInnerPointer()
1271 commit.insertBefore(P->getEndLoc(), " NS_RETURNS_INNER_POINTER "); in migratePropertyNsReturnsInnerPointer()
1395 commit.insertBefore(FirstFD->getBeginLoc(), PragmaString); in AnnotateImplicitBridging()
1485 commit.insertBefore(pd->getLocation(), "CF_CONSUMED "); in AddCFAnnotations()
1491 commit.insertBefore(pd->getLocation(), "NS_CONSUMED "); in AddCFAnnotations()
1597 commit.insertBefore(MethodDecl->getEndLoc(), AnnotationString); in AddCFAnnotations()
1611 commit.insertBefore(pd->getLocation(), "CF_CONSUMED "); in AddCFAnnotations()
1639 commit.insertBefore(MethodDecl->getEndLoc(), " NS_CONSUMES_SELF"); in migrateAddMethodAnnotation()
/freebsd/sys/contrib/libsodium/test/default/
H A Dindex.html.tpl91 s.parentNode.insertBefore(st, s);
/freebsd/contrib/llvm-project/clang/include/clang/Edit/
H A DCommit.h78 bool insertBefore(SourceLocation loc, StringRef text) { in insertBefore() function

1234