Home
last modified time | relevance | path

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

1234

/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
/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/llvm-project/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp485 IRBuilder<> IRB(*C); in initializeModule() local
549 IRBuilder<> IRB(*C); in initializeCallbacks() local
592 Value *HWAddressSanitizer::getOpaqueNoopCast(IRBuilder<> &IRB, Value *Val) { in getOpaqueNoopCast()
604 Value *HWAddressSanitizer::getDynamicShadowIfunc(IRBuilder<> &IRB) { in getDynamicShadowIfunc()
608 Value *HWAddressSanitizer::getShadowNonTls(IRBuilder<> &IRB) { in getShadowNonTls()
705 IRBuilder<> IRB(I); in untagPointerOperand() local
712 Value *HWAddressSanitizer::memToShadow(Value *Mem, IRBuilder<> &IRB) { in memToShadow()
731 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessInline() local
819 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
844 IRBuilder<> IRB(O.getInsn()); in instrumentMemAccess() local
[all …]
DMemorySanitizer.cpp713 IRBuilder<> IRB(*C); in createKernelApi() local
777 IRBuilder<> IRB(*C); in createUserspaceApi() local
852 IRBuilder<> IRB(*C); in initializeCallbacks() local
972 IRBuilder<> IRB(*C); in initializeModule() local
1102 IRBuilder<> IRB(FnPrologueEnd); in MemorySanitizerVisitor() local
1196 IRBuilder<> IRB(SI); in materializeStores() local
1233 IRBuilder<> IRB(OrigIns); in materializeOneCheck() local
1905 IRBuilder<> IRB(I.getNextNode()); in visitLoadInst() local
1949 IRBuilder<> IRB(&I); in handleCASOrRMW() local
1983 IRBuilder<> IRB(&I); in visitExtractElementInst() local
[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
182 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking()
207 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL)); in addBoundsChecking() local
DDataFlowSanitizer.cpp1089 IRBuilder<> IRB(Pos); in runImpl() local
1103 Value *DFSanFunction::getArgTLS(Type *T, unsigned ArgOffset, IRBuilder<> &IRB) { in getArgTLS()
1111 Value *DFSanFunction::getRetvalTLS(Type *T, IRBuilder<> &IRB) { in getRetvalTLS()
1138 IRBuilder<> IRB(ArgTLSPos); in getShadowForTLSArgument() local
1186 IRBuilder<> IRB(Pos); in getShadowAddress() local
1235 IRBuilder<> IRB(Pos); in combineShadows() local
1311 IRBuilder<> IRB(Pos); in loadShadow() local
1342 IRBuilder<> IRB(Pos); in loadShadow() local
1356 IRBuilder<> IRB(Pos); in loadShadow() local
1388 IRBuilder<> IRB(Pos); in loadShadow() local
[all …]
DMemProfiler.cpp296 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
307 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
435 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
441 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
471 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
531 IRBuilder<> IRB(*C); in initializeCallbacks() local
568 IRBuilder<> IRB(&F.front(), F.front().begin()); in maybeInsertMemProfInitAtFunctionEntry() local
576 IRBuilder<> IRB(&F.front().front()); in insertDynamicShadowAtFunctionEntry() local
DAddressSanitizer.cpp981 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local
1287 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
1305 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
1476 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local
1528 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
1534 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
1603 IRBuilder<> IRB(InsertBefore); in generateCrashCode() local
1626 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp()
1651 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
1729 IRBuilder<> IRB(InsertBefore); in instrumentUnusualSizeOrAlignment() local
[all …]
/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
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTagging.cpp125 IRBuilder<> IRB(SI); in addStore() local
134 IRBuilder<> IRB(MSI); in addMemSet() local
140 void applyMemSet(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyMemSet()
169 Value *sliceValue(IRBuilder<> &IRB, Value *V, int64_t Offset) { in sliceValue()
182 void applyStore(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyStore()
196 void generate(IRBuilder<> &IRB) { in generate()
235 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitZeroes()
245 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitUndef()
254 void emitPair(IRBuilder<> &IRB, uint64_t Offset, Value *A, Value *B) { in emitPair()
263 Value *flatten(IRBuilder<> &IRB, Value *V) { in flatten()
[all …]
/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/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/llvm-project/llvm/lib/CodeGen/
DWasmEHPrepare.cpp156 IRBuilder<> IRB(M.getContext()); in doInitialization() local
191 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
307 IRBuilder<> IRB(F.getContext()); in setupEHPadFunctions() local
353 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
DSafeStack.cpp372 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
433 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
469 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard()
493 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
659 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local
707 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
713 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
788 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in run() local

1234