Home
last modified time | relevance | path

Searched defs:IRB (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp420 IRBuilder<> IRB(*C); in initializeCallbacks() local
545 IRBuilder<> IRB(*C); in doInitialization() local
756 IRBuilder<> IRB(SI); in materializeStores() local
781 IRBuilder<> IRB(OrigIns); in materializeOneCheck() local
1274 IRBuilder<> IRB(I.getNextNode()); in visitLoadInst() local
1314 IRBuilder<> IRB(&I); in handleCASOrRMW() local
1346 IRBuilder<> IRB(&I); in visitExtractElementInst() local
1354 IRBuilder<> IRB(&I); in visitInsertElementInst() local
1362 IRBuilder<> IRB(&I); in visitShuffleVectorInst() local
1370 IRBuilder<> IRB(&I); in visitSExtInst() local
[all …]
DDataFlowSanitizer.cpp852 IRBuilder<> IRB(Pos); in runOnModule() local
871 IRBuilder<> IRB(&F->getEntryBlock().front()); in getArgTLSPtr() local
881 IRBuilder<> IRB(&F->getEntryBlock().front()); in getRetvalTLS() local
886 IRBuilder<> IRB(Pos); in getArgTLS() local
904 IRBuilder<> IRB(ArgTLSPos); in getShadow() local
934 IRBuilder<> IRB(Pos); in getShadowAddress() local
983 IRBuilder<> IRB(Pos); in combineShadows() local
1055 IRBuilder<> IRB(Pos); in loadShadow() local
1086 IRBuilder<> IRB(Pos); in loadShadow() local
1106 IRBuilder<> IRB(Pos); in loadShadow() local
[all …]
DAddressSanitizer.cpp681 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local
883 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
896 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
1018 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local
1092 IRBuilder<> IRB(InsertBefore); in generateCrashCode() local
1118 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp()
1141 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
1201 IRBuilder<> IRB(I); in instrumentUnusualSizeOrAlignment() local
1223 IRBuilder<> IRB(&GlobalInit.front(), in poisonOneInitializer() local
1365 IRBuilder<> IRB(*C); in initializeCallbacks() local
[all …]
DThreadSanitizer.cpp151 IRBuilder<> IRB(M.getContext()); in initializeCallbacks() local
444 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in runOnFunction() local
460 IRBuilder<> IRB(I); in instrumentLoadOrStore() local
508 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering()
534 IRBuilder<> IRB(I); in instrumentMemIntrinsic() local
553 static Value *createIntOrPtrToIntCast(Value *V, Type* Ty, IRBuilder<> &IRB) { in createIntOrPtrToIntCast()
567 IRBuilder<> IRB(I); in instrumentAtomic() local
DSanitizerCoverage.cpp215 IRBuilder<> IRB(*C); in runOnModule() local
433 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
460 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
494 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
539 IRBuilder<> IRB(&*IP); in InjectCoverageAtBlock() local
DEfficiencySanitizer.cpp248 IRBuilder<> IRB(M.getContext()); in initializeCallbacks() local
533 IRBuilder<> IRB(M.getContext()); in initOnModule() local
560 Value *EfficiencySanitizer::appToShadow(Value *Shadow, IRBuilder<> &IRB) { in appToShadow()
649 IRBuilder<> IRB(I); in instrumentLoadOrStore() local
710 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
790 IRBuilder<> IRB(I); in insertCounterUpdate() local
849 IRBuilder<> IRB(I); in instrumentFastpathWorkingSet() local
DInstrProfiling.cpp519 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", RegisterF)); in emitRegistration() local
566 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", User)); in emitRuntimeHook() local
620 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", F)); in emitInitialization() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp693 IRBuilder<> IRB(*C); in createKernelApi() local
760 IRBuilder<> IRB(*C); in createUserspaceApi() local
823 IRBuilder<> IRB(*C); in initializeCallbacks() local
941 IRBuilder<> IRB(*C); in initializeModule() local
1162 IRBuilder<> IRB(SI); in materializeStores() local
1207 IRBuilder<> IRB(OrigIns); in materializeOneCheck() local
1256 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in insertKmsanPrologue() local
1778 IRBuilder<> IRB(I.getNextNode()); in visitLoadInst() local
1822 IRBuilder<> IRB(&I); in handleCASOrRMW() local
1856 IRBuilder<> IRB(&I); in visitExtractElementInst() local
[all …]
DHWAddressSanitizer.cpp372 IRBuilder<> IRB(*C); in initializeModule() local
435 IRBuilder<> IRB(*C); in initializeCallbacks() local
478 Value *HWAddressSanitizer::getDynamicShadowIfunc(IRBuilder<> &IRB) { in getDynamicShadowIfunc()
488 Value *HWAddressSanitizer::getDynamicShadowNonTls(IRBuilder<> &IRB) { in getDynamicShadowNonTls()
584 IRBuilder<> IRB(I); in untagPointerOperand() local
598 Value *HWAddressSanitizer::memToShadow(Value *Mem, IRBuilder<> &IRB) { in memToShadow()
611 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessInline() local
699 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
737 IRBuilder<> IRB(I); in instrumentMemAccess() local
771 bool HWAddressSanitizer::tagAlloca(IRBuilder<> &IRB, AllocaInst *AI, in tagAlloca()
[all …]
DBoundsChecking.cpp60 BuilderTy &IRB, ScalarEvolution &SE) { in getBoundsCheckCond()
115 static void insertBoundsCheck(Value *Or, BuilderTy IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck()
155 BuilderTy IRB(I.getParent(), BasicBlock::iterator(&I), TargetFolder(DL)); in addBoundsChecking() local
177 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking()
202 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL)); in addBoundsChecking() local
DDataFlowSanitizer.cpp987 IRBuilder<> IRB(Pos); in runOnModule() local
1006 IRBuilder<> IRB(&F->getEntryBlock().front()); in getArgTLSPtr() local
1016 IRBuilder<> IRB(&F->getEntryBlock().front()); in getRetvalTLS() local
1022 IRBuilder<> IRB(Pos); in getArgTLS() local
1041 IRBuilder<> IRB(ArgTLSPos); in getShadow() local
1072 IRBuilder<> IRB(Pos); in getShadowAddress() local
1121 IRBuilder<> IRB(Pos); in combineShadows() local
1192 IRBuilder<> IRB(Pos); in loadShadow() local
1223 IRBuilder<> IRB(Pos); in loadShadow() local
1244 IRBuilder<> IRB(Pos); in loadShadow() local
[all …]
DAddressSanitizer.cpp976 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local
1285 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
1303 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
1482 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local
1533 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
1539 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
1613 IRBuilder<> IRB(InsertBefore); in generateCrashCode() local
1639 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp()
1664 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
1742 IRBuilder<> IRB(InsertBefore); in instrumentUnusualSizeOrAlignment() local
[all …]
DSanitizerCoverage.cpp314 IRBuilder<> IRB(M.getContext()); in CreateSecStartEnd() local
374 IRBuilder<> IRB(*C); in instrumentModule() local
673 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
732 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
749 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
787 IRBuilder<> IRB(BO); in InjectTraceForDiv() local
805 IRBuilder<> IRB(GEP); in InjectTraceForGep() local
817 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
865 IRBuilder<> IRB(&*IP); in InjectCoverageAtBlock() local
DThreadSanitizer.cpp204 IRBuilder<> IRB(M.getContext()); in initialize() local
430 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in InsertRuntimeIgnores() local
504 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in sanitizeFunction() local
521 IRBuilder<> IRB(I); in instrumentLoadOrStore() local
576 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering()
602 IRBuilder<> IRB(I); in instrumentMemIntrinsic() local
630 IRBuilder<> IRB(I); in instrumentAtomic() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp112 IRBuilder<> IRB(SI); in addStore() local
121 IRBuilder<> IRB(MSI); in addMemSet() local
127 void applyMemSet(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyMemSet()
156 Value *sliceValue(IRBuilder<> &IRB, Value *V, int64_t Offset) { in sliceValue()
169 void applyStore(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyStore()
183 void generate(IRBuilder<> &IRB) { in generate()
222 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitZeroes()
232 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitUndef()
241 void emitPair(IRBuilder<> &IRB, uint64_t Offset, Value *A, Value *B) { in emitPair()
250 Value *flatten(IRBuilder<> &IRB, Value *V) { in flatten()
[all …]
/external/AFLplusplus/instrumentation/
Dcmplog-routines-pass.cc506 IRBuilder<> IRB(ThenTerm); local
537 IRBuilder<> IRB(ThenTerm); local
572 IRBuilder<> IRB(ThenTerm); local
603 IRBuilder<> IRB(ThenTerm); local
638 IRBuilder<> IRB(ThenTerm); local
668 IRBuilder<> IRB(ThenTerm); local
698 IRBuilder<> IRB(ThenTerm); local
728 IRBuilder<> IRB(ThenTerm); local
DSanitizerCoveragePCGUARD.so.cc336 IRBuilder<> IRB(M.getContext()); in CreateSecStartEnd() local
437 IRBuilder<> IRB(*C); in instrumentModule() local
801 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
945 IRBuilder<> IRB(callInst); in InjectCoverage() local
977 IRBuilder<> IRB(selectInst->getNextNode()); in InjectCoverage() local
1214 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
1235 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
1284 IRBuilder<> IRB(BO); in InjectTraceForDiv() local
1304 IRBuilder<> IRB(GEP); in InjectTraceForGep() local
1321 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
[all …]
DSanitizerCoverageLTO.so.cc384 IRBuilder<> IRB(*C); in instrumentModule() local
1013 IRBuilder<> IRB(&(*IP)); in instrumentModule() local
1300 IRBuilder<> IRB(selectInst->getNextNode()); in instrumentFunction() local
1485 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
1586 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
1613 IRBuilder<> IRB(&*IP); in InjectCoverageAtBlock() local
/external/llvm/lib/CodeGen/
DSafeStack.cpp359 Value *SafeStack::getOrCreateUnsafeStackPtr(IRBuilder<> &IRB, Function &F) { in getOrCreateUnsafeStackPtr()
395 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
455 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
490 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, in checkStackGuard()
514 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
677 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local
724 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
730 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
788 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in runOnFunction() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp145 IRBuilder<> IRB(M.getContext()); in doInitialization() local
176 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
205 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local
279 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
DSafeStack.cpp370 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
428 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
464 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, in checkStackGuard()
488 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
645 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local
693 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
699 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
773 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in run() local
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp25 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
113 IRBuilder<> IRB(ReturnInst::Create(M.getContext(), CtorBB)); in createSanitizerCtorAndInitFunctions() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp315 static GlobalVariable *getGlobalVariableI32(Module &M, IRBuilder<> &IRB, in getGlobalVariableI32()
387 IRBuilder<> IRB(C); in wrapInvoke() local
546 IRBuilder<> IRB(C); in wrapTestSetjmp() local
629 IRBuilder<> IRB(C); in runOnModule() local
743 IRBuilder<> IRB(C); in runEHOnFunction() local
880 IRBuilder<> IRB(C); in runSjLjOnFunction() local
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1272 IRBuilderTy IRB(&SI); in speculateSelectInstLoads() local
1312 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP()
1335 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithType()
1379 static Value *getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPRecursively()
1453 static Value *getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithOffset()
1493 static Value *getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, in getAdjustedPtr()
1656 static Value *convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in convertValue()
2012 static Value *extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in extractInteger()
2035 static Value *insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, in insertInteger()
2066 static Value *extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, in extractVector()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1358 IRBuilderTy IRB(&SI); in speculateSelectInstLoads() local
1398 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP()
1421 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithType()
1465 static Value *getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPRecursively()
1539 static Value *getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithOffset()
1579 static Value *getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, in getAdjustedPtr()
1757 static Value *convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in convertValue()
2127 static Value *extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in extractInteger()
2150 static Value *insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, in insertInteger()
2181 static Value *extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, in extractVector()
[all …]

123