Home
last modified time | relevance | path

Searched refs:GetInsertBlock (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp55 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
66 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
87 auto *Prev = Builder.GetInsertBlock(); in getStrlenWithNull()
158 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN()
226 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfStart()
354 const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout(); in processNonStringArg()
377 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfArgPush()
442 Module *M = Builder.GetInsertBlock()->getModule(); in emitAMDGPUPrintfCall()
461 Builder.GetInsertBlock()->getParent()); in emitAMDGPUPrintfCall()
463 Ctx, "argpush.block", Builder.GetInsertBlock()->getParent()); in emitAMDGPUPrintfCall()
[all …]
H A DBuildLibCalls.cpp1442 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall()
1522 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1701 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper()
1735 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
1750 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper()
1789 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1801 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar()
1820 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
1838 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC()
1858 Module *M = B.GetInsertBlock()->getModule(); in emitFPutS()
[all …]
H A DSanitizerStats.cpp43 Function *F = B.GetInsertBlock()->getParent(); in create()
H A DIntegerDivision.cpp158 BasicBlock *IBB = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
195 BasicBlock *SpecialCases = Builder.GetInsertBlock(); in generateUnsignedDivisionCode()
H A DScalarEvolutionExpander.cpp147 return Builder.GetInsertBlock() in GetOptimalInsertionPointForCastOf()
223 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
261 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
324 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
347 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
1432 for (Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock());; in expand()
H A DFlattenCFG.cpp490 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in MergeIfRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp204 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
210 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCoroutine.cpp477 BasicBlock *SaveInsertBlock = CGF.Builder.GetInsertBlock(); in Emit()
637 const bool CanFallthrough = CGF.Builder.GetInsertBlock(); in emitBodyAndFallthrough()
648 auto *EntryBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
671 auto *AllocOrInvokeContBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
788 const bool CanFallthrough = Builder.GetInsertBlock(); in EmitCoroutineBody()
H A DCGCleanup.cpp553 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
696 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
790 if (IsEHa && getInvokeDest() && Builder.GetInsertBlock()) { in PopCleanupBlock()
953 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
1344 assert(CGF.Builder.GetInsertBlock() && InvokeDest); in EmitSehScope()
H A DCGExprCXX.cpp1248 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer()
1307 CurPtrPhi->addIncoming(NextPtr, Builder.GetInsertBlock()); in EmitNewArrayInitializer()
1713 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1789 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
2303 if (!Builder.GetInsertBlock()) in EmitDynamicCast()
2352 CastNotNull = Builder.GetInsertBlock(); in EmitDynamicCast()
2360 CastNull = Builder.GetInsertBlock(); in EmitDynamicCast()
H A DCGStmt.cpp121 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
126 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
572 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
595 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
758 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
1295 auto CI = cast<llvm::CallInst>(&Builder.GetInsertBlock()->back()); in makeTailCallIfSwiftAsync()
1482 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
1575 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
H A DCodeGenFunction.cpp279 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
1491 !FD->getReturnType()->isVoidType() && Builder.GetInsertBlock()) { in GenerateCode()
2008 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
2460 Builder.GetInsertBlock()); in protectFromPeepholes()
2694 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitSanitizerStatReport()
2885 Builder.GetInsertBlock()->getParent()->getParent(), in emitAlignmentAssumptionCheck()
2888 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck()
H A DCodeGenPGO.cpp1101 if (!RegionCounterMap || !Builder.GetInsertBlock()) in emitCounterIncrement()
1121 CGM.getCodeGenOpts().MCDCCoverage && Builder.GetInsertBlock()); in canEmitMCDCCoverage()
1235 if (!ValuePtr || !ValueSite || !Builder.GetInsertBlock()) in valueProfile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVectorBuilder.cpp31 return *Builder.GetInsertBlock()->getModule(); in getModule()
H A DIRBuilder.cpp92 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateVScale()
410 Module *M = GetInsertBlock()->getParent()->getParent(); in getReductionIntrinsic()
418 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFAddReduce()
426 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFMulReduce()
765 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointCallCommon()
820 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointInvokeCommon()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp756 IRB.GetInsertBlock()->getParent()->getParent()->getOrInsertGlobal( in getShadowNonTls()
919 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in instrumentMemAccessOutline()
1214 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getHwasanThreadSlotPtr()
1232 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), IntptrTy); in getPC()
1239 Function *F = IRB.GetInsertBlock()->getParent(); in getSP()
1349 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in readRegister()
1554 if (EntryIRB.GetInsertBlock() != &F.getEntryBlock()) { in sanitizeFunction()
1557 llvm::make_early_inc_range(*EntryIRB.GetInsertBlock())) { in sanitizeFunction()
H A DBoundsChecking.cpp186 Function *Fn = IRB.GetInsertBlock()->getParent(); in addBoundsChecking()
H A DPoisonChecking.cpp242 Module *M = B.GetInsertBlock()->getModule(); in CreateAssert()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp126 assert(Mutator.GetInsertBlock()->getParent() == &Fn && in emit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp299 BasicBlock *Old = Builder.GetInsertBlock(); in spliceBB()
353 BasicBlock *Old = Builder.GetInsertBlock(); in splitBBWithSuffix()
1079 BasicBlock *BB = Builder.GetInsertBlock(); in emitCancelationCheckImpl()
1327 BasicBlock *InsertBB = Builder.GetInsertBlock(); in createParallel()
2154 if (!Builder.GetInsertBlock()) in createReductions()
2172 if (!Builder.GetInsertBlock()) in createReductions()
2204 if (!Builder.GetInsertBlock()) in createReductions()
4156 BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitOMPInlinedRegion()
4201 BasicBlock *EntryBB = Builder.GetInsertBlock(); in emitCommonDirectiveEntry()
5629 BasicBlock *CurBB = Builder.GetInsertBlock(); in emitBranch()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp374 Builder.CreateCondBr(Cond, Builder.GetInsertBlock(), nullptr); in generateInstruction()
380 Builder.GetInsertBlock()->getTerminator()->eraseFromParent(); in generateInstruction()
401 BranchInst *CondBr = Builder.CreateCondBr(Cond, Builder.GetInsertBlock(), in generateInstruction()
404 Builder.GetInsertBlock()->getTerminator()->eraseFromParent(); in generateInstruction()
620 Module *M = State.Builder.GetInsertBlock()->getModule(); in execute()
1309 Builder.GetInsertBlock()->getModule()->getDataLayout(); in execute()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp398 Module *M = B.GetInsertBlock()->getModule(); in buildReduction()
451 Module *M = B.GetInsertBlock()->getModule(); in buildScan()
516 Module *M = B.GetInsertBlock()->getModule(); in buildShiftRight()
H A DAMDGPULibCalls.cpp897 Module *M = B.GetInsertBlock()->getModule(); in fold_pow()
1164 Module *M = B.GetInsertBlock()->getModule(); in fold_rootn()
1277 Function *F = B.GetInsertBlock()->getParent(); in insertSinCos()
1325 Function *F = B.GetInsertBlock()->getParent(); in fold_sincos()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h35 Module *getModule() { return B.GetInsertBlock()->getParent()->getParent(); } in getModule()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp132 BasicBlock *Entry = Builder.GetInsertBlock(); in expandFPToI()
331 BasicBlock *Entry = Builder.GetInsertBlock(); in expandIToFP()

123