HomeSort by: relevance | last modified time | path
    Searched defs:CI (Results 1 - 25 of 160) sorted by relevancy

1 2 3 4 5 6 7

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
ModelInjector.h 40 ModelInjector(CompilerInstance &CI);
60 CompilerInstance &CI;
  /src/external/apache2/llvm/dist/clang/tools/clang-repl/
ClangRepl.cpp 73 auto CI = ExitOnErr(clang::IncrementalCompilerBuilder::create(ClangArgv));
78 static_cast<void *>(&CI->getDiagnostics()));
80 auto Interp = ExitOnErr(clang::Interpreter::create(std::move(CI)));
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
CreateInvocationFromCommandLine.cpp 95 auto CI = std::make_unique<CompilerInvocation>();
96 if (!CompilerInvocation::CreateFromArgs(*CI, CCArgs, *Diags, Args[0]) &&
99 return CI;
ASTMerge.cpp 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
21 return AdaptedAction->CreateASTConsumer(CI, InFile);
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) {
29 AdaptedAction->setCompilerInstance(&CI);
30 return AdaptedAction->BeginSourceFileAction(CI);
34 CompilerInstance &CI = getCompilerInstance();
35 CI.getDiagnostics().getClient()->BeginSourceFile(
36 CI.getASTContext().getLangOpts());
37 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument,
38 &CI.getASTContext())
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint-passes/
TestPasses.cpp 68 if (CallInst *CI = dyn_cast<CallInst>(I)) {
69 if (!CI->use_empty())
70 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
71 CI->getParent()->getInstList().erase(CI);
  /src/external/apache2/llvm/dist/clang/lib/Interpreter/
IncrementalParser.h 45 std::unique_ptr<CompilerInstance> CI;
65 const CompilerInstance *getCI() const { return CI.get(); }
IncrementalParser.cpp 47 IncrementalAction(CompilerInstance &CI, llvm::LLVMContext &LLVMCtx,
52 switch (CI.getFrontendOpts().ProgramAction) {
58 CI.getFrontendOpts().ProgramAction);
65 Act = CreateFrontendAction(CI);
79 CompilerInstance &CI = getCompilerInstance();
80 assert(CI.hasPreprocessor() && "No PP!");
85 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty())
86 CI.createCodeCompletionConsumer();
90 if (CI.hasCodeCompletionConsumer())
91 CompletionConsumer = &CI.getCodeCompletionConsumer()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
AssumeBundleQueries.cpp 83 auto *CI = dyn_cast<ConstantInt>(
85 if (!CI)
87 unsigned Val = CI->getZExtValue();
ObjCARCInstKind.cpp 223 const CallInst *CI = cast<CallInst>(I);
225 if (const Function *F = CI->getCalledFunction()) {
237 return GetCallSiteClass(*CI);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
EscapeEnumerator.cpp 44 if (CallInst *CI = CurBB->getTerminatingMustTailCall())
45 TI = CI;
63 if (CallInst *CI = dyn_cast<CallInst>(&II))
64 if (!CI->doesNotThrow() && !CI->isMustTailCall())
65 Calls.push_back(CI);
92 CallInst *CI = cast<CallInst>(Calls[--I]);
93 changeToInvokeAndSplitBasicBlock(CI, CleanupBB, DTU);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
DependencyScanningWorker.cpp 77 const CompilerInvocation &CI = Compiler.getInvocation();
82 for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries)
84 for (const auto &Entry : CI.getHeaderSearchOpts().VFSOverlayFiles)
90 CI, Compiler.getDiagnostics(), DepFS));
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
json_reporter.cc 98 auto& CI = info.caches[i];
100 out << cache_indent << FormatKV("type", CI.type) << ",\n";
101 out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level))
104 << FormatKV("size", static_cast<int64_t>(CI.size) * 1000u) << ",\n";
106 << FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing))
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
PreprocessorLexer.h 94 PPConditionalInfo CI;
95 CI.IfLoc = DirectiveStart;
96 CI.WasSkipping = WasSkipping;
97 CI.FoundNonSkip = FoundNonSkip;
98 CI.FoundElse = FoundElse;
99 ConditionalStack.push_back(CI);
101 void pushConditionalLevel(const PPConditionalInfo &CI) {
102 ConditionalStack.push_back(CI);
108 bool popConditionalLevel(PPConditionalInfo &CI) {
111 CI = ConditionalStack.pop_back_val()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FrontendActions.cpp 41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
43 CI.createDefaultOutputFile(false, InFile))
44 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor());
52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) {
105 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
106 CI.getLangOpts(), FixItOpts.get()));
115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) {
120 const FrontendOptions &FEOpts = CI.getFrontendOpts()
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
json_reporter.cc 105 auto& CI = info.caches[i];
107 out << cache_indent << FormatKV("type", CI.type) << ",\n";
108 out << cache_indent << FormatKV("level", static_cast<int64_t>(CI.level))
111 << FormatKV("size", static_cast<int64_t>(CI.size) * 1000u) << ",\n";
113 << FormatKV("num_sharing", static_cast<int64_t>(CI.num_sharing))
  /src/external/apache2/llvm/dist/llvm/examples/IRTransforms/
SimplifyCFG.cpp 150 ConstantInt *CI = dyn_cast<ConstantInt>(BI->getCondition());
151 if (!CI)
154 // We use the branch condition (CI), to select the successor we remove:
155 // if CI == 1 (true), we remove the second successor, otherwise the first.
156 BasicBlock *RemovedSucc = BI->getSuccessor(CI->isOne());
163 BranchInst::Create(BI->getSuccessor(CI->isZero()), BI);
186 ConstantInt *CI = dyn_cast<ConstantInt>(BI->getCondition());
187 if (!CI)
190 // We use the branch condition (CI), to select the successor we remove:
191 // if CI == 1 (true), we remove the second successor, otherwise the first
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
AbstractCallSite.h 79 CallbackInfo CI;
128 return !CI.ParameterEncoding.empty();
141 assert(!CI.ParameterEncoding.empty() &&
150 return (int)CB->getArgOperandNo(U) == CI.ParameterEncoding[0];
158 return CI.ParameterEncoding.size() - 1;
173 return CI.ParameterEncoding[ArgNo + 1];
187 return CI.ParameterEncoding[ArgNo + 1] >= 0
188 ? CB->getArgOperand(CI.ParameterEncoding[ArgNo + 1])
196 assert(CI.ParameterEncoding.size() && CI.ParameterEncoding[0] >= 0)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
PreISelIntrinsicLowering.cpp 40 auto CI = dyn_cast<CallInst>(I->getUser());
42 if (!CI || CI->getCalledOperand() != &F)
45 IRBuilder<> B(CI);
47 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1));
51 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32);
53 CI->replaceAllUsesWith(ResultPtr);
54 CI->eraseFromParent();
94 auto *CI = cast<CallInst>(I->getUser())
    [all...]
