Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp938 Value *PrimitiveShadow, IRBuilder<> &IRB) { in expandFromPrimitiveShadowRecursive()
979 IRBuilder<> IRB(Pos); in expandFromPrimitiveShadow() local
992 IRBuilder<> &IRB) { in collapseAggregateShadow()
1008 IRBuilder<> &IRB) { in collapseToPrimitiveShadow()
1030 IRBuilder<> IRB(Pos); in collapseToPrimitiveShadow() local
1042 IRBuilder<> IRB(&I); in addConditionalCallbacksIfEnabled() local
1055 void DFSanFunction::addReachesFunctionCallbacksIfEnabled(IRBuilder<> &IRB, in addReachesFunctionCallbacksIfEnabled()
1269 void DataFlowSanitizer::buildExternWeakCheckIfNeeded(IRBuilder<> &IRB, in buildExternWeakCheckIfNeeded()
1707 IRBuilder<> IRB(Next); in runImpl() local
1762 IRBuilder<> IRB(Pos); in runImpl() local
[all …]
H A DMemorySanitizer.cpp734 IRBuilder<> IRB(*C); in createKernelApi() local
800 IRBuilder<> IRB(*C); in createUserspaceApi() local
874 IRBuilder<> IRB(*C); in initializeCallbacks() local
999 IRBuilder<> IRB(*C); in initializeModule() local
1135 IRBuilder<> IRB(FnPrologueEnd); in MemorySanitizerVisitor() local
1256 IRBuilder<> IRB(SI); in materializeStores() local
1362 IRBuilder<> IRB(Instruction); in materializeInstructionChecks() local
1399 IRBuilder<> IRB(Instruction); in materializeInstructionChecks() local
2120 NextNodeIRBuilder IRB(&I); in visitLoadInst() local
2164 IRBuilder<> IRB(&I); in handleCASOrRMW() local
[all …]
H A DHWAddressSanitizer.cpp569 IRBuilder<> IRB(*C); in initializeModule() local
633 IRBuilder<> IRB(*C); in initializeCallbacks() local
681 Value *HWAddressSanitizer::getOpaqueNoopCast(IRBuilder<> &IRB, Value *Val) { in getOpaqueNoopCast()
693 Value *HWAddressSanitizer::getDynamicShadowIfunc(IRBuilder<> &IRB) { in getDynamicShadowIfunc()
697 Value *HWAddressSanitizer::getShadowNonTls(IRBuilder<> &IRB) { in getShadowNonTls()
801 IRBuilder<> IRB(I); in untagPointerOperand() local
808 Value *HWAddressSanitizer::memToShadow(Value *Mem, IRBuilder<> &IRB) { in memToShadow()
832 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessOutline() local
847 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessInline() local
944 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
[all …]
H A DAddressSanitizer.cpp997 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local
1212 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
1230 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
1406 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local
1457 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
1463 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
1532 IRBuilder<> IRB(InsertBefore); in generateCrashCode() local
1555 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp()
1584 IRBuilder<> IRB(InsertBefore); in instrumentAMDGPUAddress() local
1608 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
[all …]
H A DMemProfiler.cpp242 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
253 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
387 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
393 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
431 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
491 IRBuilder<> IRB(*C); in initializeCallbacks() local
528 IRBuilder<> IRB(&F.front(), F.front().begin()); in maybeInsertMemProfInitAtFunctionEntry() local
536 IRBuilder<> IRB(&F.front().front()); in insertDynamicShadowAtFunctionEntry() local
H A DSanitizerCoverage.cpp334 IRBuilder<> IRB(M.getContext()); in CreateSecStartEnd() local
402 IRBuilder<> IRB(*C); in instrumentModule() local
750 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
812 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
829 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
867 IRBuilder<> IRB(BO); in InjectTraceForDiv() local
885 IRBuilder<> IRB(GEP); in InjectTraceForGep() local
907 IRBuilder<> IRB(LI); in InjectTraceForLoadsAndStores() local
916 IRBuilder<> IRB(SI); in InjectTraceForLoadsAndStores() local
930 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
[all …]
H A DBoundsChecking.cpp58 BuilderTy &IRB, ScalarEvolution &SE) { in getBoundsCheckCond()
113 static void insertBoundsCheck(Value *Or, BuilderTy &IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck()
157 BuilderTy IRB(I.getParent(), BasicBlock::iterator(&I), TargetFolder(DL)); in addBoundsChecking() local
184 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking()
209 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL)); in addBoundsChecking() local
/aosp_15_r20/external/llvm/lib/Transforms/Instrumentation/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/
H A DAArch64StackTagging.cpp134 IRBuilder<> IRB(SI); in addStore() local
143 IRBuilder<> IRB(MSI); in addMemSet() local
149 void applyMemSet(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyMemSet()
178 Value *sliceValue(IRBuilder<> &IRB, Value *V, int64_t Offset) { in sliceValue()
191 void applyStore(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyStore()
205 void generate(IRBuilder<> &IRB) { in generate()
244 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitZeroes()
254 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitUndef()
263 void emitPair(IRBuilder<> &IRB, uint64_t Offset, Value *A, Value *B) { in emitPair()
272 Value *flatten(IRBuilder<> &IRB, Value *V) { in flatten()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A 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 …]
/aosp_15_r20/external/llvm/lib/CodeGen/
H A 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
/aosp_15_r20/external/AFLplusplus/instrumentation/
H A Dcmplog-routines-pass.cc509 IRBuilder<> IRB(ThenTerm); local
540 IRBuilder<> IRB(ThenTerm); local
575 IRBuilder<> IRB(ThenTerm); local
606 IRBuilder<> IRB(ThenTerm); local
641 IRBuilder<> IRB(ThenTerm); local
671 IRBuilder<> IRB(ThenTerm); local
701 IRBuilder<> IRB(ThenTerm); local
731 IRBuilder<> IRB(ThenTerm); local
H A DSanitizerCoveragePCGUARD.so.cc271 IRBuilder<> IRB(M.getContext()); in CreateSecStartEnd() local
361 IRBuilder<> IRB(*C); in instrumentModule() local
686 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
821 IRBuilder<> IRB(callInst); in InjectCoverage() local
853 IRBuilder<> IRB(selectInst->getNextNode()); in InjectCoverage() local
1076 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
1127 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
1192 InstrumentationIRBuilder IRB(&*IP); in InjectCoverageAtBlock() local
1194 IRBuilder<> IRB(&*IP); in InjectCoverageAtBlock() local
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DSafeStack.cpp366 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
430 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
466 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard()
489 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
661 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
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A 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
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp469 IRBuilder<> IRB(M->getContext()); in getAddrIntType() local
484 IRBuilder<> IRB(M->getContext()); in getAddrSizeInt() local
518 IRBuilder<> IRB(C); in wrapInvoke() local
712 IRBuilder<> IRB(C); in wrapTestSetjmp() local
821 IRBuilder<> IRB(C); in replaceLongjmpWith() local
867 IRBuilder<> IRB(M.getContext()); in nullifySetjmp() local
893 IRBuilder<> IRB(C); in runOnModule() local
1076 IRBuilder<> IRB(C); in runEHOnFunction() local
1269 IRBuilder<> IRB(C); in runSjLjOnFunction() local
1467 IRBuilder<> IRB(C); in handleLongjmpableCallsForEmscriptenSjLj() local
[all …]

12345