Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp950 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 DMemorySanitizer.cpp779 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 DHWAddressSanitizer.cpp611 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 DBoundsChecking.cpp59 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 DAddressSanitizer.cpp702 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 DSanitizerCoverage.cpp331 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 DThreadSanitizer.cpp202 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 DMemProfiler.cpp301 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 DAArch64StackTagging.cpp153 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 DWasmEHPrepare.cpp164 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 DSafeStack.cpp365 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 DSanitizerBinaryMetadata.cpp77 IRBuilder<> IRB(F.getContext()); in runOnMachineFunction() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMemoryTaggingSupport.cpp249 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 DModuleUtils.cpp31 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 DWebAssemblyLowerEmscriptenEHSjLj.cpp464 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 DWebAssemblyRefTypeMem2Local.cpp62 IRBuilder<> IRB(AI.getContext()); in visitAllocaInst() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp134 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 DSIAnnotateControlFlow.cpp209 IRBuilder<> IRB(Term); in openIf() local
224 IRBuilder<> IRB(Term); in insertElse() local
339 IRBuilder<> IRB(FirstInsertionPt->getParent(), FirstInsertionPt); in closeControlFlow() local
H A DAMDGPUCtorDtorLowering.cpp67 IRBuilder<> IRB(BasicBlock::Create(C, "entry", &F)); createInitOrFiniCalls() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp100 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 DCrossDSOCFI.cpp122 IRBuilder<> IRB(BB); in buildCFICheck() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1603 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 DHexagonGenExtract.cpp211 IRBuilder<> IRB(In); in INITIALIZE_PASS_DEPENDENCY() local
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGGPUBuiltin.cpp207 llvm::IRBuilder<> IRB(Builder.GetInsertBlock(), Builder.GetInsertPoint()); in EmitAMDGPUDevicePrintfCallExpr() local
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp371 IRBuilder<> IRB(I); in runOnFunction() local

123