HomeSort by relevance Sort by last modified time
    Searched refs:CI (Results 1 - 25 of 263) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/clang/lib/StaticAnalyzer/Frontend/
FrontendActions.cpp 16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI,
18 return CreateAnalysisConsumer(CI.getPreprocessor(),
19 CI.getFrontendOpts().OutputFile,
20 CI.getAnalyzerOpts(),
21 CI.getFrontendOpts().Plugins);
  /external/clang/lib/Frontend/
FrontendAction.cpp 135 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
137 ASTConsumer* Consumer = CreateASTConsumer(CI, InFile);
141 if (CI.getFrontendOpts().AddPluginActions.size() == 0)
148 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size();
156 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) {
159 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i]))
160 Consumers.push_back(c->CreateASTConsumer(CI, InFile));
168 bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
173 setCompilerInstance(&CI);
    [all...]
ASTMerge.cpp 19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI,
21 return AdaptedAction->CreateASTConsumer(CI, InFile);
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI,
30 AdaptedAction->setCompilerInstance(&CI);
31 return AdaptedAction->BeginSourceFileAction(CI, Filename);
35 CompilerInstance &CI = getCompilerInstance();
36 CI.getDiagnostics().getClient()->BeginSourceFile(
37 CI.getASTContext().getLangOpts());
38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument,
39 &CI.getASTContext())
    [all...]
FrontendActions.cpp 36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI,
48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI,
50 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile))
51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter);
55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI,
57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter,
58 CI.getFrontendOpts().ASTDumpLookups);
61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI,
66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI,
71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI,
    [all...]
  /external/clang/lib/ARCMigrate/
