Home
last modified time | relevance | path

Searched defs:CI (Results 1 – 25 of 407) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp57 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst()
60 for (auto &CI : WorkList) { in perform() local
130 bool LibCallsShrinkWrap::performCallDomainErrorOnly(CallInst *CI, in performCallDomainErrorOnly()
182 bool LibCallsShrinkWrap::performCallRangeErrorOnly(CallInst *CI, in performCallRangeErrorOnly()
220 bool LibCallsShrinkWrap::performCallErrors(CallInst *CI, in performCallErrors()
284 void LibCallsShrinkWrap::checkCandidate(CallInst &CI) { in checkCandidate()
313 Value *LibCallsShrinkWrap::generateOneRangeCond(CallInst *CI, in generateOneRangeCond()
335 Value *LibCallsShrinkWrap::generateTwoRangeCond(CallInst *CI, in generateTwoRangeCond()
414 Value *LibCallsShrinkWrap::generateCondForPow(CallInst *CI, in generateCondForPow()
467 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI()
[all …]
H A DSimplifyLibCalls.cpp109 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument()
115 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument()
256 static void annotateDereferenceableBytes(CallInst *CI, in annotateDereferenceableBytes()
281 static void annotateNonNullNoUndefBasedOnAccess(CallInst *CI, in annotateNonNullNoUndefBasedOnAccess()
436 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes, in memChrToCharCompare()
1771 static Value *replaceUnaryCall(CallInst *CI, IRBuilderBase &B, in replaceUnaryCall()
1808 static Value *optimizeDoubleFP(CallInst *CI, IRBuilderBase &B, in optimizeDoubleFP()
2642 static bool isTrigLibCall(CallInst *CI) { in isTrigLibCall()
2752 auto *CI = dyn_cast<CallInst>(Val); in classifyArgUse() local
3046 Value *LibCallSimplifier::optimizeSPrintFString(CallInst *CI, in optimizeSPrintFString()
[all …]
H A DEscapeEnumerator.cpp44 if (CallInst *CI = CurBB->getTerminatingMustTailCall()) in Next() local
63 if (CallInst *CI = dyn_cast<CallInst>(&II)) in Next() local
92 CallInst *CI = cast<CallInst>(Calls[--I]); in Next() local
H A DInjectTLIMappings.cpp41 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration()
73 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) { in addMappingsFromTLI()
127 if (auto CI = dyn_cast<CallInst>(&I)) in runImpl() local
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
164 RewriteObjCAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
187 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
196 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
205 CompilerInstance &CI; member in RewriteIncludesAction::RewriteImportsListener
211 RewriteImportsListener(CompilerInstance &CI, std::shared_ptr<raw_ostream> Out) in RewriteImportsListener()
271 bool RewriteIncludesAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendActions.cpp188 GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
222 CompilerInstance &CI) { in BeginSourceFileAction()
255 CompilerInstance &CI) { in BeginSourceFileAction()
312 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
554 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
816 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
986 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1078 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1088 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1136 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
[all …]
H A DFrontendAction.cpp158 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local
164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
252 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName()
489 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule()
555 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule()
580 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
1063 CompilerInstance &CI = getCompilerInstance(); in Execute() local
1092 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local
1161 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1190 PreprocessorFrontendAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
[all …]
H A DASTMerge.cpp20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMTActions.cpp16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h39 static inline void EraseInstruction(Instruction *CI) { in EraseInstruction()
125 if (auto *CI = dyn_cast<CallInst>(I)) in contains() local
131 void eraseInst(CallInst *CI) { in eraseInst()
136 if (auto *CI = dyn_cast<CallInst>(U)) in eraseInst() local
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp27 const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset()
41 } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local
54 int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset()
76 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI, in findDevirtualizableCallsForTypeTest()
100 const CallInst *CI, DominatorTree &DT) { in findDevirtualizableCallsForTypeCheckedLoad()
165 if (auto *CI = dyn_cast<ConstantInt>(I)) { in getPointerAtOffset() local
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction()
79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation()
85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
H A DAnalyzerHelpFlags.cpp28 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) { in printCheckerHelp()
40 void ento::printEnabledCheckerList(raw_ostream &out, CompilerInstance &CI) { in printEnabledCheckerList()
50 void ento::printCheckerConfigList(raw_ostream &out, CompilerInstance &CI) { in printCheckerConfigList()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerWidenableCondition.cpp40 if (auto *CI = dyn_cast<CallInst>(U)) in lowerWidenableCondition() local
47 for (auto *CI : ToLower) { in lowerWidenableCondition() local
H A DLowerGuardIntrinsic.cpp40 if (auto *CI = dyn_cast<CallInst>(U)) in lowerGuardIntrinsic() local
51 for (auto *CI : ToLower) { in lowerGuardIntrinsic() local
H A DTailRecursionElimination.cpp238 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local
331 static bool canMoveAboveCall(Instruction *I, CallInst *CI, AliasAnalysis *AA) { in canMoveAboveCall()
368 static bool canTransformAccumulatorRecursion(Instruction *I, CallInst *CI) { in canTransformAccumulatorRecursion()
469 CallInst *CI = nullptr; in findTRECandidate() local
507 void TailRecursionEliminator::createTailRecurseLoopHeader(CallInst *CI) { in createTailRecurseLoopHeader()
591 void TailRecursionEliminator::copyByValueOperandIntoLocalTemp(CallInst *CI, in copyByValueOperandIntoLocalTemp()
619 CallInst *CI, int OpndIdx) { in copyLocalTempOfByValueOperandIntoArguments()
637 bool TailRecursionEliminator::eliminateCall(CallInst *CI) { in eliminateCall()
826 CallInst *CI = findTRECandidate(&BB); in processBlock() local
847 CallInst *CI = findTRECandidate(&BB); in processBlock() local
H A DLowerExpectIntrinsic.cpp56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight()
77 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local
216 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() local
285 CallInst *CI; in handleBrSelExpect() local
379 CallInst *CI = dyn_cast<CallInst>(&Inst); in lowerExpectIntrinsic() local
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp27 if (const auto *CI = std::get_if<CowCompilerInvocation>(&BuildInfo)) in getBuildArguments() local
87 void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI, in addOutputPaths()
113 makeCommonInvocationForModuleBuild(CompilerInvocation CI) { in makeCommonInvocationForModuleBuild()
169 CowCompilerInvocation CI = CommonInvocation; in getInvocationAdjustedForModuleBuildWithoutOutputs() local
243 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles()
255 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
268 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
291 void ModuleDepCollector::applyDiscoveredDependencies(CompilerInvocation &CI) { in applyDiscoveredDependencies()
320 const CowCompilerInvocation &CI, in getModuleContextHash()
364 const CowCompilerInvocation &CI, ModuleDeps &Deps) { in associateWithContextHash()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessorLexer.h95 PPConditionalInfo CI; in pushConditionalLevel() local
102 void pushConditionalLevel(const PPConditionalInfo &CI) { in pushConditionalLevel()
109 bool popConditionalLevel(PPConditionalInfo &CI) { in popConditionalLevel()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp57 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
171 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
224 const CompilerInstance &CI; member
391 ExtractAPIAction::CreateOutputFile(CompilerInstance &CI, StringRef InFile) { in CreateOutputFile()
402 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
442 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) { in PrepareToExecuteAction()
502 WrappingExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
561 WrappingExtractAPIAction::CreateOutputFile(CompilerInstance &CI, in CreateOutputFile()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp78 auto *CI = dyn_cast<CallInst>(&I); in replaceWithTLIFunction() local
115 auto *CI = dyn_cast<CallInst>(&I); in replaceWithCallToVeclib() local
214 if (auto *CI = dyn_cast<CallInst>(I)) in isSupportedInstruction() local
236 for (auto *CI : ReplacedCalls) in runImpl() local
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp40 CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction()
140 CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp105 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, in handlePowSpecialCases()
134 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall()
176 auto *CI = dyn_cast<CallInst>(User); in runOnModule() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp1290 CombineInfo &CI, CombineInfo &Paired, in mergeWrite2Pair()
1405 CombineInfo &CI, CombineInfo &Paired, in mergeSMemLoadImmPair()
1451 CombineInfo &CI, CombineInfo &Paired, in mergeBufferLoadPair()
1506 CombineInfo &CI, CombineInfo &Paired, in mergeTBufferLoadPair()
1565 CombineInfo &CI, CombineInfo &Paired, in mergeTBufferStorePair()
1620 CombineInfo &CI, CombineInfo &Paired, in mergeFlatLoadPair()
1663 CombineInfo &CI, CombineInfo &Paired, in mergeFlatStorePair()
1834 SILoadStoreOptimizer::getSubRegIdxs(const CombineInfo &CI, in getSubRegIdxs()
1894 CombineInfo &CI, CombineInfo &Paired, in mergeBufferStorePair()
2311 CombineInfo CI; in collectMergeableInsts() local
[all …]

12345678910>>...17