Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp246 IRBuilder<> IRB(*C); in doInitialization() local
263 IRBuilder<> IRB(*C); in initializeCallbacks() local
298 IRBuilder<> IRB(&F.front().front()); in maybeInsertDynamicShadowAtFunctionEntry() local
395 IRBuilder<> IRB(I); in untagPointerOperand() local
402 Value *HWAddressSanitizer::memToShadow(Value *Mem, Type *Ty, IRBuilder<> &IRB) { in memToShadow()
419 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessInline() local
482 IRBuilder<> IRB(I); in instrumentMemAccess() local
516 bool HWAddressSanitizer::tagAlloca(IRBuilder<> &IRB, AllocaInst *AI, in tagAlloca()
554 Value *HWAddressSanitizer::getNextTagWithCall(IRBuilder<> &IRB) { in getNextTagWithCall()
558 Value *HWAddressSanitizer::getStackBaseTag(IRBuilder<> &IRB) { in getStackBaseTag()
[all …]
DMemorySanitizer.cpp531 IRBuilder<> IRB(*C); in createUserspaceApi() local
599 IRBuilder<> IRB(*C); in initializeCallbacks() local
691 IRBuilder<> IRB(*C); in doInitialization() local
907 IRBuilder<> IRB(SI); in materializeStores() local
947 IRBuilder<> IRB(OrigIns); in materializeOneCheck() local
1456 IRBuilder<> IRB(I.getNextNode()); in visitLoadInst() local
1498 IRBuilder<> IRB(&I); in handleCASOrRMW() local
1532 IRBuilder<> IRB(&I); in visitExtractElementInst() local
1540 IRBuilder<> IRB(&I); in visitInsertElementInst() local
1548 IRBuilder<> IRB(&I); in visitShuffleVectorInst() local
[all …]
DBoundsChecking.cpp60 BuilderTy &IRB, ScalarEvolution &SE) { in getBoundsCheckCond()
115 static void insertBoundsCheck(Value *Or, BuilderTy IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck()
154 BuilderTy IRB(I.getParent(), BasicBlock::iterator(&I), TargetFolder(DL)); in addBoundsChecking() local
176 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking()
201 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL)); in addBoundsChecking() local
DDataFlowSanitizer.cpp964 IRBuilder<> IRB(Pos); in runOnModule() local
983 IRBuilder<> IRB(&F->getEntryBlock().front()); in getArgTLSPtr() local
993 IRBuilder<> IRB(&F->getEntryBlock().front()); in getRetvalTLS() local
998 IRBuilder<> IRB(Pos); in getArgTLS() local
1016 IRBuilder<> IRB(ArgTLSPos); in getShadow() local
1046 IRBuilder<> IRB(Pos); in getShadowAddress() local
1095 IRBuilder<> IRB(Pos); in combineShadows() local
1166 IRBuilder<> IRB(Pos); in loadShadow() local
1197 IRBuilder<> IRB(Pos); in loadShadow() local
1217 IRBuilder<> IRB(Pos); in loadShadow() local
[all …]
DAddressSanitizer.cpp921 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local
1148 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow()
1166 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
1329 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local
1380 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local
1386 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local
1460 IRBuilder<> IRB(InsertBefore); in generateCrashCode() local
1486 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp()
1511 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local
1588 IRBuilder<> IRB(InsertBefore); in instrumentUnusualSizeOrAlignment() local
[all …]
DSanitizerCoverage.cpp271 IRBuilder<> IRB(M.getContext()); in CreateInitCallsForSections() local
303 IRBuilder<> IRB(*C); in runOnModule() local
566 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local
633 IRBuilder<> IRB(I); in InjectCoverageForIndirectCalls() local
650 IRBuilder<> IRB(I); in InjectTraceForSwitch() local
688 IRBuilder<> IRB(BO); in InjectTraceForDiv() local
706 IRBuilder<> IRB(GEP); in InjectTraceForGep() local
718 IRBuilder<> IRB(ICMP); in InjectTraceForCmp() local
766 IRBuilder<> IRB(&*IP); in InjectCoverageAtBlock() local
DThreadSanitizer.cpp157 IRBuilder<> IRB(M.getContext()); in initializeCallbacks() local
397 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in InsertRuntimeIgnores() local
472 IRBuilder<> IRB(F.getEntryBlock().getFirstNonPHI()); in runOnFunction() local
489 IRBuilder<> IRB(I); in instrumentLoadOrStore() local
544 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering()
570 IRBuilder<> IRB(I); in instrumentMemIntrinsic() local
598 IRBuilder<> IRB(I); in instrumentAtomic() local
DEfficiencySanitizer.cpp260 IRBuilder<> IRB(M.getContext()); in initializeCallbacks() local
547 IRBuilder<> IRB(M.getContext()); in initOnModule() local
574 Value *EfficiencySanitizer::appToShadow(Value *Shadow, IRBuilder<> &IRB) { in appToShadow()
663 IRBuilder<> IRB(I); in instrumentLoadOrStore() local
724 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local
804 IRBuilder<> IRB(I); in insertCounterUpdate() local
863 IRBuilder<> IRB(I); in instrumentFastpathWorkingSet() local
/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/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-7.0/llvm/lib/CodeGen/
DSafeStack.cpp367 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard()
425 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints()
460 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, ReturnInst &RI, in checkStackGuard()
484 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack()
649 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local
697 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
703 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local
777 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in run() local
DWasmEHPrepare.cpp172 IRBuilder<> IRB(M.getContext()); in doInitialization() local
198 IRBuilder<> IRB(F.getContext()); in runOnFunction() local
262 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp336 static GlobalVariable *createGlobalVariableI32(Module &M, IRBuilder<> &IRB, in createGlobalVariableI32()
406 IRBuilder<> IRB(C); in wrapInvoke() local
538 IRBuilder<> IRB(C); in wrapTestSetjmp() local
602 IRBuilder<> IRB(C); in createSetThrewFunction() local
639 IRBuilder<> IRB(C); in createSetTempRet0Function() local
683 IRBuilder<> IRB(C); in runOnModule() local
795 IRBuilder<> IRB(C); in runEHOnFunction() local
929 IRBuilder<> IRB(C); in runSjLjOnFunction() 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-7.0/llvm/unittests/IR/
DCFGBuilder.cpp47 IRBuilder<> IRB(From); in ConnectBlocks() local
67 IRBuilder<> IRB(From); in DisconnectBlocks() local
92 IRBuilder<> IRB(BB); in getOrAddBlock() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp25 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
165 IRBuilder<> IRB(ReturnInst::Create(M.getContext(), CtorBB)); in createSanitizerCtorAndInitFunctions() 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-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1333 IRBuilderTy IRB(&SI); in speculateSelectInstLoads() local
1373 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP()
1396 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithType()
1440 static Value *getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPRecursively()
1514 static Value *getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithOffset()
1554 static Value *getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, in getAdjustedPtr()
1726 static Value *convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in convertValue()
2090 static Value *extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in extractInteger()
2113 static Value *insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, in insertInteger()
2144 static Value *extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, in extractVector()
[all …]
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp127 IRBuilder<> IRB(BB); in buildCFICheck() local

123