Searched refs:CI (Results 1 - 25 of 214) sorted by relevance

123456789

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DFrontendActions.cpp16 ASTConsumer *AnalysisAction::CreateASTConsumer(CompilerInstance &CI, argument
18 return CreateAnalysisConsumer(CI.getPreprocessor(),
19 CI.getFrontendOpts().OutputFile,
20 CI.getAnalyzerOpts(),
21 CI.getFrontendOpts().Plugins);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendAction.cpp128 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, argument
130 ASTConsumer* Consumer = CreateASTConsumer(CI, InFile);
134 if (CI.getFrontendOpts().AddPluginActions.size() == 0)
141 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size();
149 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) {
152 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i]))
153 Consumers.push_back(c->CreateASTConsumer(CI, InFile));
162 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, argument
167 setCompilerInstance(&CI);
365 CompilerInstance &CI = getCompilerInstance(); local
393 CompilerInstance &CI = getCompilerInstance(); local
457 CompilerInstance &CI = getCompilerInstance(); local
482 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
487 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
491 BeginInvocation(CompilerInstance &CI) argument
494 BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) argument
[all...]
H A DASTMerge.cpp19 ASTConsumer *ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, argument
21 return AdaptedAction->CreateASTConsumer(CI, InFile);
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI, argument
30 AdaptedAction->setCompilerInstance(&CI);
31 return AdaptedAction->BeginSourceFileAction(CI, Filename);
35 CompilerInstance &CI = getCompilerInstance(); local
36 CI.getDiagnostics().getClient()->BeginSourceFile(
37 CI.getASTContext().getLangOpts());
38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument,
39 &CI
[all...]
H A DFrontendActions.cpp36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, argument
48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, argument
50 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile))
51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter);
55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, argument
57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter,
58 CI.getFrontendOpts().ASTDumpLookups);
61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, argument
66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI, argument
71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI, argument
76 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
89 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, std::string &Sysroot, std::string &OutputFile, raw_ostream *&OS) argument
113 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
213 BeginSourceFileAction(CompilerInstance &CI, StringRef Filename) argument
277 ComputeASTConsumerArguments(CompilerInstance &CI, StringRef InFile, std::string &Sysroot, std::string &OutputFile, raw_ostream *&OS) argument
306 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
311 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
470 CompilerInstance &CI = getCompilerInstance(); local
499 CompilerInstance &CI = getCompilerInstance(); local
570 CompilerInstance &CI = getCompilerInstance(); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMTActions.cpp17 bool CheckAction::BeginInvocation(CompilerInstance &CI) { argument
18 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(),
19 CI.getDiagnostics().getClient()))
23 CI.getDiagnostics().setIgnoreAllWarnings(true);
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { argument
31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(),
32 CI.getDiagnostics().getClient());
38 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { argument
39 if (arcmt::migrateWithTemporaryFiles(CI.getInvocation(),
41 CI
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DFrontendActions.cpp33 ASTConsumer *HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, argument
35 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile))
36 return CreateHTMLPrinter(OS, CI.getPreprocessor());
43 ASTConsumer *FixItAction::CreateASTConsumer(CompilerInstance &CI, argument
87 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI, argument
97 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
98 CI.getLangOpts(), FixItOpts.get()));
107 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { argument
112 const FrontendOptions &FEOpts = CI
153 CreateASTConsumer(CompilerInstance &CI, StringRef InFile) argument
170 CompilerInstance &CI = getCompilerInstance(); local
178 CompilerInstance &CI = getCompilerInstance(); local
186 CompilerInstance &CI = getCompilerInstance(); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, argument
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, argument
320 CallSite CS(CI);
321 switch (CI
340 LowerIntrinsicCall(CallInst *CI) argument
551 LowerToByteSwap(CallInst *CI) argument
[all...]
H A DGCStrategy.cpp244 if (CallInst *CI = dyn_cast<CallInst>(I))
245 if (Function *F = CI->getCalledFunction())
291 if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++)) {
292 Function *F = CI->getCalledFunction();
297 Value *St = new StoreInst(CI->getArgOperand(0),
298 CI->getArgOperand(2), CI);
299 CI->replaceAllUsesWith(St);
300 CI->eraseFromParent();
306 Value *Ld = new LoadInst(CI
361 VisitCallPoint(MachineBasicBlock::iterator CI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp56 /// performed. If it returns CI, then it transformed the call and CI is to be
57 /// deleted. If it returns something else, replace CI with the new value and
58 /// delete CI.
59 virtual Value *callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B)
66 Value *optimizeCall(CallInst *CI, const DataLayout *TD, argument
69 Caller = CI->getParent()->getParent();
73 if (CI->getCalledFunction())
74 Context = &CI->getCalledFunction()->getContext();
77 if (!ignoreCallingConv() && CI
118 callHasFloatingPointArgument(const CallInst *CI) argument
153 CallInst *CI; member in struct:__anon2714::InstFortifiedLibCallOptimization
178 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
201 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
224 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
248 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
293 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
343 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
372 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
422 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
466 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
512 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
548 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
593 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
643 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
672 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
708 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
756 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
778 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
813 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
832 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
861 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
893 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
957 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1009 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1028 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1047 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1075 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1112 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1139 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1207 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1251 CallInst *CI = B.CreateCall2(Callee, One, LdExpArg); local
1264 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1300 isTrigLibCall(CallInst *CI) argument
1320 CallInst *CI = dyn_cast<CallInst>(Val); local
1415 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1449 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1466 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1482 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1497 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1517 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &) argument
1535 isReportingError(Function *Callee, CallInst *CI) argument
1563 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1619 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1647 OptimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1712 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1740 optimizeFixedFormatString(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1793 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1821 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1857 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1882 callOptimizer(Function *Callee, CallInst *CI, IRBuilder<> &B) argument
1999 lookupOptimization(CallInst *CI) argument
2174 optimizeCall(CallInst *CI) argument
2193 optimizeCall(CallInst *CI) argument
[all...]
H A DLowerExpectIntrinsic.cpp61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition()); local
62 if (!CI)
65 Function *Fn = CI->getCalledFunction();
69 Value *ArgValue = CI->getArgOperand(0);
70 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
85 MDBuilder(CI->getContext()).createBranchWeights(Weights));
105 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0));
106 if (!CI)
109 Function *Fn = CI->getCalledFunction();
113 Value *ArgValue = CI
151 CallInst *CI = dyn_cast<CallInst>(BI++); local
[all...]
H A DBuildLibCalls.cpp54 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); local
56 CI->setCallingConv(F->getCallingConv());
58 return CI;
84 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); local
86 CI->setCallingConv(F->getCallingConv());
88 return CI;
111 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), local
114 CI->setCallingConv(F->getCallingConv());
115 return CI;
141 CallInst *CI local
167 CallInst *CI = B.CreateCall2(StrCpy, CastToCStr(Dst, B), CastToCStr(Src, B), local
193 CallInst *CI = B.CreateCall3(StrNCpy, CastToCStr(Dst, B), CastToCStr(Src, B), local
223 CallInst *CI = B.CreateCall4(MemCpy, Dst, Src, Len, ObjSize); local
250 CallInst *CI = B.CreateCall3(MemChr, CastToCStr(Ptr, B), Val, Len, "memchr"); local
280 CallInst *CI = B.CreateCall3(MemCmp, CastToCStr(Ptr1, B), CastToCStr(Ptr2, B), local
309 CallInst *CI = B.CreateCall(Callee, Op, Name); local
327 CallInst *CI = B.CreateCall(PutChar, local
357 CallInst *CI = B.CreateCall(PutS, CastToCStr(Str, B), "puts"); local
389 CallInst *CI = B.CreateCall2(F, Char, File, "fputc"); local
421 CallInst *CI = B.CreateCall2(F, CastToCStr(Str, B), File, "fputs"); local
459 CallInst *CI = B.CreateCall4(F, CastToCStr(Ptr, B), Size, local
469 fold(CallInst *CI, const DataLayout *TD, const TargetLibraryInfo *TLI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/
H A DIntrinsicLowering.h50 void LowerIntrinsicCall(CallInst *CI);
55 static bool LowerToByteSwap(CallInst *CI);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessorLexer.h99 PPConditionalInfo CI; local
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) { argument
107 ConditionalStack.push_back(CI);
113 bool popConditionalLevel(PPConditionalInfo &CI) { argument
116 CI
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DARCMTActions.h22 virtual bool BeginInvocation(CompilerInstance &CI);
30 virtual bool BeginInvocation(CompilerInstance &CI);
39 virtual bool BeginInvocation(CompilerInstance &CI);
40 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
49 virtual bool BeginInvocation(CompilerInstance &CI);
68 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,StringRef InFile);
69 virtual bool BeginInvocation(CompilerInstance &CI);
/freebsd-9.3-release/gnu/usr.bin/groff/font/devhtml/
H A DMakefile4 FONTS= R I B BI CR CI CB CBI S
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DFrontendActions.h28 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
43 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
49 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
55 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
61 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
67 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
73 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
87 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
99 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
112 virtual bool BeginSourceFileAction(CompilerInstance &CI, StringRe
[all...]
H A DFrontendAction.h44 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; } argument
79 virtual bool BeginSourceFileAction(CompilerInstance &CI, argument
189 /// \param CI - The compiler instance this action is being run from. The
203 bool BeginSourceFile(CompilerInstance &CI, const FrontendInputFile &Input);
232 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
238 /// \param CI - The compiler instance, for use in reporting diagnostics.
242 virtual bool ParseArgs(const CompilerInstance &CI,
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp99 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
113 bool CanMoveAboveCall(Instruction *I, CallInst *CI);
114 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
250 if (CallInst *CI = dyn_cast<CallInst>(I)) {
251 if (!ACT.UsesAlloca.count(CI)) {
252 CI->setTailCall();
268 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { argument
276 if (CI->mayHaveSideEffects()) {
281 if (CI->mayWriteToMemory() ||
294 if (I->getOperand(i) == CI)
306 isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) argument
341 getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) argument
368 CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI) argument
447 EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, BasicBlock *&OldEntry, bool &TailCallsAreMarkedTail, SmallVectorImpl<PHINode *> &ArgumentPHIs, bool CannotTailCallElimCallsMarkedTail) argument
665 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DFrontendActions.h25 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
34 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
37 virtual bool BeginSourceFileAction(CompilerInstance &CI,
57 virtual bool BeginInvocation(CompilerInstance &CI);
62 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DAutoUpgrade.cpp180 void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) { argument
181 Function *F = CI->getCalledFunction();
182 LLVMContext &C = CI->getContext();
184 Builder.SetInsertPoint(CI->getParent(), CI);
196 Rep = Builder.CreateICmpEQ(CI->getArgOperand(0), CI->getArgOperand(1),
199 Rep = Builder.CreateSExt(Rep, CI->getType(), "");
202 Rep = Builder.CreateICmpSGT(CI->getArgOperand(0), CI
[all...]
H A DIRBuilder.cpp57 CallInst *CI = CallInst::Create(Callee, Ops, ""); local
58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI);
59 Builder->SetInstDebugLocation(CI);
60 return CI;
72 CallInst *CI = createCallHelper(TheFn, Ops, this); local
76 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
78 return CI;
92 CallInst *CI = createCallHelper(TheFn, Ops, this); local
96 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
100 CI
116 CallInst *CI = createCallHelper(TheFn, Ops, this); local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp28 if (ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
29 Offset = CI->getZExtValue();
79 Instruction *InstCombiner::PromoteCastOfAllocation(BitCastInst &CI, argument
84 PointerType *PTy = cast<PointerType>(CI.getType());
146 // things that used it to use the new cast. This will also hack on CI, but it
154 return ReplaceInstUsesWith(CI, New);
235 const CastInst *CI, ///< The first cast instruction
241 Type *SrcTy = CI->getOperand(0)->getType(); // A from above
242 Type *MidTy = CI->getType(); // B from above
245 Instruction::CastOps firstOp = Instruction::CastOps(CI
234 isEliminableCastPair( const CastInst *CI, unsigned opcode, Type *DstTy, DataLayout *TD ) argument
291 commonCastTransforms(CastInst &CI) argument
436 visitTrunc(TruncInst &CI) argument
510 transformZExtICmp(ICmpInst *ICI, Instruction &CI, bool DoXform) argument
757 visitZExt(ZExtInst &CI) argument
901 transformSExtICmp(ICmpInst *ICI, Instruction &CI) argument
1059 visitSExt(SExtInst &CI) argument
1189 visitFPTrunc(FPTruncInst &CI) argument
1303 visitFPExt(CastInst &CI) argument
1347 visitUIToFP(CastInst &CI) argument
1351 visitSIToFP(CastInst &CI) argument
1355 visitIntToPtr(IntToPtrInst &CI) argument
1380 commonPointerCastTransforms(CastInst &CI) argument
1434 visitPtrToInt(PtrToIntInst &CI) argument
1613 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1)); local
1639 OptimizeIntegerToVectorInsertions(BitCastInst &CI, InstCombiner &IC) argument
1669 OptimizeIntToFloatBitCast(BitCastInst &CI,InstCombiner &IC) argument
1727 visitBitCast(BitCastInst &CI) argument
1860 visitAddrSpaceCast(AddrSpaceCastInst &CI) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Frontend/
H A DFrontendActions.h25 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp322 static raw_ostream *GetOutputStream(CompilerInstance &CI, argument
327 return CI.createDefaultOutputFile(false, InFile, "s");
329 return CI.createDefaultOutputFile(false, InFile, "ll");
331 return CI.createDefaultOutputFile(true, InFile, "bc");
336 return CI.createDefaultOutputFile(true, InFile, "o");
342 ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI, argument
345 OwningPtr<raw_ostream> OS(GetOutputStream(CI, InFile, BA));
353 const std::string &LinkBCFile = CI.getCodeGenOpts().LinkBitcodeFile;
358 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr);
360 CI
386 CompilerInstance &CI = getCompilerInstance(); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp33 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { argument
37 switch (CI.getFrontendOpts().ProgramAction) {
71 if (it->getName() == CI.getFrontendOpts().ActionName) {
73 if (!P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs))
79 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name)
80 << CI.getFrontendOpts().ActionName;
87 if (CI.getPreprocessorOutputOpts().RewriteIncludes) {
122 CI.getDiagnostics().Report(diag::err_fe_action_not_available) << Action;
129 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { argument
[all...]

Completed in 314 milliseconds

123456789