Home
last modified time | relevance | path

Searched refs:IRBuilder (Results 1 – 25 of 69) sorted by relevance

123

/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h26 Value *CastToCStr(Value *V, IRBuilder<> &B);
31 Value *EmitStrLen(Value *Ptr, IRBuilder<> &B, const DataLayout *TD,
37 Value *EmitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B,
43 Value *EmitStrChr(Value *Ptr, char C, IRBuilder<> &B, const DataLayout *TD,
47 Value *EmitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
52 Value *EmitStrCpy(Value *Dst, Value *Src, IRBuilder<> &B,
58 Value *EmitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B,
66 IRBuilder<> &B, const DataLayout *TD,
71 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B,
75 Value *EmitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp269 IRBuilder<> IRB(*C); in initializeCallbacks()
354 IRBuilder<> IRB(*C); in doInitialization()
386 virtual void visitCallSite(CallSite &CS, IRBuilder<> &IRB) = 0;
451 IRBuilder<> IRB(&I); in materializeStores()
485 IRBuilder<> IRBNew(CheckTerm); in materializeStores()
497 IRBuilder<> IRB(OrigIns); in materializeChecks()
606 Value *convertToShadowTyNoVec(Value *V, IRBuilder<> &IRB) { in convertToShadowTyNoVec()
618 IRBuilder<> &IRB) { in getShadowPtr()
629 Value *getOriginPtr(Value *Addr, IRBuilder<> &IRB) { in getOriginPtr()
644 Value *getShadowPtrForArgument(Value *A, IRBuilder<> &IRB, in getShadowPtrForArgument()
[all …]
DAddressSanitizer.cpp266 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong,
275 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
280 void emitShadowMapping(Module &M, IRBuilder<> &IRB) const;
497 void poisonRedZones(const ArrayRef<AllocaInst*> &AllocaVec, IRBuilder<> IRB,
499 void poisonAlloca(Value *V, uint64_t Size, IRBuilder<> IRB, bool DoPoison);
546 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
561 IRBuilder<> IRB(InsertBefore); in instrumentMemIntrinsicParam()
587 IRBuilder<> IRB(InsertBefore); in instrumentMemIntrinsic()
660 IRBuilder<> IRB(I); in instrumentMop()
684 IRBuilder<> IRB(InsertBefore); in generateCrashCode()
[all …]
DThreadSanitizer.cpp135 IRBuilder<> IRB(M.getContext()); in initializeCallbacks()
212 IRBuilder<> IRB(M.getContext()); in doInitialization()
353 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in runOnFunction()
359 IRBuilder<> IRBRet(RetVec[i]); in runOnFunction()
368 IRBuilder<> IRB(I); in instrumentLoadOrStore()
396 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering()
411 static ConstantInt *createFailOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createFailOrdering()
435 IRBuilder<> IRB(I); in instrumentAtomic()
DGCOVProfiling.cpp488 IRBuilder<> Builder(TI); in emitProfileArcs()
523 IRBuilder<> Builder(ComplexEdgePreds[i+1]->getTerminator()); in emitProfileArcs()
530 IRBuilder<> Builder(InsertPt); in emitProfileArcs()
559 IRBuilder<> Builder(BB); in emitProfileArcs()
615 IRBuilder<> Builder(Succ); in buildEdgeLookupTable()
710 IRBuilder<> Builder(BB); in insertCounterWriteout()
760 IRBuilder<> Builder(BB); in insertIndirectCounterIncrement()
820 IRBuilder<> Builder(Entry); in insertFlush()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp53 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
62 const LibCallSimplifier *LCS, IRBuilder<> &B) { in optimizeCall()
157 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
180 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
203 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
227 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
272 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
322 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
351 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) { in callOptimizer()
380 IRBuilder<> &B) { in emitStrLenMemCpy()
[all …]
DBuildLibCalls.cpp29 Value *llvm::CastToCStr(Value *V, IRBuilder<> &B) { in CastToCStr()
35 Value *llvm::EmitStrLen(Value *Ptr, IRBuilder<> &B, const DataLayout *TD, in EmitStrLen()
64 Value *llvm::EmitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B, in EmitStrNLen()
94 Value *llvm::EmitStrChr(Value *Ptr, char C, IRBuilder<> &B, in EmitStrChr()
120 IRBuilder<> &B, const DataLayout *TD, in EmitStrNCmp()
152 Value *llvm::EmitStrCpy(Value *Dst, Value *Src, IRBuilder<> &B, in EmitStrCpy()
177 IRBuilder<> &B, const DataLayout *TD, in EmitStrNCpy()
204 IRBuilder<> &B, const DataLayout *TD, in EmitMemCpyChk()
232 Value *Len, IRBuilder<> &B, const DataLayout *TD, in EmitMemChr()
260 Value *Len, IRBuilder<> &B, const DataLayout *TD, in EmitMemCmp()
[all …]
DIntegerDivision.cpp33 IRBuilder<> &Builder) { in generateSignedRemainderCode()
68 IRBuilder<> &Builder) { in generatedUnsignedRemainderCode()
90 IRBuilder<> &Builder) { in generateSignedDivisionCode()
126 IRBuilder<> &Builder) { in generateUnsignedDivisionCode()
339 IRBuilder<> Builder(Rem); in expandRemainder()
389 IRBuilder<> Builder(Div); in expandDivision()
448 IRBuilder<> Builder(Rem); in expandRemainderUpTo32Bits()
500 IRBuilder<> Builder(Div); in expandDivisionUpTo32Bits()
DBypassSlowDivision.cpp104 IRBuilder<> SlowBuilder(SlowBB, SlowBB->begin()); in insertFastDiv()
120 IRBuilder<> FastBuilder(FastBB, FastBB->begin()); in insertFastDiv()
140 IRBuilder<> SuccessorBuilder(SuccessorBB, SuccessorBB->begin()); in insertFastDiv()
157 IRBuilder<> MainBuilder(MainBB, MainBB->end()); in insertFastDiv()
DSimplifyCFG.cpp93 IRBuilder<> &Builder);
95 IRBuilder<> &Builder);
97 bool SimplifyReturn(ReturnInst *RI, IRBuilder<> &Builder);
98 bool SimplifyResume(ResumeInst *RI, IRBuilder<> &Builder);
100 bool SimplifySwitch(SwitchInst *SI, IRBuilder<> &Builder);
102 bool SimplifyUncondBranch(BranchInst *BI, IRBuilder <> &Builder);
103 bool SimplifyCondBranch(BranchInst *BI, IRBuilder <>&Builder);
619 IRBuilder<> &Builder) { in SimplifyEqualityComparisonWithOnlyPredecessor()
827 IRBuilder<> &Builder) { in FoldValueComparisonIntoPredecessors()
1129 IRBuilder<true, NoFolder> Builder(NT); in HoistThenElseCodeToIf()
[all …]
DModuleUtils.cpp24 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray()
/external/clang/lib/CodeGen/
DCGBuilder.h20 typedef llvm::IRBuilder<false> CGBuilderTy;
22 typedef llvm::IRBuilder<> CGBuilderTy;
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp67 IRBuilder<> &B, Value *BasePtr,
70 IRBuilder<> &B, Value *BasePtr,
95 IRBuilder<> Builder;
101 IRBuilder<> *Next() { in Next()
349 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP()
362 ShadowStackGC::CreateGEP(LLVMContext &Context, IRBuilder<> &B, Value *BasePtr, in CreateGEP()
391 IRBuilder<> AtEntry(IP->getParent(), IP); in performCustomLowering()
433 while (IRBuilder<> *AtExit = EE.Next()) { in performCustomLowering()
DSjLjEHPrepare.cpp127 IRBuilder<> Builder(I); in insertCallSiteStore()
176 IRBuilder<> in substituteLPadValues()
201 IRBuilder<> Builder(LPI->getParent()->getFirstInsertionPt()); in setupFunctionContext()
220 IRBuilder<> Builder(EntryBB->getTerminator()); in setupFunctionContext()
414 IRBuilder<> Builder(EntryBB->getTerminator()); in setupEntryBlockAndCallSites()
DIntrinsicLowering.cpp78 IRBuilder<> Builder(CI->getParent(), CI); in ReplaceCallWith()
171 IRBuilder<> Builder(IP->getParent(), IP); in LowerBSWAP()
271 IRBuilder<> Builder(IP->getParent(), IP); in LowerCTPOP()
304 IRBuilder<> Builder(IP->getParent(), IP); in LowerCTLZ()
341 IRBuilder<> Builder(CI->getParent(), CI); in LowerIntrinsicCall()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp49 IRBuilder<> Builder(BB); in TEST_F()
80 IRBuilder<> Builder(BB); in TEST_F()
103 IRBuilder<> Builder(BB); in TEST_F()
110 IRBuilder<> Builder(BB); in TEST_F()
122 IRBuilder<> Builder(BB); in TEST_F()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp25 IRBuilder<> Builder(C); in TEST()
55 IRBuilder<> Builder(C); in TEST()
85 IRBuilder<> Builder(C); in TEST()
115 IRBuilder<> Builder(C); in TEST()
DLocal.cpp22 IRBuilder<> builder(C); in TEST()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp47 IRBuilder<> builder(origBB, origBB->getTerminator()); in convertTransferToLoop()
60 IRBuilder<> loop(loopBB); in convertTransferToLoop()
87 IRBuilder<> builder(origBB, origBB->getTerminator()); in convertMemSetToLoop()
96 IRBuilder<> loop(loopBB); in convertMemSetToLoop()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp254 llvm::IRBuilder<> tmp(&block, block.begin()); in createEntryBlockAlloca()
871 llvm::IRBuilder<> &builder, in generateStringPrint()
915 llvm::IRBuilder<> &builder, in generateIntegerPrint()
967 llvm::IRBuilder<> &builder, in createFinallyBlock()
1043 llvm::IRBuilder<> &builder, in createCatchBlock()
1095 llvm::IRBuilder<> &builder, in createCatchWrappedInvokeFunction()
1362 llvm::IRBuilder<> &builder, in createThrowExceptionFunction()
1457 llvm::IRBuilder<> &builder);
1480 llvm::IRBuilder<> &builder, in createUnwindExceptionTest()
1618 llvm::IRBuilder<> &builder) { in createStandardUtilityFunctions()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp24 IRBuilder<> Builder(CXI->getParent(), CXI); in LowerAtomicCmpXchgInst()
40 IRBuilder<> Builder(RMWI->getParent(), RMWI); in LowerAtomicRMWInst()
DSROA.cpp1497 IRBuilder<> PHIBuilder(&PN); in visitPHINode()
1520 IRBuilder<> PredBuilder(TI); in visitPHINode()
1601 IRBuilder<> IRB(&SI); in visitSelectInst()
1665 static Value *buildGEP(IRBuilder<> &IRB, Value *BasePtr, in buildGEP()
1688 static Value *getNaturalGEPWithType(IRBuilder<> &IRB, const DataLayout &TD, in getNaturalGEPWithType()
1727 static Value *getNaturalGEPRecursively(IRBuilder<> &IRB, const DataLayout &TD, in getNaturalGEPRecursively()
1798 static Value *getNaturalGEPWithOffset(IRBuilder<> &IRB, const DataLayout &TD, in getNaturalGEPWithOffset()
1838 static Value *getAdjustedPtr(IRBuilder<> &IRB, const DataLayout &TD, in getAdjustedPtr()
1961 static Value *convertValue(const DataLayout &DL, IRBuilder<> &IRB, Value *V, in convertValue()
2159 static Value *extractInteger(const DataLayout &DL, IRBuilder<> &IRB, Value *V, in extractInteger()
[all …]
/external/llvm/unittests/ExecutionEngine/JIT/
DJITTest.cpp44 IRBuilder<> builder(Entry); in makeReturnGlobal()
339 IRBuilder<> Builder(Block); in TEST_F()
372 IRBuilder<> Builder(Entry); in TEST_F()
410 IRBuilder<> Builder(Block1); in TEST_F()
456 IRBuilder<> Builder(Block1); in TEST_F()
624 IRBuilder<> Builder(Entry); in TEST_F()
/external/llvm/examples/BrainF/
DBrainF.h90 IRBuilder<> *builder;
/external/llvm/lib/IR/
DAndroid.mk19 IRBuilder.cpp \

123