Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp56 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
67 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
88 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()->getDataLayout(); in processNonStringArg()
377 Module *M = Builder.GetInsertBlock()->getModule(); in callBufferedPrintfArgPush()
440 Module *M = Builder.GetInsertBlock()->getModule(); in emitAMDGPUPrintfCall()
459 Builder.GetInsertBlock()->getParent()); in emitAMDGPUPrintfCall()
461 Ctx, "argpush.block", Builder.GetInsertBlock()->getParent()); in emitAMDGPUPrintfCall()
[all …]
H A DMemoryTaggingSupport.cpp263 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in readRegister()
272 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getPC()
275 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), in getPC()
280 Function *F = IRB.GetInsertBlock()->getParent(); in getFP()
290 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getAndroidSlotPtr()
H A DBuildLibCalls.cpp1593 const Module *M = B.GetInsertBlock()->getModule(); in getSizeTTy()
1602 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall()
1691 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1870 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper()
1904 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
1919 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper()
1958 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1970 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar()
1989 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
2007 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC()
[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.cpp198 return Builder.GetInsertBlock() in GetOptimalInsertionPointForCastOf()
274 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
307 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
373 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
396 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
1518 for (Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock());; in expand()
H A DFlattenCFG.cpp490 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in MergeIfRegion()
H A DLibCallsShrinkWrap.cpp105 if (BBBuilder.GetInsertBlock()->getParent()->hasFnAttribute(Attribute::StrictFP)) in createCond()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Atomic/
H A DAtomic.cpp44 Module *M = Builder->GetInsertBlock()->getModule(); in EmitAtomicLibcall()
113 Module *M = Builder->GetInsertBlock()->getModule(); in EmitAtomicLoadLibcall()
152 Module *M = Builder->GetInsertBlock()->getModule(); in EmitAtomicStoreLibcall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp121 : IRB.GetInsertBlock()->getParent()->size())); in InsertTrap()
125 Function *Fn = IRB.GetInsertBlock()->getParent(); in InsertCall()
241 Function *Fn = IRB.GetInsertBlock()->getParent(); in addBoundsChecking()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp184 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
190 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCoroutine.cpp611 BasicBlock *SaveInsertBlock = CGF.Builder.GetInsertBlock(); in Emit()
775 const bool CanFallthrough = CGF.Builder.GetInsertBlock(); in emitBodyAndFallthrough()
786 auto *EntryBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
809 auto *AllocOrInvokeContBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
941 const bool CanFallthrough = Builder.GetInsertBlock(); in EmitCoroutineBody()
H A DCGCleanup.cpp540 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
691 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
798 if (Personality.isMSVCXXPersonality() && Builder.GetInsertBlock()) in PopCleanupBlock()
964 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
1334 assert(CGF.Builder.GetInsertBlock() && InvokeDest); in EmitSehScope()
H A DCGStmt.cpp128 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
133 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
653 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
676 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
818 if (getLangOpts().CXXAssumptions && Builder.GetInsertBlock() && in EmitAttributedStmt()
864 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
1405 auto *FinalBodyBB = Builder.GetInsertBlock(); in EmitForStmt()
1523 auto *FinalBodyBB = Builder.GetInsertBlock(); in EmitCXXForRangeStmt()
1810 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
1903 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
H A DCGExprCXX.cpp1259 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer()
1316 CurPtrPhi->addIncoming(NextPtr, Builder.GetInsertBlock()); in EmitNewArrayInitializer()
1751 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1818 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
2303 if (!Builder.GetInsertBlock()) in EmitDynamicCast()
2353 CastNotNull = Builder.GetInsertBlock(); in EmitDynamicCast()
2361 CastNull = Builder.GetInsertBlock(); in EmitDynamicCast()
H A DCodeGenFunction.cpp317 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
1640 !FD->getReturnType()->isVoidType() && Builder.GetInsertBlock()) { in GenerateCode()
2192 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
2650 Builder.GetInsertBlock()); in protectFromPeepholes()
2901 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitSanitizerStatReport()
3187 Builder.GetInsertBlock()->getParent()->getParent(), in emitAlignmentAssumptionCheck()
3190 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck()
H A DCodeGenPGO.cpp1202 if (!RegionCounterMap || !Builder.GetInsertBlock()) in emitCounterSetOrIncrement()
1230 CGM.getCodeGenOpts().MCDCCoverage && Builder.GetInsertBlock()); in canEmitMCDCCoverage()
1380 if (!ValuePtr || !ValueSite || !Builder.GetInsertBlock()) in valueProfile()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp309 BasicBlock *Old = Builder.GetInsertBlock(); in spliceBB()
338 Builder.SetInsertPoint(Builder.GetInsertBlock()->getTerminator()); in splitBB()
340 Builder.SetInsertPoint(Builder.GetInsertBlock()); in splitBB()
352 Builder.SetInsertPoint(Builder.GetInsertBlock()->getTerminator()); in splitBB()
354 Builder.SetInsertPoint(Builder.GetInsertBlock()); in splitBB()
363 BasicBlock *Old = Builder.GetInsertBlock(); in splitBBWithSuffix()
1237 auto CurFn = Builder.GetInsertBlock()->getParent(); in emitKernelLaunch()
1255 BasicBlock *BB = Builder.GetInsertBlock(); in emitCancelationCheckImpl()
1361 << *Builder.GetInsertBlock()->getParent() << "\n"); in targetParallelCallback()
1446 << *Builder.GetInsertBlock()->getParent() << "\n"); in hostParallelCallback()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp126 assert(Mutator.GetInsertBlock()->getParent() == &Fn && in emit()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp907 Module *M = B.GetInsertBlock()->getModule(); in fold_pow()
1159 Function *Parent = B.GetInsertBlock()->getParent(); in fold_rootn()
1171 Module *M = B.GetInsertBlock()->getModule(); in fold_rootn()
1317 Function *F = B.GetInsertBlock()->getParent(); in insertSinCos()
1370 Function *F = B.GetInsertBlock()->getParent(); in fold_sincos()
H A DAMDGPUAtomicOptimizer.cpp391 Module *M = B.GetInsertBlock()->getModule(); in buildReduction()
435 Module *M = B.GetInsertBlock()->getModule(); in buildScan()
495 Module *M = B.GetInsertBlock()->getModule(); in buildShiftRight()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp351 const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout(); in emitMemcpyExpansion()
408 Builder.GetInsertBlock()->getModule()->getDataLayout(); in emitMemsetExpansion()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMatrixBuilder.h35 Module *getModule() { return B.GetInsertBlock()->getParent()->getParent(); } in getModule()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandFp.cpp135 BasicBlock *Entry = Builder.GetInsertBlock(); in expandFPToI()
339 BasicBlock *Entry = Builder.GetInsertBlock(); in expandIToFP()
H A DExpandMemCmp.cpp489 BasicBlock *BB = Builder.GetInsertBlock(); in emitLoadCompareBlockMultipleLoads()
553 BasicBlock *BB = Builder.GetInsertBlock(); in emitLoadCompareBlock()

1234