Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/polly/lib/CodeGen/
H A DRuntimeDebugBuilder.cpp21 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getVPrintF()
40 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getAddressSpaceCast()
61 auto M = Builder.GetInsertBlock()->getParent()->getParent(); in getGPUThreadIdentifiers()
183 const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout(); in createGPUPrinterT()
189 &Builder.GetInsertBlock()->getParent()->getEntryBlock().front()); in createGPUPrinterT()
245 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in getPrintF()
270 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createFlush()
H A DLoopGenerators.cpp89 Function *F = Builder.GetInsertBlock()->getParent(); in createLoop()
96 BasicBlock *BeforeBB = Builder.GetInsertBlock(); in createLoop()
203 Function *F = Builder.GetInsertBlock()->getParent(); in createSubFnDefinition()
225 const DataLayout &DL = Builder.GetInsertBlock()->getModule()->getDataLayout(); in storeValuesIntoStruct()
230 BasicBlock &EntryBB = Builder.GetInsertBlock()->getParent()->getEntryBlock(); in storeValuesIntoStruct()
H A DBlockGenerators.cpp86 assert(IP != Builder.GetInsertBlock()->end() && in trySynthesizeNewValue()
399 auto NewBB = Builder.GetInsertBlock(); in removeDeadInstructions()
429 BasicBlock *CopyBB = SplitBlock(Builder.GetInsertBlock(), in splitBB()
576 Builder.GetInsertBlock())) && in generateScalarLoads()
631 BasicBlock *HeadBlock = Builder.GetInsertBlock(); in generateConditionalExecution()
792 Builder.GetInsertBlock())) && in generateScalarStores()
796 Builder.GetInsertBlock())) && in generateScalarStores()
1367 BasicBlock *CopyBB = SplitBlock(Builder.GetInsertBlock(), in copyStmt()
1521 EndBlockMap[BB] = Builder.GetInsertBlock(); in copyStmt()
1626 BasicBlock *NewSubregionExit = Builder.GetInsertBlock(); in buildExitPHI()
[all …]
H A DIslNodeBuilder.cpp657 BasicBlock *ParBB = SplitBlock(Builder.GetInsertBlock(), in createForParallel()
816 Function *F = Builder.GetInsertBlock()->getParent(); in createIf()
819 BasicBlock *CondBB = SplitBlock(Builder.GetInsertBlock(), in createIf()
1221 BasicBlock *CondBB = SplitBlock(Builder.GetInsertBlock(), in preloadInvariantLoad()
1228 Function *F = Builder.GetInsertBlock()->getParent(); in preloadInvariantLoad()
1343 BasicBlock *EntryBB = &Builder.GetInsertBlock()->getParent()->getEntryBlock(); in preloadInvariantEquivClass()
1439 auto InstIt = Builder.GetInsertBlock() in allocateNewArrays()
1458 BasicBlock *PreLoadBB = SplitBlock(Builder.GetInsertBlock(), in preloadInvariantLoads()
1505 assert(Builder.GetInsertBlock()->end() != Builder.GetInsertPoint() && in generateSCEV()
1538 auto *F = Builder.GetInsertBlock()->getParent(); in createRTC()
H A DPPCGCodeGeneration.cpp766 BasicBlock *NewBB = SplitBlock(Builder.GetInsertBlock(), in initializeAfterRTH()
882 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallGetKernel()
900 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallGetDevicePtr()
920 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallLaunchKernel()
944 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallFreeKernel()
964 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallFreeDeviceMemory()
984 Module *M = Builder.GetInsertBlock()->getParent()->getParent(); in createCallAllocateMemoryForDevice()
1647 &Builder.GetInsertBlock()->getParent()->getEntryBlock(); in createLaunchParameters()
1854 Function *F = Builder.GetInsertBlock()->getParent(); in createKernel()
2188 auto *FN = Builder.GetInsertBlock()->getParent(); in finalizeKernelArguments()
[all …]
H A DIslExprBuilder.cpp116 Module *M = Builder.GetInsertBlock()->getModule(); in createBinOp()
602 Function *F = Builder.GetInsertBlock()->getParent(); in createOpBooleanConditional()
610 auto InsertBB = Builder.GetInsertBlock(); in createOpBooleanConditional()
629 auto LeftBB = Builder.GetInsertBlock(); in createOpBooleanConditional()
640 auto RightBB = Builder.GetInsertBlock(); in createOpBooleanConditional()
H A DCodeGeneration.cpp254 auto *SplitBBTerm = Builder.GetInsertBlock()->getTerminator(); in generateCode()
273 Builder.GetInsertBlock()->getTerminator()->setOperand(0, RTC); in generateCode()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1429 Module *M = B.GetInsertBlock()->getModule(); in emitLibCall()
1505 Module *M = B.GetInsertBlock()->getModule(); in emitMemCpyChk()
1663 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCallHelper()
1697 Module *M = B.GetInsertBlock()->getModule(); in emitUnaryFloatFnCall()
1712 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCallHelper()
1751 Module *M = B.GetInsertBlock()->getModule(); in emitBinaryFloatFnCall()
1761 Module *M = B.GetInsertBlock()->getModule(); in emitPutChar()
1784 Module *M = B.GetInsertBlock()->getModule(); in emitPutS()
1801 Module *M = B.GetInsertBlock()->getModule(); in emitFPutC()
1822 Module *M = B.GetInsertBlock()->getModule(); in emitFPutS()
[all …]
H A DAMDGPUEmitPrintf.cpp51 auto M = Builder.GetInsertBlock()->getModule(); in callPrintfBegin()
62 auto M = Builder.GetInsertBlock()->getModule(); in callAppendArgs()
83 auto *Prev = Builder.GetInsertBlock(); in getStrlenWithNull()
154 auto M = Builder.GetInsertBlock()->getModule(); in callAppendStringN()
/llvm-project-15.0.7/polly/include/polly/CodeGen/
H A DLoopGenerators.h136 M(Builder.GetInsertBlock()->getParent()->getParent()), in ParallelLoopGenerator()
138 Builder.GetInsertBlock()->getParent())) {} in ParallelLoopGenerator()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenMP/
H A DOpenMPToLLVMIRTranslation.cpp100 if (builder.GetInsertBlock() == in findAllocaInsertPoint()
101 &builder.GetInsertBlock()->getParent()->getEntryBlock()) { in findAllocaInsertPoint()
102 assert(builder.GetInsertPoint() == builder.GetInsertBlock()->end() && in findAllocaInsertPoint()
105 builder.getContext(), "entry", builder.GetInsertBlock()->getParent(), in findAllocaInsertPoint()
106 builder.GetInsertBlock()->getNextNode()); in findAllocaInsertPoint()
112 builder.GetInsertBlock()->getParent()->getEntryBlock(); in findAllocaInsertPoint()
128 llvm::BasicBlock *sourceBlock = builder.GetInsertBlock(); in convertOmpOpRegions()
133 llvmContext, blockName, builder.GetInsertBlock()->getParent(), in convertOmpOpRegions()
134 builder.GetInsertBlock()->getNextNode()); in convertOmpOpRegions()
1108 moduleTranslation.mapBlock(&bb, builder.GetInsertBlock()); in convertOmpAtomicUpdate()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp631 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
650 ThenBB = Builder->GetInsertBlock(); in codegen()
662 ElseBB = Builder->GetInsertBlock(); in codegen()
697 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
698 BasicBlock *PreheaderBB = Builder->GetInsertBlock(); in codegen()
746 BasicBlock *LoopEndBB = Builder->GetInsertBlock(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp743 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
762 ThenBB = Builder->GetInsertBlock(); in codegen()
774 ElseBB = Builder->GetInsertBlock(); in codegen()
809 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
810 BasicBlock *PreheaderBB = Builder->GetInsertBlock(); in codegen()
858 BasicBlock *LoopEndBB = Builder->GetInsertBlock(); in codegen()
/llvm-project-15.0.7/llvm/examples/BrainF/
H A DBrainF.cpp92 BasicBlock* BB = builder->GetInsertBlock(); in header()
296 BasicBlock *bb_0 = builder->GetInsertBlock(); in readloop()
437 phi->addIncoming(curhead, builder->GetInsertBlock()); in readloop()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCoroutine.cpp433 BasicBlock *SaveInsertBlock = CGF.Builder.GetInsertBlock(); in Emit()
471 const bool CanFallthrough = CGF.Builder.GetInsertBlock(); in emitBodyAndFallthrough()
482 auto *EntryBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
505 auto *AllocOrInvokeContBB = Builder.GetInsertBlock(); in EmitCoroutineBody()
632 const bool CanFallthrough = Builder.GetInsertBlock(); in EmitCoroutineBody()
H A DCGGPUBuiltin.cpp203 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
206 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp745 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
763 ThenBB = Builder.GetInsertBlock(); in Codegen()
774 ElseBB = Builder.GetInsertBlock(); in Codegen()
807 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
888 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp727 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
745 ThenBB = Builder.GetInsertBlock(); in Codegen()
756 ElseBB = Builder.GetInsertBlock(); in Codegen()
789 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
870 Function *TheFunction = Builder.GetInsertBlock()->getParent(); in Codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp1018 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
1037 ThenBB = Builder->GetInsertBlock(); in codegen()
1049 ElseBB = Builder->GetInsertBlock(); in codegen()
1081 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
1167 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
1282 Builder->GetInsertBlock()); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp844 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
863 ThenBB = Builder->GetInsertBlock(); in codegen()
875 ElseBB = Builder->GetInsertBlock(); in codegen()
907 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
991 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp849 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
868 ThenBB = Builder->GetInsertBlock(); in codegen()
880 ElseBB = Builder->GetInsertBlock(); in codegen()
912 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
996 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp827 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
846 ThenBB = Builder->GetInsertBlock(); in codegen()
858 ElseBB = Builder->GetInsertBlock(); in codegen()
890 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
974 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp850 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
869 ThenBB = Builder->GetInsertBlock(); in codegen()
881 ElseBB = Builder->GetInsertBlock(); in codegen()
913 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
997 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp844 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
863 ThenBB = Builder->GetInsertBlock(); in codegen()
875 ElseBB = Builder->GetInsertBlock(); in codegen()
907 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
991 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp844 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
863 ThenBB = Builder->GetInsertBlock(); in codegen()
875 ElseBB = Builder->GetInsertBlock(); in codegen()
907 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()
991 Function *TheFunction = Builder->GetInsertBlock()->getParent(); in codegen()

12345