| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 144 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local 145 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false); in getCurrentModule() 150 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() argument 152 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer() 158 for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer() 166 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer() 178 if (CI.hasCodeCompletionConsumer()) in CreateWrappedASTConsumer() 192 if (llvm::any_of(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer() 201 CI, in CreateWrappedASTConsumer() [all …]
|
| H A D | FrontendActions.cpp | 37 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer() argument 38 return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer() in GetCodeCompletionConsumer() 42 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated() argument 44 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated() 45 CI.createCodeCompletionConsumer(); in EnsureSemaIsCreated() 47 if (!CI.hasSema()) in EnsureSemaIsCreated() 48 CI.createSema(Action.getTranslationUnitKind(), in EnsureSemaIsCreated() 49 GetCodeCompletionConsumer(CI)); in EnsureSemaIsCreated() 58 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 70 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument [all …]
|
| H A D | ASTMerge.cpp | 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 21 return AdaptedAction->CreateASTConsumer(CI, InFile); in CreateASTConsumer() 24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() argument 29 AdaptedAction->setCompilerInstance(&CI); in BeginSourceFileAction() 30 return AdaptedAction->BeginSourceFileAction(CI); in BeginSourceFileAction() 34 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 35 CI.getDiagnostics().getClient()->BeginSourceFile( in ExecuteAction() 36 CI.getASTContext().getLangOpts()); in ExecuteAction() 37 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, in ExecuteAction() 38 &CI.getASTContext()); in ExecuteAction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 71 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() argument 72 return any_of(CI->operands(), [](const Use &OI) { in callHasFloatingPointArgument() 77 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() argument 78 return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument() 83 static Value *convertStrToNumber(CallInst *CI, StringRef &Str, int64_t Base) { in convertStrToNumber() argument 102 if (!isIntN(CI->getType()->getPrimitiveSizeInBits(), Result)) in convertStrToNumber() 105 return ConstantInt::get(CI->getType(), Result); in convertStrToNumber() 120 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() argument 122 if (!isOnlyUsedInComparisonWithZero(CI)) in canTransformToMemCmp() 128 if (CI->getFunction()->hasFnAttribute(Attribute::SanitizeMemory)) in canTransformToMemCmp() [all …]
|
| H A D | LibCallsShrinkWrap.cpp | 78 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() argument 81 for (auto &CI : WorkList) { in perform() local 82 LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform() 84 if (perform(CI)) { in perform() 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); 98 bool performCallRangeErrorOnly(CallInst *CI, const LibFunc &Func); [all …]
|
| H A D | InjectTLIMappings.cpp | 43 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration() argument 45 Module *M = CI.getModule(); in addVariantDeclaration() 48 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration() 50 for (Value *ArgOperand : CI.arg_operands()) in addVariantDeclaration() 52 assert(!CI.getFunctionType()->isVarArg() && in addVariantDeclaration() 57 VectorF->copyAttributesFrom(CI.getCalledFunction()); in addVariantDeclaration() 72 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) { in addMappingsFromTLI() argument 78 if (CI.isNoBuiltin() || !CI.getCalledFunction()) in addMappingsFromTLI() 81 StringRef ScalarName = CI.getCalledFunction()->getName(); in addMappingsFromTLI() 88 VFABI::getVectorVariantNames(CI, Mappings); in addMappingsFromTLI() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| H A D | 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() argument 35 Module *M = CI->getModule(); in ReplaceCallWith() 43 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in ReplaceCallWith() 46 NewCI->setName(CI->getName()); in ReplaceCallWith() 47 if (!CI->use_empty()) in ReplaceCallWith() 48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith() 202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() argument 205 switch (CI->getArgOperand(0)->getType()->getTypeID()) { in ReplaceFPIntrinsicWithCall() 208 ReplaceCallWith(Fname, CI, CI->arg_begin(), CI->arg_end(), in ReplaceFPIntrinsicWithCall() 209 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall() [all …]
|
| H A D | GCRootLowering.cpp | 62 void VisitCallPoint(MachineBasicBlock::iterator CI); 133 if (CallInst *CI = dyn_cast<CallInst>(I)) in CouldBecomeSafePoint() local 134 if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint() 196 IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++); in DoLowering() local 197 if (!CI) in DoLowering() 200 Function *F = CI->getCalledFunction(); in DoLowering() 205 Value *St = new StoreInst(CI->getArgOperand(0), in DoLowering() 206 CI->getArgOperand(2), CI); in DoLowering() 207 CI->replaceAllUsesWith(St); in DoLowering() 208 CI->eraseFromParent(); in DoLowering() [all …]
|
| H A D | PreISelIntrinsicLowering.cpp | 40 auto CI = dyn_cast<CallInst>(I->getUser()); in lowerLoadRelative() local 42 if (!CI || CI->getCalledOperand() != &F) in lowerLoadRelative() 45 IRBuilder<> B(CI); in lowerLoadRelative() 47 B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1)); in lowerLoadRelative() 51 Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32); in lowerLoadRelative() 53 CI->replaceAllUsesWith(ResultPtr); in lowerLoadRelative() 54 CI->eraseFromParent(); in lowerLoadRelative() 94 auto *CI = cast<CallInst>(I->getUser()); in lowerObjCCall() local 95 assert(CI->getCalledFunction() && "Cannot lower an indirect call!"); in lowerObjCCall() 98 IRBuilder<> Builder(CI->getParent(), CI->getIterator()); in lowerObjCCall() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 43 CI.createDefaultOutputFile(false, InFile)) in CreateASTConsumer() 44 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor()); in CreateASTConsumer() 52 FixItAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() argument 96 bool FixItAction::BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() argument 105 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction() 106 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction() 115 bool FixItRecompile::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument 120 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation() 122 if (FixAction->BeginSourceFile(CI, FEOpts.Inputs[0])) { in BeginInvocation() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1201 static Value *UpgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallInst &CI, in UpgradeX86VPERMT2Intrinsics() argument 1203 Type *Ty = CI.getType(); in UpgradeX86VPERMT2Intrinsics() 1247 Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in UpgradeX86VPERMT2Intrinsics() 1248 CI.getArgOperand(2) }; in UpgradeX86VPERMT2Intrinsics() 1254 Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in UpgradeX86VPERMT2Intrinsics() 1257 : Builder.CreateBitCast(CI.getArgOperand(1), in UpgradeX86VPERMT2Intrinsics() 1259 return EmitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in UpgradeX86VPERMT2Intrinsics() 1262 static Value *UpgradeX86BinaryIntrinsics(IRBuilder<> &Builder, CallInst &CI, in UpgradeX86BinaryIntrinsics() argument 1264 Type *Ty = CI.getType(); in UpgradeX86BinaryIntrinsics() 1265 Value *Op0 = CI.getOperand(0); in UpgradeX86BinaryIntrinsics() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | 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 …]
|
| H A D | AMDGPULibCalls.cpp | 61 bool replaceWithNative(CallInst *CI, const FuncInfo &FInfo); 66 bool TDOFold(CallInst *CI, const FuncInfo &FInfo); 71 bool fold_recip(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 74 bool fold_divide(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 77 bool fold_pow(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 80 bool fold_rootn(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 83 bool fold_fma_mad(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 94 bool fold_exp(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 97 bool fold_exp2(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); 100 bool fold_exp10(CallInst *CI, IRBuilder<> &B, const FuncInfo &FInfo); [all …]
|
| H A D | SIInsertHardClauses.cpp | 121 bool emitClause(const ClauseInfo &CI, const SIInstrInfo *SII) { in emitClause() argument 125 std::distance(CI.First->getIterator(), CI.Last->getIterator()) + 1; in emitClause() 130 auto &MBB = *CI.First->getParent(); in emitClause() 132 BuildMI(MBB, *CI.First, DebugLoc(), SII->get(AMDGPU::S_CLAUSE)) in emitClause() 135 std::next(CI.Last->getIterator())); in emitClause() 152 ClauseInfo CI; in runOnMachineFunction() local 169 if (CI.Length == 64 || in runOnMachineFunction() 170 (CI.Length && Type != HARDCLAUSE_INTERNAL && in runOnMachineFunction() 171 (Type != CI.Type || in runOnMachineFunction() 177 !SII->shouldClusterMemOps(CI.BaseOps, BaseOps, 2, 2)))) { in runOnMachineFunction() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 74 static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT, 145 static void scalarizeMaskedLoad(const DataLayout &DL, CallInst *CI, in scalarizeMaskedLoad() argument 147 Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad() 148 Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad() 149 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() 150 Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad() 153 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad() 157 IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad() 158 Instruction *InsertPt = CI; in scalarizeMaskedLoad() 159 BasicBlock *IfBlock = CI->getParent(); in scalarizeMaskedLoad() [all …]
|
| H A D | TailRecursionElimination.cpp | 242 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local 246 if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I) || in markTails() 252 CI->isNoTailCall() || CI->hasOperandBundlesOtherThan( in markTails() 255 if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails() 264 for (auto &Arg : CI->arg_operands()) { in markTails() 276 return OptimizationRemark(DEBUG_TYPE, "tailcall-readnone", CI) in markTails() 279 CI->setTailCall(); in markTails() 285 if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) { in markTails() 286 DeferredTails.push_back(CI); in markTails() 319 for (CallInst *CI : DeferredTails) { in markTails() [all …]
|
| H A D | LowerExpectIntrinsic.cpp | 58 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight() argument 65 assert(CI->getNumOperands() >= 3 && in getBranchWeight() 67 ConstantFP *Confidence = dyn_cast<ConstantFP>(CI->getArgOperand(2)); in getBranchWeight() 79 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local 80 if (!CI) in handleSwitchExpect() 83 Function *Fn = CI->getCalledFunction(); in handleSwitchExpect() 88 Value *ArgValue = CI->getArgOperand(0); in handleSwitchExpect() 89 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect() 97 getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect() 107 MDBuilder(CI->getContext()).createBranchWeights(Weights)); in handleSwitchExpect() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/clang-import-test/ |
| H A D | clang-import-test.cpp | 220 BuildASTContext(CompilerInstance &CI, SelectorTable &ST, Builtin::Context &BC) { in BuildASTContext() argument 222 CI.getLangOpts(), CI.getSourceManager(), in BuildASTContext() 223 CI.getPreprocessor().getIdentifierTable(), ST, BC); in BuildASTContext() 224 AST->InitBuiltinTypes(CI.getTarget()); in BuildASTContext() 228 std::unique_ptr<CodeGenerator> BuildCodeGen(CompilerInstance &CI, in BuildCodeGen() argument 232 CI.getDiagnostics(), ModuleName, CI.getHeaderSearchOpts(), in BuildCodeGen() 233 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), LLVMCtx)); in BuildCodeGen() 249 std::unique_ptr<CompilerInstance> CI; member 251 ASTContext &getASTContext() { return CI->getASTContext(); } in getASTContext() 252 FileManager &getFileManager() { return CI->getFileManager(); } in getFileManager() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalyzerHelpFlags.cpp | 28 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) { in printCheckerHelp() argument 33 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerHelp() 34 CI.getFrontendOpts().Plugins); in printCheckerHelp() 37 *CI.getAnalyzerOpts(), out); in printCheckerHelp() 40 void ento::printEnabledCheckerList(raw_ostream &out, CompilerInstance &CI) { in printEnabledCheckerList() argument 44 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printEnabledCheckerList() 45 CI.getFrontendOpts().Plugins); in printEnabledCheckerList() 50 void ento::printCheckerConfigList(raw_ostream &out, CompilerInstance &CI) { in printCheckerConfigList() argument 53 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerConfigList() 54 CI.getFrontendOpts().Plugins); in printCheckerConfigList() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| H A D | FrontendActions.h | 28 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, 38 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() argument 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 …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | ARCMTActions.cpp | 16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument 17 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(), in BeginInvocation() 18 CI.getPCHContainerOperations(), in BeginInvocation() 19 CI.getDiagnostics().getClient())) in BeginInvocation() 23 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation() 30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument 31 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(), in BeginInvocation() 32 CI.getPCHContainerOperations(), in BeginInvocation() 33 CI.getDiagnostics().getClient()); in BeginInvocation() 39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 28 const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset() argument 37 if (!DT.dominates(CI, User)) in findCallsAtConstantOffset() 40 findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI, in findCallsAtConstantOffset() 42 } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local 43 DevirtCalls.push_back({Offset, *CI}); in findCallsAtConstantOffset() 55 int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset() argument 59 findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT); in findLoadCallsAtConstantOffset() 61 findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT); in findLoadCallsAtConstantOffset() 69 CI, DT); in findLoadCallsAtConstantOffset() 77 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI, in findDevirtualizableCallsForTypeTest() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | 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, in handlePowSpecialCases() argument 107 if (Constant *Exp = dyn_cast<Constant>(CI->getArgOperand(1))) in handlePowSpecialCases() 111 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases() 117 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases() 120 CI->setCalledFunction( in handlePowSpecialCases() 121 Intrinsic::getDeclaration(&M, Intrinsic::pow, CI->getType())); in handlePowSpecialCases() 131 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall() argument 134 if (CI->use_empty()) in lowerMASSVCall() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 47 IncrementalAction(CompilerInstance &CI, llvm::LLVMContext &LLVMCtx, in IncrementalAction() argument 52 switch (CI.getFrontendOpts().ProgramAction) { in IncrementalAction() 58 CI.getFrontendOpts().ProgramAction); in IncrementalAction() 65 Act = CreateFrontendAction(CI); in IncrementalAction() 79 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local 80 assert(CI.hasPreprocessor() && "No PP!"); in ExecuteAction() 85 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in ExecuteAction() 86 CI.createCodeCompletionConsumer(); in ExecuteAction() 90 if (CI.hasCodeCompletionConsumer()) in ExecuteAction() 91 CompletionConsumer = &CI.getCodeCompletionConsumer(); in ExecuteAction() [all …]
|