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

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI, IRBuilderBase &B);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
62 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B);
63 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
64 Value *optimizeSNPrintfChk(CallInst *CI, IRBuilderBase &B)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
ARCMTActions.cpp 16 bool CheckAction::BeginInvocation(CompilerInstance &CI) {
17 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(),
18 CI.getPCHContainerOperations(),
19 CI.getDiagnostics().getClient()))
23 CI.getDiagnostics().setIgnoreAllWarnings(true);
30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) {
31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(),
32 CI.getPCHContainerOperations(),
33 CI.getDiagnostics().getClient());
39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
FrontendAction.cpp 144 CompilerInstance &CI = getCompilerInstance();
145 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule(
146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false);
150 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
152 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile);
158 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) {
166 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg;
178 if (CI.hasCodeCompletionConsumer())
192 if (llvm::any_of(CI.getFrontendOpts().AddPluginActions,
201 CI,
    [all...]
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...]
FrontendActions.cpp 37 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) {
38 return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer()
42 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) {
44 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty())
45 CI.createCodeCompletionConsumer();
47 if (!CI.hasSema())
48 CI.createSema(Action.getTranslationUnitKind(),
49 GetCodeCompletionConsumer(CI));
58 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
AnalyzerHelpFlags.cpp 28 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) {
33 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(),
34 CI.getFrontendOpts().Plugins);
37 *CI.getAnalyzerOpts(), out);
40 void ento::printEnabledCheckerList(raw_ostream &out, CompilerInstance &CI) {
44 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics()
    [all...]
FrontendActions.cpp 16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
17 return CreateAnalysisConsumer(CI);
24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI,
ModelInjector.cpp 29 ModelInjector::ModelInjector(CompilerInstance &CI) : CI(CI) {}
48 SourceManager &SM = CI.getSourceManager();
51 AnalyzerOptionsRef analyzerOpts = CI.getAnalyzerOpts();
67 auto Invocation = std::make_shared<CompilerInvocation>(CI.getInvocation());
79 CompilerInstance Instance(CI.getPCHContainerOperations());
82 new ForwardingDiagnosticConsumer(CI.getDiagnosticClient()),
89 Instance.setFileManager(&CI.getFileManager());
91 Instance.setPreprocessor(CI.getPreprocessorPtr())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 71 static bool callHasFloatingPointArgument(const CallInst *CI) {
72 return any_of(CI->operands(), [](const Use &OI) {
77 static bool callHasFP128Argument(const CallInst *CI) {
78 return any_of(CI->operands(), [](const Use &OI) {
83 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) {
102 if (!isIntN(CI->getType()->getPrimitiveSizeInBits(), Result))
105 return ConstantInt::get(CI->getType(), Result);
120 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len,
122 if (!isOnlyUsedInComparisonWithZero(CI))
128 if (CI->getFunction()->hasFnAttribute(Attribute::SanitizeMemory)
    [all...]
LibCallsShrinkWrap.cpp 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); }
81 for (auto &CI : WorkList) {
82 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName()
84 if (perform(CI)) {
93 bool perform(CallInst *CI);
94 void checkCandidate(CallInst &CI);
95 void shrinkWrapCI(CallInst *CI, Value *Cond);
96 bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
97 bool performCallErrors(CallInst *CI, const LibFunc &Func)
    [all...]
InjectTLIMappings.cpp 39 /// vectorizes the CallInst CI with a vectorization factor of VF
41 /// CI (other than void) need to be widened to a VectorType of VF
43 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF,
45 Module *M = CI.getModule();
48 Type *RetTy = ToVectorTy(CI.getType(), VF);
50 for (Value *ArgOperand : CI.arg_operands())
52 assert(!CI.getFunctionType()->isVarArg() &&
57 VectorF->copyAttributesFrom(CI.getCalledFunction());
72 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) {
78 if (CI.isNoBuiltin() || !CI.getCalledFunction()
    [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/llvm/lib/CodeGen/
IntrinsicLowering.cpp 30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI,
35 Module *M = CI->getModule();
43 IRBuilder<> Builder(CI->getParent(), CI->getIterator());
46 NewCI->setName(CI->getName());
47 if (!CI->use_empty())
48 CI->replaceAllUsesWith(NewCI);
202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname,
205 switch (CI->getArgOperand(0)->getType()->getTypeID()) {
208 ReplaceCallWith(Fname, CI, CI->arg_begin(), CI->arg_end()
    [all...]
ReplaceWithVeclib.cpp 42 static bool replaceWithTLIFunction(CallInst &CI, const StringRef TLIName) {
43 Module *M = CI.getModule();
45 Function *OldFunc = CI.getCalledFunction();
72 IRBuilder<> IRBuilder(&CI);
73 SmallVector<Value *> Args(CI.arg_operands());
76 CI.getOperandBundlesAsDefs(OpBundles);
80 CI.replaceAllUsesWith(Replacement);
83 Replacement->copyFastMathFlags(&CI);
94 CallInst &CI) {
95 if (!CI.getCalledFunction())
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/
AnalyzerHelpFlags.h 22 void printCheckerHelp(llvm::raw_ostream &OS, CompilerInstance &CI);
23 void printEnabledCheckerList(llvm::raw_ostream &OS, CompilerInstance &CI);
25 void printCheckerConfigList(llvm::raw_ostream &OS, CompilerInstance &CI);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
IntrinsicLowering.h 40 void LowerIntrinsicCall(CallInst *CI);
44 static bool LowerToByteSwap(CallInst *CI);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
TypeMetadataUtils.cpp 28 const CallInst *CI, DominatorTree &DT) {
37 if (!DT.dominates(CI, User))
40 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI,
42 } else if (auto *CI = dyn_cast<CallInst>(User)) {
43 DevirtCalls.push_back({Offset, *CI});
55 int64_t Offset, const CallInst *CI, DominatorTree &DT) {
59 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT);
61 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT);
69 CI, DT);
77 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI,
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIInsertHardClauses.cpp 121 bool emitClause(const ClauseInfo &CI, const SIInstrInfo *SII) {
125 std::distance(CI.First->getIterator(), CI.Last->getIterator()) + 1;
130 auto &MBB = *CI.First->getParent();
132 BuildMI(MBB, *CI.First, DebugLoc(), SII->get(AMDGPU::S_CLAUSE))
135 std::next(CI.Last->getIterator()));
152 ClauseInfo CI;
169 if (CI.Length == 64 ||
170 (CI.Length && Type != HARDCLAUSE_INTERNAL &&
171 (Type != CI.Type |
    [all...]
SILoadStoreOptimizer.cpp 188 static bool dmasksCanBeCombined(const CombineInfo &CI,
191 static bool offsetsCanBeCombined(CombineInfo &CI, const GCNSubtarget &STI,
193 static bool widthsFit(const GCNSubtarget &STI, const CombineInfo &CI,
195 static unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired);
196 static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI,
198 const TargetRegisterClass *getTargetRegisterClass(const CombineInfo &CI,
202 bool checkAndPrepareMerge(CombineInfo &CI, CombineInfo &Paired,
207 MachineBasicBlock::iterator mergeRead2Pair(CombineInfo &CI,
214 mergeWrite2Pair(CombineInfo &CI, CombineInfo &Paired,
217 mergeImagePair(CombineInfo &CI, CombineInfo &Paired
    [all...]
  /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/include/clang/ARCMigrate/
ARCMTActions.h 21 bool BeginInvocation(CompilerInstance &CI) override;
29 bool BeginInvocation(CompilerInstance &CI) override;
38 bool BeginInvocation(CompilerInstance &CI) override;
39 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
48 bool BeginInvocation(CompilerInstance &CI) override;
68 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
70 bool BeginInvocation(CompilerInstance &CI) override;
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
FrontendActions.h 28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
38 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
55 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
61 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
67 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
73 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
79 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
95 static bool ComputeASTConsumerArguments(CompilerInstance &CI,
101 CreateOutputFile(CompilerInstance &CI, StringRef InFile,
104 bool BeginSourceFileAction(CompilerInstance &CI) override
    [all...]
  /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/clang/include/clang/FrontendTool/
Utils.h 28 std::unique_ptr<FrontendAction> CreateFrontendAction(CompilerInstance &CI);
  /src/external/gpl2/groff/font/devhtml/
Makefile 6 FONTS= R I B BI CR CI CB CBI S

Completed in 43 milliseconds

1 2 3 4 5 6 7 8 91011>>