Home
last modified time | relevance | path

Searched refs:CI (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp158 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local
159 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule()
160 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule()
164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() argument
166 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer()
172 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer()
180 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer()
192 if (CI.hasCodeCompletionConsumer()) in CreateWrappedASTConsumer()
207 if (llvm::is_contained(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer()
218 CI, in CreateWrappedASTConsumer()
[all …]
H A DFrontendActions.cpp42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer() argument
43 return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer() in GetCodeCompletionConsumer()
47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated() argument
49 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated()
50 CI.createCodeCompletionConsumer(); in EnsureSemaIsCreated()
52 if (!CI.hasSema()) in EnsureSemaIsCreated()
53 CI.createSema(Action.getTranslationUnitKind(), in EnsureSemaIsCreated()
54 GetCodeCompletionConsumer(CI)); in EnsureSemaIsCreated()
63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument
86 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp118 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() argument
119 return any_of(CI->operands(), [](const Use &OI) { in callHasFloatingPointArgument()
124 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() argument
125 return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument()
137 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt() argument
170 Type *RetTy = CI->getType(); in convertStrToInt()
227 Value *StrBeg = CI->getArgOperand(0); in convertStrToInt()
251 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() argument
253 if (!isOnlyUsedInComparisonWithZero(CI)) in canTransformToMemCmp()
259 if (CI->getFunction()->hasFnAttribute(Attribute::SanitizeMemory)) in canTransformToMemCmp()
[all …]
H A DLibCallsShrinkWrap.cpp57 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() argument
60 for (auto &CI : WorkList) { in perform() local
61 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform()
63 if (perform(CI)) { in perform()
72 bool perform(CallInst *CI);
73 void checkCandidate(CallInst &CI);
74 void shrinkWrapCI(CallInst *CI, Value *Cond);
75 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
76 bool performCallErrors(CallInst *CI, const LibFunc &Func);
77 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func);
[all …]
H A DInjectTLIMappings.cpp38 /// the CallInst \p CI with a vectorization factor of \p VF lanes. For each
41 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration() argument
43 Module *M = CI.getModule(); in addVariantDeclaration()
44 FunctionType *ScalarFTy = CI.getFunctionType(); in addVariantDeclaration()
58 VecFunc->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration()
73 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) { in addMappingsFromTLI()
79 if (CI.isNoBuiltin() || !CI.getCalledFunction()) in addMappingsFromTLI()
82 StringRef ScalarName = CI.getCalledFunction()->getName(); in addMappingsFromTLI()
89 VFABI::getVectorVariantNames(CI, Mapping in addMappingsFromTLI()
72 addMappingsFromTLI(const TargetLibraryInfo & TLI,CallInst & CI) addMappingsFromTLI() argument
128 if (auto CI = dyn_cast<CallInst>(&I)) runImpl() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
63 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B);
64 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
65 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilderBase &B);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument
35 Module *M = CI->getModule(); in ReplaceCallWith()
43 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in ReplaceCallWith()
46 NewCI->setName(CI->getName()); in ReplaceCallWith()
47 if (!CI->use_empty()) in ReplaceCallWith()
48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() argument
205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall()
208 ReplaceCallWith(Fname, CI, CI->arg_begin(), CI->arg_end(), in ReplaceFPIntrinsicWithCall()
209 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall()
[all …]
H A DGCRootLowering.cpp66 void VisitCallPoint(MachineBasicBlock::iterator CI);
154 if (CallInst *CI = dyn_cast<CallInst>(I)) in CouldBecomeSafePoint() local
155 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
210 IntrinsicInst *CI = dyn_cast<IntrinsicInst>(&I); in DoLowering() local
211 if (!CI) in DoLowering()
214 Function *F = CI->getCalledFunction(); in DoLowering()
219 Value *St = new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), in DoLowering()
220 CI->getIterator()); in DoLowering()
221 CI->replaceAllUsesWith(St); in DoLowering()
222 CI->eraseFromParent(); in DoLowering()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp125 bool hasSameBaseAddress(const CombineInfo &CI) { in hasSameBaseAddress()
126 if (NumAddresses != CI.NumAddresses) in hasSameBaseAddress()
129 const MachineInstr &MI = *CI.I; in hasSameBaseAddress()
212 static bool dmasksCanBeCombined(const CombineInfo &CI,
215 static bool offsetsCanBeCombined(CombineInfo &CI, const GCNSubtarget &STI,
217 static bool widthsFit(const GCNSubtarget &STI, const CombineInfo &CI,
219 unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired);
220 static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI,
223 getTargetRegisterClass(const CombineInfo &CI,
227 CombineInfo *checkAndPrepareMerge(CombineInfo &CI, CombineInfo &Paired);
[all …]
H A DSIInsertHardClauses.cpp177 bool emitClause(const ClauseInfo &CI, const SIInstrInfo *SII) { in emitClause() argument
178 if (CI.First == CI.Last) in emitClause()
180 assert(CI.Length <= ST->maxHardClauseLength() && in emitClause()
183 auto &MBB = *CI.First->getParent(); in emitClause()
185 BuildMI(MBB, *CI.First, DebugLoc(), SII->get(AMDGPU::S_CLAUSE)) in emitClause()
186 .addImm(CI.Length - 1); in emitClause()
188 std::next(CI.Last->getIterator())); in emitClause()
205 ClauseInfo CI; in runOnMachineFunction() local
222 if (CI.Length == ST->maxHardClauseLength() || in runOnMachineFunction()
223 (CI.Length && Type != HARDCLAUSE_INTERNAL && in runOnMachineFunction()
[all …]
H A DAMDGPULibCalls.cpp73 bool TDOFold(CallInst *CI, const FuncInfo &FInfo);
102 bool fold_read_write_pipe(CallInst *CI, IRBuilder<> &B,
110 bool shouldReplaceLibcallWithIntrinsic(const CallInst *CI,
114 void replaceLibCallWithSimpleIntrinsic(IRBuilder<> &B, CallInst *CI,
117 bool tryReplaceLibcallWithSimpleIntrinsic(IRBuilder<> &B, CallInst *CI,
141 bool fold(CallInst *CI);
147 bool useNative(CallInst *CI);
524 bool AMDGPULibCalls::fold_read_write_pipe(CallInst *CI, IRBuilder<> &B, in fold_read_write_pipe() argument
526 auto *Callee = CI->getCalledFunction(); in fold_read_write_pipe()
533 auto NumArg = CI->arg_size(); in fold_read_write_pipe()
[all …]
H A DAMDGPUPrintfRuntimeBinding.cpp136 static void diagnoseInvalidFormatString(const CallBase *CI) { in diagnoseInvalidFormatString() argument
138 *CI->getParent()->getParent(), in diagnoseInvalidFormatString()
141 CI->getDebugLoc()); in diagnoseInvalidFormatString()
142 CI->getContext().diagnose(UnsupportedFormatStr); in diagnoseInvalidFormatString()
157 for (auto *CI : Printfs) { in lowerPrintfForGpu() local
158 unsigned NumOps = CI->arg_size(); in lowerPrintfForGpu()
161 Value *Op = CI->getArgOperand(0); in lowerPrintfForGpu()
167 diagnoseInvalidFormatString(CI); in lowerPrintfForGpu()
179 Sizes << CI->arg_size() - 1; in lowerPrintfForGpu()
182 ArgCount < CI->arg_size() && ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAutoUpgrade.cpp1653 static Value *upgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86VPERMT2Intrinsics() argument
1655 Type *Ty = CI.getType(); in upgradeX86VPERMT2Intrinsics()
1699 Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics()
1700 CI.getArgOperand(2) }; in upgradeX86VPERMT2Intrinsics()
1706 Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in upgradeX86VPERMT2Intrinsics()
1709 : Builder.CreateBitCast(CI.getArgOperand(1), in upgradeX86VPERMT2Intrinsics()
1711 return emitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in upgradeX86VPERMT2Intrinsics()
1714 static Value *upgradeX86BinaryIntrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86BinaryIntrinsics() argument
1716 Type *Ty = CI.getType(); in upgradeX86BinaryIntrinsics()
1717 Value *Op0 = CI.getOperand(0); in upgradeX86BinaryIntrinsics()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument
63 assert(CI.hasFileManager() && in getRelativeIncludeName()
67 const auto &FS = CI.getVirtualFileSystem(); in getRelativeIncludeName()
125 for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries) { in getRelativeIncludeName()
130 if (auto EntryFile = CI.getFileManager().getOptionalFileRef(Entry.Path)) { in getRelativeIncludeName()
131 if (auto HMap = HeaderMap::Create(*EntryFile, CI.getFileManager())) { in getRelativeIncludeName()
172 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() argument
175 return getRelativeIncludeName(CI, FE.getNameAsRequested(), IsQuoted); in getRelativeIncludeName()
182 auto &SM = CI.getSourceManager(); in operator ()()
200 if (auto IncludeName = getRelativeIncludeName(CI, *File, &IsQuoted)) in operator ()()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp72 static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT,
143 static void scalarizeMaskedLoad(const DataLayout &DL, CallInst *CI, in scalarizeMaskedLoad() argument
145 Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad()
146 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad()
147 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad()
148 Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad()
151 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad()
155 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad()
156 Instruction *InsertPt = CI; in scalarizeMaskedLoad()
157 BasicBlock *IfBlock = CI->getParent(); in scalarizeMaskedLoad()
[all …]
H A DTailRecursionElimination.cpp238 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local
242 if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I) || in markTails()
248 bool IsNoTail = CI->isNoTailCall() || in markTails()
249 CI->hasOperandBundlesOtherThan( in markTails()
253 if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails()
262 for (auto &Arg : CI->args()) { in markTails()
274 return OptimizationRemark(DEBUG_TYPE, "tailcall-readnone", CI) in markTails()
277 CI->setTailCall(); in markTails()
283 if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) in markTails()
284 DeferredTails.push_back(CI); in markTails()
[all …]
H A DLowerExpectIntrinsic.cpp56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight() argument
63 assert(CI->getNumOperands() >= 3 && in getBranchWeight()
65 auto *Confidence = cast<ConstantFP>(CI->getArgOperand(2)); in getBranchWeight()
77 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local
78 if (!CI) in handleSwitchExpect()
81 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
86 Value *ArgValue = CI->getArgOperand(0); in handleSwitchExpect()
87 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect()
95 getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect()
216 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp54 bool isCandidateSafeToLower(const CallInst &CI) const;
55 bool isFiniteCallSafe(const CallInst &CI) const;
56 bool createScalarMASSCall(StringRef MASSEntry, CallInst &CI,
64 bool PPCGenScalarMASSEntries::isCandidateSafeToLower(const CallInst &CI) const { in isCandidateSafeToLower()
66 if (!isa<FPMathOperator>(CI)) in isCandidateSafeToLower()
69 return CI.hasApproxFunc(); in isCandidateSafeToLower()
74 bool PPCGenScalarMASSEntries::isFiniteCallSafe(const CallInst &CI) const { in isFiniteCallSafe()
76 if (!isa<FPMathOperator>(CI)) in isFiniteCallSafe()
81 return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros(); in isFiniteCallSafe()
88 CallInst &CI, in createScalarMASSCall() argument
[all …]
H A DPPCLowerMASSVEntries.cpp57 bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M);
58 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
107 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, in handlePowSpecialCases() argument
112 if (Constant *Exp = dyn_cast<Constant>(CI->getArgOperand(1))) in handlePowSpecialCases()
116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
122 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
125 CI->setCalledFunction( in handlePowSpecialCases()
126 Intrinsic::getDeclaration(&M, Intrinsic::pow, CI->getType())); in handlePowSpecialCases()
136 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall() argument
139 if (CI->use_empty()) in lowerMASSVCall()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp27 if (const auto *CI = std::get_if<CowCompilerInvocation>(&BuildInfo)) in getBuildArguments() local
28 BuildInfo = CI->getCC1CommandLine(); in getBuildArguments()
132 void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI, in addOutputPaths() argument
134 CI.getMutFrontendOpts().OutputFile = in addOutputPaths()
136 if (!CI.getDiagnosticOpts().DiagnosticSerializationFile.empty()) in addOutputPaths()
137 CI.getMutDiagnosticOpts().DiagnosticSerializationFile = in addOutputPaths()
140 if (!CI.getDependencyOutputOpts().OutputFile.empty()) { in addOutputPaths()
141 CI.getMutDependencyOutputOpts().OutputFile = Controller.lookupModuleOutput( in addOutputPaths()
143 CI.getMutDependencyOutputOpts().Targets = in addOutputPaths()
147 if (!CI.getDependencyOutputOpts().OutputFile.empty() && in addOutputPaths()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendActions.h26 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
47 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument
64 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
70 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
76 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
82 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
88 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
104 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
110 CreateOutputFile(CompilerInstance &CI, StringRef InFile,
[all …]
H A DFrontendAction.h44 std::unique_ptr<ASTConsumer> CreateWrappedASTConsumer(CompilerInstance &CI,
55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction() argument
70 virtual std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation() argument
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() argument
207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute() argument
208 return PrepareToExecuteAction(CI); in PrepareToExecute()
230 bool BeginSourceFile(CompilerInstance &CI, const FrontendInputFile &Input);
260 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
269 virtual bool ParseArgs(const CompilerInstance &CI,
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMTActions.cpp16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument
17 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(), in BeginInvocation()
18 CI.getPCHContainerOperations(), in BeginInvocation()
19 CI.getDiagnostics().getClient())) in BeginInvocation()
23 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation()
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument
31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(), in BeginInvocation()
32 CI.getPCHContainerOperations(), in BeginInvocation()
33 CI.getDiagnostics().getClient()); in BeginInvocation()
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp27 const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset() argument
36 if (!DT.dominates(CI, User)) in findCallsAtConstantOffset()
39 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI, in findCallsAtConstantOffset()
41 } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local
42 DevirtCalls.push_back({Offset, *CI}); in findCallsAtConstantOffset()
54 int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset() argument
58 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
60 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
68 CI, DT); in findLoadCallsAtConstantOffset()
74 Offset + LoadOffset->getSExtValue(), CI, in findLoadCallsAtConstantOffset()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h39 static inline void EraseInstruction(Instruction *CI) { in EraseInstruction() argument
40 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction()
42 bool Unused = CI->use_empty(); in EraseInstruction()
46 assert((IsForwarding(GetBasicARCInstKind(CI)) || in EraseInstruction()
47 (IsNoopOnNull(GetBasicARCInstKind(CI)) && in EraseInstruction()
50 CI->replaceAllUsesWith(OldArg); in EraseInstruction()
53 CI->eraseFromParent(); in EraseInstruction()
126 if (auto *CI = dyn_cast<CallInst>(I)) in contains() local
127 return RVCalls.count(CI); in contains()
132 void eraseInst(CallInst *CI) { in eraseInst() argument
[all …]

12345678910>>...22