/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 950 Value *PrimitiveShadow, IRBuilder<> &IRB) { in expandFromPrimitiveShadowRecursive() 991 IRBuilder<> IRB(Pos->getParent(), Pos); in expandFromPrimitiveShadow() local 1004 IRBuilder<> &IRB) { in collapseAggregateShadow() 1020 IRBuilder<> &IRB) { in collapseToPrimitiveShadow() 1042 IRBuilder<> IRB(Pos->getParent(), Pos); in collapseToPrimitiveShadow() local 1054 IRBuilder<> IRB(&I); in addConditionalCallbacksIfEnabled() local 1067 void DFSanFunction::addReachesFunctionCallbacksIfEnabled(IRBuilder<> &IRB, in addReachesFunctionCallbacksIfEnabled() 1284 void DataFlowSanitizer::buildExternWeakCheckIfNeeded(IRBuilder<> &IRB, in buildExternWeakCheckIfNeeded() 1720 IRBuilder<> IRB(Next); in runImpl() local 1775 IRBuilder<> IRB(Pos->getParent(), Pos); in runImpl() local [all …]
|
H A D | MemorySanitizer.cpp | 779 IRBuilder<> IRB(*C); in createKernelApi() local 844 IRBuilder<> IRB(*C); in createUserspaceApi() local 918 IRBuilder<> IRB(*C); in initializeCallbacks() local 1045 IRBuilder<> IRB(*C); in initializeModule() local 1187 IRBuilder<> IRB(FnPrologueEnd); in MemorySanitizerVisitor() local 1326 IRBuilder<> IRB(SI); in materializeStores() local 1434 IRBuilder<> IRB(Instruction); in materializeInstructionChecks() local 1471 IRBuilder<> IRB(Instruction); in materializeInstructionChecks() local 2224 NextNodeIRBuilder IRB(&I); in visitLoadInst() local 2268 IRBuilder<> IRB(&I); in handleCASOrRMW() local [all …]
|
H A D | HWAddressSanitizer.cpp | 611 IRBuilder<> IRB(*C); in initializeModule() local 671 IRBuilder<> IRB(*C); in initializeCallbacks() local 741 Value *HWAddressSanitizer::getOpaqueNoopCast(IRBuilder<> &IRB, Value *Val) { in getOpaqueNoopCast() 753 Value *HWAddressSanitizer::getDynamicShadowIfunc(IRBuilder<> &IRB) { in getDynamicShadowIfunc() 757 Value *HWAddressSanitizer::getShadowNonTls(IRBuilder<> &IRB) { in getShadowNonTls() 886 IRBuilder<> IRB(I); in untagPointerOperand() local 893 Value *HWAddressSanitizer::memToShadow(Value *Mem, IRBuilder<> &IRB) { in memToShadow() 917 IRBuilder<> IRB(InsertBefore); in insertShadowTagCheck() local 952 IRBuilder<> IRB(InsertBefore); in instrumentMemAccessOutline() local 993 IRBuilder<> IRB(TCI.TagMismatchTerm); in instrumentMemAccessInline() local [all …]
|
H A D | BoundsChecking.cpp | 59 BuilderTy &IRB, ScalarEvolution &SE) { in getBoundsCheckCond() 114 static void insertBoundsCheck(Value *Or, BuilderTy &IRB, GetTrapBBT GetTrapBB) { in insertBoundsCheck() 158 BuilderTy IRB(I.getParent(), BasicBlock::iterator(&I), TargetFolder(DL)); in addBoundsChecking() local 185 auto GetTrapBB = [&TrapBB](BuilderTy &IRB) { in addBoundsChecking() 218 BuilderTy IRB(Inst->getParent(), BasicBlock::iterator(Inst), TargetFolder(DL)); in addBoundsChecking() local
|
H A D | AddressSanitizer.cpp | 702 CallInst *createRuntimeCall(IRBuilder<> &IRB, FunctionCallee Callee, in createRuntimeCall() 1095 IRBuilder<> IRB(InstBefore); in unpoisonDynamicAllocasBeforeInst() local 1314 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() 1333 InstrumentationIRBuilder IRB(MI); in instrumentMemIntrinsic() local 1581 IRBuilder<> IRB(I); in instrumentPointerComparisonOrSubtraction() local 1652 [&](IRBuilderBase &IRB, Value *Index) { in instrumentMaskedLoadOrStore() 1747 InstrumentationIRBuilder IRB(InsertBefore); in generateCrashCode() local 1770 Value *AddressSanitizer::createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong, in createSlowPathCmp() 1799 IRBuilder<> IRB(InsertBefore); in instrumentAMDGPUAddress() local 1810 Instruction *AddressSanitizer::genAMDGPUReportBlock(IRBuilder<> &IRB, in genAMDGPUReportBlock() [all …]
|
H A D | SanitizerCoverage.cpp | 331 IRBuilder<> IRB(M.getContext()); in CreateSecStartEnd() local 395 IRBuilder<> IRB(*C); in instrumentModule() local 739 IRBuilder<> IRB(&*F.getEntryBlock().getFirstInsertionPt()); in CreatePCArray() local 801 InstrumentationIRBuilder IRB(I); in InjectCoverageForIndirectCalls() local 818 InstrumentationIRBuilder IRB(I); in InjectTraceForSwitch() local 854 InstrumentationIRBuilder IRB(BO); in InjectTraceForDiv() local 872 InstrumentationIRBuilder IRB(GEP); in InjectTraceForGep() local 892 InstrumentationIRBuilder IRB(LI); in InjectTraceForLoadsAndStores() local 900 InstrumentationIRBuilder IRB(SI); in InjectTraceForLoadsAndStores() local 913 InstrumentationIRBuilder IRB(ICMP); in InjectTraceForCmp() local [all …]
|
H A D | ThreadSanitizer.cpp | 202 IRBuilder<> IRB(Ctx); in initialize() local 480 InstrumentationIRBuilder IRB(F.getEntryBlock().getFirstNonPHI()); in InsertRuntimeIgnores() local 570 InstrumentationIRBuilder IRB(F.getEntryBlock().getFirstNonPHI()); in sanitizeFunction() local 588 InstrumentationIRBuilder IRB(II.Inst); in instrumentLoadOrStore() local 660 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering() 686 InstrumentationIRBuilder IRB(I); in instrumentMemIntrinsic() local 716 InstrumentationIRBuilder IRB(I); in instrumentAtomic() local
|
H A D | MemProfiler.cpp | 301 Value *MemProfiler::memToShadow(Value *Shadow, IRBuilder<> &IRB) { in memToShadow() 312 IRBuilder<> IRB(MI); in instrumentMemIntrinsic() local 441 IRBuilder<> IRB(I); in instrumentMaskedLoadOrStore() local 447 IRBuilder<> IRB(InsertBefore); in instrumentMaskedLoadOrStore() local 484 IRBuilder<> IRB(InsertBefore); in instrumentAddress() local 563 IRBuilder<> IRB(*C); in initializeCallbacks() local 594 IRBuilder<> IRB(&F.front(), F.front().begin()); in maybeInsertMemProfInitAtFunctionEntry() local 602 IRBuilder<> IRB(&F.front().front()); in insertDynamicShadowAtFunctionEntry() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 153 IRBuilder<> IRB(SI); in addStore() local 162 IRBuilder<> IRB(MSI); in addMemSet() local 168 void applyMemSet(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyMemSet() 197 Value *sliceValue(IRBuilder<> &IRB, Value *V, int64_t Offset) { in sliceValue() 210 void applyStore(IRBuilder<> &IRB, int64_t Start, int64_t End, in applyStore() 224 void generate(IRBuilder<> &IRB) { in generate() 263 void emitZeroes(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitZeroes() 273 void emitUndef(IRBuilder<> &IRB, uint64_t Offset, uint64_t Size) { in emitUndef() 282 void emitPair(IRBuilder<> &IRB, uint64_t Offset, Value *A, Value *B) { in emitPair() 291 Value *flatten(IRBuilder<> &IRB, Value *V) { in flatten() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | WasmEHPrepare.cpp | 164 IRBuilder<> IRB(M.getContext()); in doInitialization() local 195 IRBuilder<> IRB(F.getContext()); in prepareThrows() local 223 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local 306 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
|
H A D | SafeStack.cpp | 365 Value *SafeStack::getStackGuard(IRBuilder<> &IRB, Function &F) { in getStackGuard() 429 SafeStack::createStackRestorePoints(IRBuilder<> &IRB, Function &F, in createStackRestorePoints() 465 void SafeStack::checkStackGuard(IRBuilder<> &IRB, Function &F, Instruction &RI, in checkStackGuard() 488 IRBuilder<> &IRB, Function &F, ArrayRef<AllocaInst *> StaticAllocas, in moveStaticAllocasToUnsafeStack() 660 IRBuilder<> IRB(AI); in moveDynamicAllocasToUnsafeStack() local 706 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local 712 IRBuilder<> IRB(II); in moveDynamicAllocasToUnsafeStack() local 787 IRBuilder<> IRB(&F.front(), F.begin()->getFirstInsertionPt()); in run() local
|
H A D | SanitizerBinaryMetadata.cpp | 77 IRBuilder<> IRB(F.getContext()); in runOnMachineFunction() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | MemoryTaggingSupport.cpp | 249 Value *readRegister(IRBuilder<> &IRB, StringRef Name) { in readRegister() 259 Value *getPC(const Triple &TargetTriple, IRBuilder<> &IRB) { in getPC() 267 Value *getFP(IRBuilder<> &IRB) { in getFP() 279 Value *getAndroidSlotPtr(IRBuilder<> &IRB, int Slot) { in getAndroidSlotPtr()
|
H A D | ModuleUtils.cpp | 31 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local 217 IRBuilder<> IRB(M.getContext()); in createSanitizerCtorAndInitFunctions() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 464 IRBuilder<> IRB(M->getContext()); in getAddrIntType() local 479 IRBuilder<> IRB(M->getContext()); in getAddrSizeInt() local 513 IRBuilder<> IRB(C); in wrapInvoke() local 708 IRBuilder<> IRB(C); in wrapTestSetjmp() local 815 IRBuilder<> IRB(C); in replaceLongjmpWith() local 860 IRBuilder<> IRB(M.getContext()); in nullifySetjmp() local 886 IRBuilder<> IRB(C); in runOnModule() local 1069 IRBuilder<> IRB(C); in runEHOnFunction() local 1262 IRBuilder<> IRB(C); in runSjLjOnFunction() local 1362 IRBuilder<> IRB(C); in handleLongjmpableCallsForEmscriptenSjLj() local [all …]
|
H A D | WebAssemblyRefTypeMem2Local.cpp | 62 IRBuilder<> IRB(AI.getContext()); in visitAllocaInst() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 134 IRBuilder<> IRB(EntryBB); in lowerIntrinsicToFunction() local 144 IRBuilder<> IRB(EntryBB); in lowerIntrinsicToFunction() local 276 IRBuilder<> IRB(II->getParent()); in lowerPtrAnnotation() local 301 IRBuilder<> IRB(RotateBB); in lowerFunnelShifts() local 352 IRBuilder<> IRB(EntryBB); in buildUMulWithOverflowFunc() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 209 IRBuilder<> IRB(Term); in openIf() local 224 IRBuilder<> IRB(Term); in insertElse() local 339 IRBuilder<> IRB(FirstInsertionPt->getParent(), FirstInsertionPt); in closeControlFlow() local
|
H A D | AMDGPUCtorDtorLowering.cpp | 67 IRBuilder<> IRB(BasicBlock::Create(C, "entry", &F)); createInitOrFiniCalls() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 100 static Value *createByteGEP(IRBuilderBase &IRB, const DataLayout &DL, in createByteGEP() 214 IRBuilder<NoFolder> IRB(&CB); in doPromotion() local 338 IRBuilder<NoFolder> IRB(&NF->begin()->front()); in doPromotion() local
|
H A D | CrossDSOCFI.cpp | 122 IRBuilder<> IRB(BB); in buildCFICheck() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 1603 static void speculatePHINodeLoads(IRBuilderTy &IRB, PHINode &PN) { in speculatePHINodeLoads() 1747 IRBuilderTy &IRB) { in speculateSelectInstLoads() 1853 IRBuilderTy &IRB, DomTreeUpdater *DTU) { in rewriteSelectInstMemOps() 1885 static Value *getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, in getAdjustedPtr() 1968 static Value *convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in convertValue() 2470 static Value *extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in extractInteger() 2495 static Value *insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, in insertInteger() 2528 static Value *extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, in extractVector() 2550 static Value *insertVector(IRBuilderTy &IRB, Value *Old, Value *V, in insertVector() 2660 IRBuilderTy IRB; member in __anondf5662880d11::AllocaSliceRewriter [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenExtract.cpp | 211 IRBuilder<> IRB(In); in INITIALIZE_PASS_DEPENDENCY() local
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGGPUBuiltin.cpp | 207 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTDC.cpp | 371 IRBuilder<> IRB(I); in runOnFunction() local
|