Home
last modified time | relevance | path

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

123

/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.cpp250 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in readRegister()
260 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getPC()
263 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), in getPC()
268 Function *F = IRB.GetInsertBlock()->getParent(); in getFP()
280 Module *M = IRB.GetInsertBlock()->getParent()->getParent(); in getAndroidSlotPtr()
H A DBuildLibCalls.cpp1444 const Module *M = B.GetInsertBlock()->getModule(); in getSizeTTy()
1453 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall()
1533 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1712 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper()
1746 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
1761 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper()
1800 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1812 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar()
1831 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
1849 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.cpp186 return Builder.GetInsertBlock() in GetOptimalInsertionPointForCastOf()
262 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in InsertBinop()
300 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
363 BasicBlock::iterator BlockBegin = Builder.GetInsertBlock()->begin(); in expandAddToGEP()
386 while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
1489 for (Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock());; in expand()
H A DFlattenCFG.cpp490 BasicBlock *SaveInsertBB = Builder.GetInsertBlock(); in MergeIfRegion()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp302 BasicBlock *Old = Builder.GetInsertBlock(); in spliceBB()
331 Builder.SetInsertPoint(Builder.GetInsertBlock()->getTerminator()); in splitBB()
333 Builder.SetInsertPoint(Builder.GetInsertBlock()); in splitBB()
345 Builder.SetInsertPoint(Builder.GetInsertBlock()->getTerminator()); in splitBB()
347 Builder.SetInsertPoint(Builder.GetInsertBlock()); in splitBB()
356 BasicBlock *Old = Builder.GetInsertBlock(); in splitBBWithSuffix()
1122 auto CurFn = Builder.GetInsertBlock()->getParent(); in emitKernelLaunch()
1137 BasicBlock *BB = Builder.GetInsertBlock(); in emitCancelationCheckImpl()
1241 << *Builder.GetInsertBlock()->getParent() << "\n"); in targetParallelCallback()
1329 << *Builder.GetInsertBlock()->getParent() << "\n"); in hostParallelCallback()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp207 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
213 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
H A DCGCoroutine.cpp610 BasicBlock *SaveInsertBlock = CGF.Builder.GetInsertBlock(); in Emit()
770 const bool CanFallthrough = CGF.Builder.GetInsertBlock(); in emitBodyAndFallthrough()
781 auto *EntryBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
804 auto *AllocOrInvokeContBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
921 const bool CanFallthrough = Builder.GetInsertBlock(); in EmitCoroutineBody()
H A DCGCleanup.cpp526 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; in SimplifyCleanupEntry()
676 llvm::BasicBlock *FallthroughSource = Builder.GetInsertBlock(); in PopCleanupBlock()
783 if (Personality.isMSVCXXPersonality() && Builder.GetInsertBlock()) in PopCleanupBlock()
949 llvm::BasicBlock *NormalExit = Builder.GetInsertBlock(); in PopCleanupBlock()
1316 assert(CGF.Builder.GetInsertBlock() && InvokeDest); in EmitSehScope()
H A DCGExprCXX.cpp1254 llvm::BasicBlock *EntryBB = Builder.GetInsertBlock(); in EmitNewArrayInitializer()
1311 CurPtrPhi->addIncoming(NextPtr, Builder.GetInsertBlock()); in EmitNewArrayInitializer()
1712 nullCheckBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
1787 llvm::BasicBlock *notNullBB = Builder.GetInsertBlock(); in EmitCXXNewExpr()
2267 if (!Builder.GetInsertBlock()) in EmitDynamicCast()
2316 CastNotNull = Builder.GetInsertBlock(); in EmitDynamicCast()
2324 CastNull = Builder.GetInsertBlock(); in EmitDynamicCast()
H A DCGStmt.cpp125 llvm::BasicBlock *incoming = Builder.GetInsertBlock(); in EmitStmt()
130 llvm::BasicBlock *outgoing = Builder.GetInsertBlock(); in EmitStmt()
589 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBlock()
612 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitBranch()
748 if (getLangOpts().CXXAssumptions && Builder.GetInsertBlock() && in EmitAttributedStmt()
783 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitIndirectGotoStmt()
1661 llvm::BasicBlock *RestoreBB = Builder.GetInsertBlock(); in EmitCaseStmtRange()
1754 if (Builder.GetInsertBlock()) { in EmitCaseStmt()
H A DCodeGenFunction.cpp313 llvm::BasicBlock *CurBB = Builder.GetInsertBlock(); in EmitReturnBlock()
1570 !FD->getReturnType()->isVoidType() && Builder.GetInsertBlock()) { in GenerateCode()
2088 llvm::BasicBlock *originBB = CGF.Builder.GetInsertBlock(); in emitNonZeroVLAInit()
2542 Builder.GetInsertBlock()); in protectFromPeepholes()
2793 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitSanitizerStatReport()
2981 Builder.GetInsertBlock()->getParent()->getParent(), in emitAlignmentAssumptionCheck()
2984 assert(&(Builder.GetInsertBlock()->back()) == Assumption && in emitAlignmentAssumptionCheck()
H A DCodeGenPGO.cpp1193 if (!RegionCounterMap || !Builder.GetInsertBlock()) in emitCounterSetOrIncrement()
1218 CGM.getCodeGenOpts().MCDCCoverage && Builder.GetInsertBlock()); in canEmitMCDCCoverage()
1365 if (!ValuePtr || !ValueSite || !Builder.GetInsertBlock()) in valueProfile()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVectorBuilder.cpp31 return *Builder.GetInsertBlock()->getModule(); in getModule()
H A DIRBuilder.cpp93 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateVScale()
411 Module *M = GetInsertBlock()->getParent()->getParent(); in getReductionIntrinsic()
419 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFAddReduce()
427 Module *M = GetInsertBlock()->getParent()->getParent(); in CreateFMulReduce()
766 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointCallCommon()
821 Module *M = Builder->GetInsertBlock()->getParent()->getParent(); in CreateGCStatepointInvokeCommon()
/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.cpp910 Module *M = B.GetInsertBlock()->getModule(); in fold_pow()
1161 Function *Parent = B.GetInsertBlock()->getParent(); in fold_rootn()
1173 Module *M = B.GetInsertBlock()->getModule(); in fold_rootn()
1319 Function *F = B.GetInsertBlock()->getParent(); in insertSinCos()
1367 Function *F = B.GetInsertBlock()->getParent(); in fold_sincos()
H A DAMDGPUAtomicOptimizer.cpp409 Module *M = B.GetInsertBlock()->getModule(); in buildReduction()
454 Module *M = B.GetInsertBlock()->getModule(); in buildScan()
513 Module *M = B.GetInsertBlock()->getModule(); in buildShiftRight()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp186 Function *Fn = IRB.GetInsertBlock()->getParent(); in addBoundsChecking()
H A DPoisonChecking.cpp243 Module *M = B.GetInsertBlock()->getModule(); in CreateAssert()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp509 Builder.CreateCondBr(Cond, Builder.GetInsertBlock(), nullptr); in generatePerPart()
511 Builder.GetInsertBlock()->getTerminator()->eraseFromParent(); in generatePerPart()
539 BranchInst *CondBr = Builder.CreateCondBr(Cond, Builder.GetInsertBlock(), in generatePerPart()
542 Builder.GetInsertBlock()->getTerminator()->eraseFromParent(); in generatePerPart()
669 for (auto *OtherPred : predecessors(Builder.GetInsertBlock())) { in generatePerPart()
907 Module *M = State.Builder.GetInsertBlock()->getModule(); in execute()
1595 Builder.GetInsertBlock()->getDataLayout(); in execute()
/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 DExpandLargeFpConvert.cpp133 BasicBlock *Entry = Builder.GetInsertBlock(); in expandFPToI()
334 BasicBlock *Entry = Builder.GetInsertBlock(); in expandIToFP()

123