DwarfEHPrepare.cpp 208 CallInst *CI = CallInst::Create(RewindFunction, ExnObj, "", UnwindBB);
209 CI->setCallingConv(TLI.getLibcallCallingConv(RTLIB::UNWIND_RESUME));
212 CI->setDoesNotReturn();
238 CallInst *CI = CallInst::Create(RewindFunction, PN, "", UnwindBB);
239 CI->setCallingConv(TLI.getLibcallCallingConv(RTLIB::UNWIND_RESUME));
242 CI->setDoesNotReturn();
GCRootLowering.cpp 62 void VisitCallPoint(MachineBasicBlock::iterator CI);
133 if (CallInst *CI = dyn_cast<CallInst>(I))
134 if (Function *F = CI->getCalledFunction())
196 IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++);
197 if (!CI)
200 Function *F = CI->getCalledFunction();
205 Value *St = new StoreInst(CI->getArgOperand(0),
206 CI->getArgOperand(2), CI);
207 CI->replaceAllUsesWith(St)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
IRMutator.cpp 204 CmpInst *CI = nullptr;
220 CI = cast<ICmpInst>(&Inst);
221 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_EQ); });
222 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_NE); });
223 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_UGT); });
224 Modifications.push_back([CI]() { CI->setPredicate(CmpInst::ICMP_UGE); })
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULowerIntrinsics.cpp 71 ConstantInt *CI = dyn_cast<ConstantInt>(Size);
72 return !CI || (CI->getSExtValue() > MaxStaticSize);
134 auto *CI = dyn_cast<CallInst>(U);
135 if (!CI)
138 Function *Caller = CI->getParent()->getParent();
140 Changed |= ST.makeLIDRangeMetadata(CI);
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCLowerMASSVEntries.cpp 58 bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M);
59 bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
102 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func,
107 if (Constant *Exp = dyn_cast<Constant>(CI->getArgOperand(1)))
111 if (!CI->hasNoInfs() || !CI->hasApproxFunc())
117 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros())
120 CI->setCalledFunction(
121 Intrinsic::getDeclaration(&M, Intrinsic::pow, CI->getType()));
131 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86DiscriminateMemOps.cpp 143 unsigned BF, DF, CI = 0;
144 DILocation::decodeDiscriminator(DI->getDiscriminator(), BF, DF, CI);
146 MemOpDiscriminators[L] + 1, DF, CI);
  /src/external/apache2/llvm/dist/clang/tools/arcmt-test/
arcmt-test.cpp 123 CompilerInvocation CI;
124 if (!CompilerInvocation::CreateFromArgs(CI, Args, *Diags))
127 if (CI.getFrontendOpts().Inputs.empty()) {
132 if (!CI.getLangOpts()->ObjC)
135 arcmt::checkForManualIssues(CI, CI.getFrontendOpts().Inputs[0],

Completed in 26 milliseconds

1 2 3 4 5 6 7