Home
last modified time | relevance | path

Searched refs:IRB (Results 1 – 25 of 56) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp814 IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), IRB.getInt32Ty()); in createUserspaceApi()
824 IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), IRB.getInt8PtrTy(), in createUserspaceApi()
851 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
854 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
857 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks()
2121 : IRB(IRB), MSV(MSV) {} in Combiner()
2351 IRB.CreateAnd(IRB.CreateICmpNE(Sc, Zero), in handleEqualityComparison()
2369 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaOtherBits)), SaSignBit); in getLowestPossibleValue()
2372 return IRB.CreateAnd(A, IRB.CreateNot(Sa)); in getLowestPossibleValue()
2386 IRB.CreateOr(IRB.CreateAnd(A, IRB.CreateNot(SaSignBit)), SaOtherBits); in getHighestPossibleValue()
[all …]
H A DHWAddressSanitizer.cpp933 IRB.CreateCall( in instrumentMemIntrinsic()
935 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
936 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
939 IRB.CreateCall( in instrumentMemIntrinsic()
941 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
986 Value *JustTag = IRB.CreateTrunc(Tag, IRB.getInt8Ty()); in tagAlloca()
1006 IRB.CreateStore(JustTag, IRB.CreateConstGEP1_32( in tagAlloca()
1058 applyTagMask(IRB, IRB.CreateXor(StackPointerLong, in getStackBaseTag()
1088 IRB.CreateOr(IRB.CreateShl(Tag, PointerTagShift), in tagPointer()
1125 IRB.CreateConstGEP1_32(IRB.getInt8Ty(), in getHwasanThreadSlotPtr()
[all …]
H A DThreadSanitizer.cpp231 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
235 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
239 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
243 VolatileWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
257 CompoundRWName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy()); in initialize()
327 IRB.getInt8PtrTy(), IRB.getInt8PtrTy()); in initialize()
627 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
634 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
666 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
702 IRB.CreateCall( in instrumentMemIntrinsic()
[all …]
H A DAddressSanitizer.cpp995 IRB.CreateCall( in unpoisonDynamicAllocasBeforeInst()
1202 IRB.CreateCall( in instrumentMemIntrinsic()
1204 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1208 IRB.CreateCall( in instrumentMemIntrinsic()
1554 Value *AddrLong = IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()); in instrumentAMDGPUAddress()
1558 Value *Cmp = IRB.CreateICmpNE(IRB.getTrue(), IsSharedOrPrivate); in instrumentAMDGPUAddress()
1584 IRB.CreateCall( in instrumentAddress()
2961 Alloca = IRB.CreateAlloca(IRB.getInt8Ty(), in createAllocaForLayout()
3262 IRB.CreateStore(IRB.CreatePointerCast(&F, IntptrTy), BasePlus2); in processStaticAllocas()
3353 IRB.CreateCall( in poisonAlloca()
[all …]
H A DBoundsChecking.cpp88 Value *ObjSize = IRB.CreateSub(Size, Offset); in getBoundsCheckCond()
97 Value *Or = IRB.CreateOr(Cmp2, Cmp3); in getBoundsCheckCond()
101 Or = IRB.CreateOr(Cmp1, Or); in getBoundsCheckCond()
124 BasicBlock::iterator SplitI = IRB.GetInsertPoint(); in insertBoundsCheck()
133 BranchInst::Create(GetTrapBB(IRB), OldBB); in insertBoundsCheck()
183 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking() argument
190 auto DebugLoc = IRB.getCurrentDebugLocation(); in addBoundsChecking()
191 IRBuilder<>::InsertPointGuard Guard(IRB); in addBoundsChecking()
193 IRB.SetInsertPoint(TrapBB); in addBoundsChecking()
196 CallInst *TrapCall = IRB.CreateCall(F, {}); in addBoundsChecking()
[all …]
H A DMemProfiler.cpp311 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
313 IRB.CreateCall( in instrumentMemIntrinsic()
315 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
316 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
319 IRB.CreateCall( in instrumentMemIntrinsic()
321 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
322 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic()
549 IRBuilder<> IRB(*C); in initializeCallbacks() local
566 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IntptrTy); in initializeCallbacks()
568 IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
[all …]
H A DSanitizerCoverage.cpp384 IRBuilder<> IRB(*C); in instrumentModule() local
409 IRB.getInt8Ty(), IRB.getInt8Ty()); in instrumentModule()
412 IRB.getInt16Ty(), IRB.getInt16Ty()); in instrumentModule()
415 IRB.getInt32Ty(), IRB.getInt32Ty()); in instrumentModule()
783 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
788 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
838 IRBuilder<> IRB(BO); in InjectTraceForDiv() local
878 IRBuilder<> IRB(LI); in InjectTraceForLoadsAndStores() local
887 IRBuilder<> IRB(SI); in InjectTraceForLoadsAndStores() local
926 IRB.CreateCall(CallbackFunc, {IRB.CreateIntCast(A0, Ty, true), in InjectTraceForCmp()
[all …]
H A DDataFlowSanitizer.cpp983 IRBuilder<> IRB(&I); in addConditionalCallbacksIfEnabled() local
1153 Args.push_back(IRB.CreatePointerCast(F, IRB.getInt8PtrTy())); in buildExternWeakCheckIfNeeded()
2084 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in loadShadowOriginSansLoadTracking()
2087 return {IRB.CreateTrunc(IRB.CreateLShr(Call, DFS.OriginWidthBits), in loadShadowOriginSansLoadTracking()
2271 return IRB.CreateOr(Origin, IRB.CreateShl(Origin, OriginSize * 8)); in originToIntptr()
2329 paintOrigin(IRB, updateOrigin(Origin, IRB), StoreOriginAddr, Size, in storeOrigin()
2337 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
2718 IRB.CreateCall( in visitMemSetInst()
2731 IRB.CreateCall( in visitMemTransferInst()
2733 {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemTransferInst()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp723 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp()
725 Value *ThrewValueCmp = IRB.CreateICmpNE(ThrewValue, IRB.getInt32(0)); in wrapTestSetjmp()
736 IRB.CreatePHI(IRB.getInt32Ty(), 4, "threwvalue.phi"); in wrapTestSetjmp()
757 Value *Cmp2 = IRB.CreateICmpEQ(ThenLabel, IRB.getInt32(0)); in wrapTestSetjmp()
770 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp()
939 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule()
950 FunctionType::get(IRB.getVoidTy(), IRB.getInt8PtrTy(), false); in runOnModule()
1002 IRB.getVoidTy(), {IRB.getInt8PtrTy(), IRB.getInt32Ty()}, false); in runOnModule()
1294 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction()
1305 IRB.CreateStore(IRB.getInt32(0), SetjmpTable); in runSjLjOnFunction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp136 IRBuilder<> IRB(SI); in addStore() local
183 V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty()); in sliceValue()
185 V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty()); in sliceValue()
188 V = IRB.CreateZExtOrTrunc(V, IRB.getInt64Ty()); in sliceValue()
251 Ptr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), Ptr, Offset); in emitZeroes()
261 Ptr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), Ptr, Offset); in emitUndef()
270 Ptr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), Ptr, Offset); in emitPair()
451 IB.generate(IRB); in tagAlloca()
457 IRB.CreateCall(SetTagFunc, {IRB.CreatePointerCast(AI, IRB.getInt8PtrTy()), in untagAlloca()
481 IRB.CreateCall(IRG_SP, {Constant::getNullValue(IRB.getInt64Ty())}); in insertBaseTaggedPointer()
[all …]
/llvm-project-15.0.7/llvm/unittests/IR/
H A DPatternMatch.cpp54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)), in TEST_F()
56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42)); in TEST_F()
57 Value *Leaf = IRB.CreateAdd(IRB.CreateAdd(Two, IRB.getInt32(8)), in TEST_F()
482 Value *X = IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(0)); in TEST_F()
597 checkMatch(IRB.CreateAnd(X, IRB.CreateAnd(X, Y))); in TEST_F()
598 checkMatch(IRB.CreateAnd(X, IRB.CreateAnd(Y, X))); in TEST_F()
599 checkMatch(IRB.CreateAnd(IRB.CreateAnd(X, Y), X)); in TEST_F()
600 checkMatch(IRB.CreateAnd(IRB.CreateAnd(Y, X), X)); in TEST_F()
935 Value *Val = IRB.CreateAdd(IRB.getInt8(0), IRB.getInt8(1)); in TEST_F()
1362 Value *Name = IRB.CreateAlloca(IRB.getInt8Ty()); in TEST_F()
[all …]
H A DCFGBuilder.cpp46 IRBuilder<> IRB(From); in ConnectBlocks() local
47 IRB.CreateSwitch(ConstantInt::get(IntTy, 0), To); in ConnectBlocks()
66 IRBuilder<> IRB(From); in DisconnectBlocks() local
67 IRB.CreateUnreachable(); in DisconnectBlocks()
91 IRBuilder<> IRB(BB); in getOrAddBlock() local
92 IRB.CreateUnreachable(); in getOrAddBlock()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp137 IRBuilder<> IRB(M.getContext()); in doInitialization() local
168 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
187 IRB.SetInsertPoint(BB); in prepareThrows()
188 IRB.CreateUnreachable(); in prepareThrows()
197 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local
247 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
302 IRB.CreateCall(CatchF, {IRB.getInt32(WebAssembly::CPP_EXCEPTION)}, "exn"); in prepareEHPad()
321 IRB.CreateCall(LPadIndexF, {FPI, IRB.getInt32(Index)}); in prepareEHPad()
324 IRB.CreateStore(IRB.getInt32(Index), LPadIndexField); in prepareEHPad()
331 IRB.CreateStore(IRB.CreateCall(LSDAF), LSDAField); in prepareEHPad()
[all …]
H A DSafeStack.cpp553 IRB.CreateAnd( in moveStaticAllocasToUnsafeStack()
597 IRB.SetInsertPoint(AI); in moveStaticAllocasToUnsafeStack()
660 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local
671 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
673 SP = IRB.CreateSub(SP, Size); in moveDynamicAllocasToUnsafeStack()
679 Value *NewTop = IRB.CreateIntToPtr( in moveDynamicAllocasToUnsafeStack()
680 IRB.CreateAnd(SP, in moveDynamicAllocasToUnsafeStack()
706 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
712 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
791 IRB.SetCurrentDebugLocation( in run()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp53 IRBuilder<> *IRB = nullptr; member in __anon10293aa20111::SPIRVEmitIntrinsics
139 IRB->SetInsertPoint(U); in replaceMemInstrUses()
166 IRB->SetInsertPoint(I); in preprocessCompositeConstants()
263 Args.push_back(IRB->getInt32(Op)); in visitInsertValueInst()
275 Args.push_back(IRB->getInt32(Op)); in visitExtractValueInst()
306 auto *NewI = IRB->CreateIntrinsic( in visitStoreInst()
325 Args.push_back(IRB->getInt32( in visitAtomicCmpXchgInst()
327 Args.push_back(IRB->getInt32( in visitAtomicCmpXchgInst()
371 IRB->SetInsertPoint(I); in insertAssignTypeIntrs()
386 Type *Ty = IRB->getInt32Ty(); in processInstrAfterVisit()
[all …]
H A DSPIRVPrepareFunctions.cpp160 IRBuilder<> IRB(RotateBB); in lowerFunnelShifts() local
179 FirstShift = IRB.CreateLShr(FSHFunc->getArg(1), RotateModVal); in lowerFunnelShifts()
183 FirstShift = IRB.CreateShl(FSHFunc->getArg(0), RotateModVal); in lowerFunnelShifts()
192 SecShift = IRB.CreateShl(FSHFunc->getArg(0), SubRotateVal); in lowerFunnelShifts()
196 SecShift = IRB.CreateLShr(FSHFunc->getArg(1), SubRotateVal); in lowerFunnelShifts()
199 IRB.CreateRet(IRB.CreateOr(FirstShift, SecShift)); in lowerFunnelShifts()
210 IRBuilder<> IRB(EntryBB); in buildUMulWithOverflowFunc() local
216 Value *Div = IRB.CreateUDiv(Mul, UMulFunc->getArg(0)); in buildUMulWithOverflowFunc()
217 Value *Overflow = IRB.CreateICmpNE(UMulFunc->getArg(0), Div); in buildUMulWithOverflowFunc()
223 Value *Res = IRB.CreateInsertValue(Agg, Overflow, {1}); in buildUMulWithOverflowFunc()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1553 Ptr = IRB.CreateInBoundsGEP(IRB.getInt8Ty(), Ptr, IRB.getInt(Offset), in getAdjustedPtr()
1645 : IRB.CreateInBoundsGEP(IRB.getInt8Ty(), Int8Ptr, in getAdjustedPtr()
2183 V = IRB.CreateExtractElement(V, IRB.getInt32(BeginIndex), in extractVector()
2203 V = IRB.CreateInsertElement(Old, V, IRB.getInt32(BeginIndex), in insertVector()
2304 IRBuilderTy IRB; member in llvm::sroa::AllocaSliceRewriter
2546 IRB.CreateAlignedLoad(TargetTy, getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst()
2739 V = IRB.CreateMul( in getIntegerSplat()
3239 IRBuilderTy &IRB; member in __anon3ad87db80b11::AggLoadStoreRewriter
3243 : DL(DL), IRB(IRB) {} in AggLoadStoreRewriter()
3274 IRBuilderTy &IRB; member in __anon3ad87db80b11::AggLoadStoreRewriter::OpSplitter
[all …]
H A DFloat2Int.cpp455 IRBuilder<> IRB(I); in convert() local
461 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
465 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
471 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
476 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
480 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
484 NewV = IRB.CreateNeg(NewOperands[0], I->getName()); in convert()
490 NewV = IRB.CreateBinOp(mapBinOpcode(I->getOpcode()), in convert()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp156 IRBuilder<> IRB(&LI); in visitLoadInst() local
157 IRB.SetCurrentDebugLocation(LI.getDebugLoc()); in visitLoadInst()
165 auto *NewPtr = IRB.CreateBitCast( in visitLoadInst()
166 IRB.CreateConstGEP1_64( in visitLoadInst()
167 IRB.getInt8Ty(), in visitLoadInst()
168 IRB.CreatePointerBitCastOrAddrSpaceCast(Base, Int8PtrTy), in visitLoadInst()
171 LoadInst *NewLd = IRB.CreateAlignedLoad(IRB.getInt32Ty(), NewPtr, Align(4)); in visitLoadInst()
176 auto *NewVal = IRB.CreateBitCast( in visitLoadInst()
177 IRB.CreateTrunc(IRB.CreateLShr(NewLd, ShAmt), IntNTy), LI.getType()); in visitLoadInst()
H A DAMDGPUCtorDtorLowering.cpp59 IRBuilder<> IRB(InitOrFiniKernel->getEntryBlock().getTerminator()); in createInitOrFiniKernel() local
64 M.getOrInsertFunction(F->getName(), IRB.getVoidTy()); in createInitOrFiniKernel()
65 IRB.CreateCall(Ctor); in createInitOrFiniKernel()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp26 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
27 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
33 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy()); in appendToGlobalArray()
46 CSVals[0] = IRB.getInt32(Priority); in appendToGlobalArray()
48 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
49 : Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
145 IRBuilder<> IRB(Ctor->getEntryBlock().getTerminator()); in createSanitizerCtorAndInitFunctions() local
146 IRB.CreateCall(InitFunction, InitArgs); in createSanitizerCtorAndInitFunctions()
149 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
151 IRB.CreateCall(VersionCheckFunction, {}); in createSanitizerCtorAndInitFunctions()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp98 static Value *createByteGEP(IRBuilderBase &IRB, const DataLayout &DL, in createByteGEP() argument
128 Indices.push_back(IRB.getInt(Index)); in createByteGEP()
131 Ptr = IRB.CreateGEP(OrigElemTy, Ptr, Indices); in createByteGEP()
139 Ptr = IRB.CreateBitCast(Ptr, IRB.getInt8PtrTy(AddrSpace)); in createByteGEP()
140 Ptr = IRB.CreateGEP(IRB.getInt8Ty(), Ptr, IRB.getInt(OrigOffset)); in createByteGEP()
142 return IRB.CreateBitCast(Ptr, ResElemTy->getPointerTo(AddrSpace)); in createByteGEP()
227 IRBuilder<NoFolder> IRB(&CB); in doPromotion() local
242 LoadInst *LI = IRB.CreateAlignedLoad( in doPromotion()
244 createByteGEP(IRB, DL, V, Pair.second.Ty, Pair.first), in doPromotion()
338 IRBuilder<NoFolder> IRB(&NF->begin()->front()); in doPromotion() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp211 IRBuilder<> IRB(In); in INITIALIZE_PASS_DEPENDENCY() local
216 Value *NewIn = IRB.CreateCall(ExtF, {BF, IRB.getInt32(W), IRB.getInt32(SR)}); in INITIALIZE_PASS_DEPENDENCY()
218 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName()); in INITIALIZE_PASS_DEPENDENCY()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/
H A DInstrumentation.h185 static void ensureDebugInfo(IRBuilder<> &IRB, const Function &F) { in ensureDebugInfo()
186 if (IRB.getCurrentDebugLocation()) in ensureDebugInfo()
189 IRB.SetCurrentDebugLocation(DILocation::get(SP->getContext(), 0, 0, SP)); in ensureDebugInfo()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp203 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr() local
204 IRB.SetCurrentDebugLocation(Builder.getCurrentDebugLocation()); in EmitAMDGPUDevicePrintfCallExpr()
205 auto Printf = llvm::emitAMDGPUPrintfCall(IRB, Args); in EmitAMDGPUDevicePrintfCallExpr()
206 Builder.SetInsertPoint(IRB.GetInsertBlock(), IRB.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr()

123