Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
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 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 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
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 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 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 DThreadSanitizer.cpp203 IRBuilder<> IRB(Ctx); in initialize() local
486 InstrumentationIRBuilder IRB(F.getEntryBlock().getFirstNonPHI()); in InsertRuntimeIgnores() local
573 InstrumentationIRBuilder IRB(F.getEntryBlock().getFirstNonPHI()); in sanitizeFunction() local
591 InstrumentationIRBuilder IRB(II.Inst); in instrumentLoadOrStore() local
666 static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) { in createOrdering()
692 IRBuilder<> IRB(I); in instrumentMemIntrinsic() local
720 InstrumentationIRBuilder IRB(I); in instrumentAtomic() local
H A DInstrProfiling.cpp1177 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", RegisterF)); in emitRegistration() local
1231 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", User)); in emitRuntimeHook() local
1285 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", F)); in emitInitialization() local
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DWasmEHPrepare.cpp137 IRBuilder<> IRB(M.getContext()); in doInitialization() local
168 IRBuilder<> IRB(F.getContext()); in prepareThrows() local
196 IRBuilder<> IRB(F.getContext()); in prepareEHPads() local
274 IRBuilder<> IRB(BB->getContext()); in prepareEHPad() local
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
H A DSanitizerBinaryMetadata.cpp73 IRBuilder<> IRB(F.getContext()); in runOnMachineFunction() local
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp184 IRBuilder<> IRB(EntryBB); in lowerIntrinsicToFunction() local
194 IRBuilder<> IRB(EntryBB); in lowerIntrinsicToFunction() local
224 IRBuilder<> IRB(RotateBB); in lowerFunnelShifts() local
274 IRBuilder<> IRB(EntryBB); in buildUMulWithOverflowFunc() local
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1367 static void speculatePHINodeLoads(IRBuilderTy &IRB, PHINode &PN) { in speculatePHINodeLoads()
1512 IRBuilderTy &IRB) { in speculateSelectInstLoads()
1629 IRBuilderTy &IRB, DomTreeUpdater *DTU) { in rewriteSelectInstMemOps()
1663 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP()
1689 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithType()
1739 static Value *getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithOffset()
1779 static Value *getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, in getAdjustedPtr()
1966 static Value *convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in convertValue()
2382 static Value *extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, in extractInteger()
2407 static Value *insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, in insertInteger()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp98 static Value *createByteGEP(IRBuilderBase &IRB, const DataLayout &DL, in createByteGEP()
227 IRBuilder<NoFolder> IRB(&CB); in doPromotion() local
338 IRBuilder<NoFolder> IRB(&NF->begin()->front()); in doPromotion() local
H A DCrossDSOCFI.cpp136 IRBuilder<> IRB(BB); in buildCFICheck() local
H A DDeadArgumentElimination.cpp973 IRBuilder<NoFolder> IRB(InsertPt); in removeDeadStuffFromFunction() local
1025 IRBuilder<NoFolder> IRB(RI); in removeDeadStuffFromFunction() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCtorDtorLowering.cpp60 IRBuilder<> IRB(InitOrFiniKernel->getEntryBlock().getTerminator()); in createInitOrFiniKernel() local
H A DAMDGPULateCodeGenPrepare.cpp156 IRBuilder<> IRB(&LI); in visitLoadInst() local
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp211 IRBuilder<> IRB(In); in INITIALIZE_PASS_DEPENDENCY() local
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp203 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr() local
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp28 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
210 IRBuilder<> IRB(M.getContext()); in createSanitizerCtorAndInitFunctions() local
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp371 IRBuilder<> IRB(I); in runOnFunction() local

12