ARCMTActions.cpp 17 bool CheckAction::BeginInvocation(CompilerInstance &CI) {
18 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(),
19 CI.getDiagnostics().getClient()))
23 CI.getDiagnostics().setIgnoreAllWarnings(true);
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) {
31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(),
32 CI.getDiagnostics().getClient());
38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
39 if (arcmt::migrateWithTemporaryFiles(CI.getInvocation(),
41 CI.getDiagnostics().getClient()
    [all...]
  /external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
InterfaceWithClient.java 14 * @param <CI> the type of the client interface.
16 public interface InterfaceWithClient<CI extends Interface> extends Interface {
21 interface Proxy<CI extends Interface> extends Interface.Proxy, InterfaceWithClient<CI> {
27 * @param <CI> the type of the client interface.
29 abstract class AbstractProxy<CI extends Interface> extends Interface.AbstractProxy
30 implements Proxy<CI> {
46 public void setClient(CI client) {
57 * @param <CI> the type of the client interface.
59 abstract class Manager<I extends InterfaceWithClient<CI>, P extends Proxy<CI>
    [all...]
  /external/clang/include/clang/Lex/
PreprocessorLexer.h 99 PPConditionalInfo CI;
100 CI.IfLoc = DirectiveStart;
101 CI.WasSkipping = WasSkipping;
102 CI.FoundNonSkip = FoundNonSkip;
103 CI.FoundElse = FoundElse;
104 ConditionalStack.push_back(CI);
106 void pushConditionalLevel(const PPConditionalInfo &CI) {
107 ConditionalStack.push_back(CI);
113 bool popConditionalLevel(PPConditionalInfo &CI) {
116 CI = ConditionalStack.pop_back_val()
    [all...]
  /external/clang/lib/Rewrite/Frontend/
FrontendActions.cpp 33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI,
35 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile))
36 return CreateHTMLPrinter(OS, CI.getPreprocessor());
43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI,
87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI,
97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
98 CI.getLangOpts(), FixItOpts.get()));
107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) {
112 const FrontendOptions &FEOpts = CI.getFrontendOpts()
    [all...]
  /external/llvm/tools/bugpoint-passes/
TestPasses.cpp 61 if (CallInst *CI = dyn_cast<CallInst>(I)) {
62 if (!CI->use_empty())
63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
64 CI->getParent()->getInstList().erase(CI);
  /external/llvm/lib/CodeGen/
IntrinsicLowering.cpp 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI,
70 Module *M = CI->getParent()->getParent()->getParent();
78 IRBuilder<> Builder(CI->getParent(), CI);
81 NewCI->setName(CI->getName());
82 if (!CI->use_empty())
83 CI->replaceAllUsesWith(NewCI);
317 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname,
320 CallSite CS(CI);
321 switch (CI->getArgOperand(0)->getType()->getTypeID())
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 57 /// performed. If it returns CI, then it transformed the call and CI is to be
58 /// deleted. If it returns something else, replace CI with the new value and
59 /// delete CI.
60 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
67 Value *optimizeCall(CallInst *CI, const DataLayout *DL,
70 Caller = CI->getParent()->getParent();
74 if (CI->getCalledFunction())
75 Context = &CI->getCalledFunction()->getContext();
78 if (!ignoreCallingConv() && CI->getCallingConv() != llvm::CallingConv::C
    [all...]
LowerExpectIntrinsic.cpp 62 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
63 if (!CI)
66 Function *Fn = CI->getCalledFunction();
70 Value *ArgValue = CI->getArgOperand(0);
71 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
86 MDBuilder(CI->getContext()).createBranchWeights(Weights));
106 CallInst *CI;
110 CI = dyn_cast<CallInst>(BI->getCondition());
114 CI = dyn_cast<CallInst>(CmpI->getOperand(0));
117 if (!CI)
    [all...]
BuildLibCalls.cpp 55 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen");
57 CI->setCallingConv(F->getCallingConv());
59 return CI;
85 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen");
87 CI->setCallingConv(F->getCallingConv());
89 return CI;
112 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B),
115 CI->setCallingConv(F->getCallingConv());
116 return CI;
142 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B)
    [all...]
  /external/llvm/include/llvm/CodeGen/
IntrinsicLowering.h 50 void LowerIntrinsicCall(CallInst *CI);
55 static bool LowerToByteSwap(CallInst *CI);
  /external/clang/include/clang/Rewrite/Frontend/
FrontendActions.h 25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
34 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
37 bool BeginSourceFileAction(CompilerInstance &CI,
57 bool BeginInvocation(CompilerInstance &CI) override;
62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
  /external/clang/include/clang/ARCMigrate/
ARCMTActions.h 22 bool BeginInvocation(CompilerInstance &CI) override;
30 bool BeginInvocation(CompilerInstance &CI) override;
39 bool BeginInvocation(CompilerInstance &CI) override;
40 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
49 bool BeginInvocation(CompilerInstance &CI) override;
68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
70 bool BeginInvocation(CompilerInstance &CI) override;
  /external/clang/include/clang/Frontend/
FrontendActions.h 29 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
44 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
50 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
56 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
62 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
68 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
74 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
88 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
101 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
116 bool BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) override
    [all...]
FrontendAction.h 44 ASTConsumer* CreateWrappedASTConsumer(CompilerInstance &CI,
57 /// \param CI - The current compiler instance, provided as a convenience, see
64 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
73 virtual bool BeginInvocation(CompilerInstance &CI) { return true; }
79 virtual bool BeginSourceFileAction(CompilerInstance &CI,
188 /// \param CI - The compiler instance this action is being run from. The
202 bool BeginSourceFile(CompilerInstance &CI, const FrontendInputFile &Input);
231 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
237 /// \param CI - The compiler instance, for use in reporting diagnostics.
241 virtual bool ParseArgs(const CompilerInstance &CI,
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Frontend/
FrontendActions.h 25 ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
  /external/llvm/lib/Transforms/Scalar/
TailRecursionElimination.cpp 105 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
119 bool CanMoveAboveCall(Instruction *I, CallInst *CI);
120 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
299 CallInst *CI = dyn_cast<CallInst>(&I);
300 if (!CI || CI->isTailCall())
303 if (CI->doesNotAccessMemory()) {
312 for (auto &Arg : CI->arg_operands()) {
323 F.getContext(), "tailcallelim", F, CI->getDebugLoc(),
325 CI->setTailCall()
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp 85 bool expandBFI(CallInst *CI);
88 bool expandBFM(CallInst *CI);
92 bool isSigned24BitOps(CallInst *CI);
93 void expandSigned24BitOps(CallInst *CI);
97 bool isRWGLocalOpt(CallInst *CI);
101 bool convertAccurateDivide(CallInst *CI);
102 void expandAccurateDivide(CallInst *CI);
111 bool propagateSamplerInst(CallInst *CI);
242 CallInst *CI = isConstVec[x];
243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0))
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp 85 bool expandBFI(CallInst *CI);
88 bool expandBFM(CallInst *CI);
92 bool isSigned24BitOps(CallInst *CI);
93 void expandSigned24BitOps(CallInst *CI);
97 bool isRWGLocalOpt(CallInst *CI);
101 bool convertAccurateDivide(CallInst *CI);
102 void expandAccurateDivide(CallInst *CI);
111 bool propagateSamplerInst(CallInst *CI);
242 CallInst *CI = isConstVec[x];
243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0))
    [all...]
  /external/llvm/lib/IR/
AutoUpgrade.cpp 239 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) {
240 Function *F = CI->getCalledFunction();
241 LLVMContext &C = CI->getContext();
243 Builder.SetInsertPoint(CI->getParent(), CI);
255 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1),
258 Rep = Builder.CreateSExt(Rep, CI->getType(), "");
261 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI->getArgOperand(1)
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
VectorUtils.h 97 getIntrinsicIDForCall(CallInst *CI, const TargetLibraryInfo *TLI) {
99 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(CI)) {
112 Function *F = CI->getCalledFunction();
127 return checkUnaryFloatSignature(*CI, Intrinsic::sin);
131 return checkUnaryFloatSignature(*CI, Intrinsic::cos);
135 return checkUnaryFloatSignature(*CI, Intrinsic::exp);
139 return checkUnaryFloatSignature(*CI, Intrinsic::exp2);
143 return checkUnaryFloatSignature(*CI, Intrinsic::log);
147 return checkUnaryFloatSignature(*CI, Intrinsic::log10);
151 return checkUnaryFloatSignature(*CI, Intrinsic::log2)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCasts.cpp 30 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
31 Offset = CI->getZExtValue();
81 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI,
86 PointerType *PTy = cast<PointerType>(CI.getType());
149 // things that used it to use the new cast. This will also hack on CI, but it
157 return ReplaceInstUsesWith(CI, New);
238 const CastInst *CI, ///< The first cast instruction
244 Type *SrcTy = CI->getOperand(0)->getType(); // A from above
245 Type *MidTy = CI->getType(); // B from above
248 Instruction::CastOps firstOp = Instruction::CastOps(CI->getOpcode())
    [all...]

Completed in 1275 milliseconds

1 2 3 4 5 6 7 8 91011