Home
last modified time | relevance | path

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

12345678910>>...17

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp68 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument()
74 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument()
215 static void annotateDereferenceableBytes(CallInst *CI, in annotateDereferenceableBytes()
240 static void annotateNonNullNoUndefBasedOnAccess(CallInst *CI, in annotateNonNullNoUndefBasedOnAccess()
395 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes, in memChrToCharCompare()
1661 static Value *replaceUnaryCall(CallInst *CI, IRBuilderBase &B, in replaceUnaryCall()
1698 static Value *optimizeDoubleFP(CallInst *CI, IRBuilderBase &B, in optimizeDoubleFP()
2519 static bool isTrigLibCall(CallInst *CI) { in isTrigLibCall()
2629 auto *CI = dyn_cast<CallInst>(Val); in classifyArgUse() local
2923 Value *LibCallSimplifier::optimizeSPrintFString(CallInst *CI, in optimizeSPrintFString()
[all …]
H A DLibCallsShrinkWrap.cpp79 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst()
82 for (auto &CI : WorkList) { in perform() local
137 bool LibCallsShrinkWrap::performCallDomainErrorOnly(CallInst *CI, in performCallDomainErrorOnly()
189 bool LibCallsShrinkWrap::performCallRangeErrorOnly(CallInst *CI, in performCallRangeErrorOnly()
227 bool LibCallsShrinkWrap::performCallErrors(CallInst *CI, in performCallErrors()
291 void LibCallsShrinkWrap::checkCandidate(CallInst &CI) { in checkCandidate()
320 Value *LibCallsShrinkWrap::generateOneRangeCond(CallInst *CI, in generateOneRangeCond()
342 Value *LibCallsShrinkWrap::generateTwoRangeCond(CallInst *CI, in generateTwoRangeCond()
421 Value *LibCallsShrinkWrap::generateCondForPow(CallInst *CI, in generateCondForPow()
486 void LibCallsShrinkWrap::shrinkWrapCI(CallInst *CI, Value *Cond) { in shrinkWrapCI()
[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.cpp42 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration()
71 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) { in addMappingsFromTLI()
125 if (auto CI = dyn_cast<CallInst>(&I)) in runImpl() local
/openbsd/gnu/llvm/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()
186 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
195 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
204 CompilerInstance &CI; member in RewriteIncludesAction::RewriteImportsListener
210 RewriteImportsListener(CompilerInstance &CI, std::shared_ptr<raw_ostream> Out) in RewriteImportsListener()
270 bool RewriteIncludesAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction()
[all …]
/openbsd/gnu/llvm/clang/examples/PluginsOrder/
H A DPluginsOrder.cpp25 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
30 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
49 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
54 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
73 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
78 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
97 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
102 bool ParseArgs(const CompilerInstance &CI, in ParseArgs()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DFrontendActions.cpp187 GenerateModuleAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
219 CompilerInstance &CI) { in BeginSourceFileAction()
252 CompilerInstance &CI) { in BeginSourceFileAction()
304 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
540 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
784 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
955 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1047 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1057 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1105 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
[all …]
H A DFrontendAction.cpp152 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local
158 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
246 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName()
483 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule()
549 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule()
573 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
1052 CompilerInstance &CI = getCompilerInstance(); in Execute() local
1081 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local
1147 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local
1172 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
/openbsd/gnu/llvm/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()
163 if (auto *CI = dyn_cast<ConstantInt>(I)) { in getPointerAtOffset() local
/openbsd/gnu/llvm/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
/openbsd/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp220 BuildASTContext(CompilerInstance &CI, SelectorTable &ST, Builtin::Context &BC) { in BuildASTContext()
229 std::unique_ptr<CodeGenerator> BuildCodeGen(CompilerInstance &CI, in BuildCodeGen()
251 std::unique_ptr<CompilerInstance> CI; member
267 void AddExternalSource(CIAndOrigins &CI, in AddExternalSource()
280 CIAndOrigins BuildIndirect(CIAndOrigins &CI) { in BuildIndirect()
291 llvm::Error ParseSource(const std::string &Path, CompilerInstance &CI, in ParseSource()
308 CIAndOrigins CI{init_convenience::BuildCompilerInstance()}; in Parse() local
346 void Forget(CIAndOrigins &CI, llvm::MutableArrayRef<CIAndOrigins> Imports) { in Forget()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp41 static bool replaceWithTLIFunction(CallInst &CI, const StringRef TLIName) { in replaceWithTLIFunction()
93 CallInst &CI) { in replaceWithCallToVeclib()
180 if (auto *CI = dyn_cast<CallInst>(&I)) { in runImpl() local
189 for (auto *CI : ReplacedCalls) { in runImpl() local
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
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()
463 CallInst *CI = nullptr; in findTRECandidate() local
501 void TailRecursionEliminator::createTailRecurseLoopHeader(CallInst *CI) { in createTailRecurseLoopHeader()
582 void TailRecursionEliminator::copyByValueOperandIntoLocalTemp(CallInst *CI, in copyByValueOperandIntoLocalTemp()
610 CallInst *CI, int OpndIdx) { in copyLocalTempOfByValueOperandIntoArguments()
628 bool TailRecursionEliminator::eliminateCall(CallInst *CI) { in eliminateCall()
811 CallInst *CI = findTRECandidate(&BB); in processBlock() local
832 CallInst *CI = findTRECandidate(&BB); in processBlock() local
H A DLowerExpectIntrinsic.cpp59 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight()
80 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local
222 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() local
291 CallInst *CI; in handleBrSelExpect() local
385 CallInst *CI = dyn_cast<CallInst>(&Inst); in lowerExpectIntrinsic() local
/openbsd/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp56 void ModuleDepCollector::addOutputPaths(CompilerInvocation &CI, in addOutputPaths()
86 CompilerInvocation CI(OriginalInvocation); in makeInvocationForModuleBuildWithoutOutputs() local
190 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles()
202 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles()
225 void ModuleDepCollector::applyDiscoveredDependencies(CompilerInvocation &CI) { in applyDiscoveredDependencies()
254 const CompilerInvocation &CI, in getModuleContextHash()
294 void ModuleDepCollector::associateWithContextHash(const CompilerInvocation &CI, in associateWithContextHash()
477 CompilerInvocation CI = MDC.makeInvocationForModuleBuildWithoutOutputs( in handleTopLevelModule() local
603 static StringRef makeAbsoluteAndPreferred(CompilerInstance &CI, StringRef Path, in makeAbsoluteAndPreferred()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/
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()
H A DFrontendActions.cpp16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer()
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSILoadStoreOptimizer.cpp1250 CombineInfo &CI, CombineInfo &Paired, in mergeWrite2Pair()
1365 CombineInfo &CI, CombineInfo &Paired, in mergeSMemLoadImmPair()
1414 CombineInfo &CI, CombineInfo &Paired, in mergeBufferLoadPair()
1469 CombineInfo &CI, CombineInfo &Paired, in mergeTBufferLoadPair()
1528 CombineInfo &CI, CombineInfo &Paired, in mergeTBufferStorePair()
1583 CombineInfo &CI, CombineInfo &Paired, in mergeFlatLoadPair()
1626 CombineInfo &CI, CombineInfo &Paired, in mergeFlatStorePair()
1794 SILoadStoreOptimizer::getSubRegIdxs(const CombineInfo &CI, in getSubRegIdxs()
1852 CombineInfo &CI, CombineInfo &Paired, in mergeBufferStorePair()
2269 CombineInfo CI; in collectMergeableInsts() local
[all …]
H A DAMDGPULibCalls.cpp113 CallInst *CI; member in llvm::AMDGPULibCalls
594 bool AMDGPULibCalls::fold(CallInst *CI, AliasAnalysis *AA) { in fold()
755 bool AMDGPULibCalls::fold_recip(CallInst *CI, IRBuilder<> &B, in fold_recip()
773 bool AMDGPULibCalls::fold_divide(CallInst *CI, IRBuilder<> &B, in fold_divide()
803 bool AMDGPULibCalls::fold_pow(CallInst *CI, IRBuilder<> &B, in fold_pow()
1088 bool AMDGPULibCalls::fold_rootn(CallInst *CI, IRBuilder<> &B, in fold_rootn()
1197 bool AMDGPULibCalls::fold_sqrt(CallInst *CI, IRBuilder<> &B, in fold_sqrt()
1672 CallInst *CI = dyn_cast<CallInst>(I); in runOnFunction() local
1706 CallInst *CI = dyn_cast<CallInst>(I); in run() local
1734 CallInst *CI = dyn_cast<CallInst>(I); in runOnFunction() local
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp113 if (auto CI = getAs<nonloc::ConcreteInt>()) in getAsInteger() local
115 if (auto CI = getAs<loc::ConcreteInt>()) in getAsInteger() local
145 template <class ConcreteInt> QualType VisitConcreteInt(ConcreteInt CI) { in VisitConcreteInt()
151 QualType VisitLocConcreteInt(loc::ConcreteInt CI) { in VisitLocConcreteInt()
154 QualType VisitNonLocConcreteInt(nonloc::ConcreteInt CI) { in VisitNonLocConcreteInt()
/openbsd/gnu/llvm/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

12345678910>>...17