| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ | 
| H A D | FrontendAction.cpp | 158   CompilerInstance &CI = getCompilerInstance(); in getCurrentModule()   local 159   return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule()
 160       CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule()
 164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()   argument
 166   std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile); in CreateWrappedASTConsumer()
 172   for (const std::string &Arg : CI.getFrontendOpts().AddPluginActions) { in CreateWrappedASTConsumer()
 180       CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer()
 192   if (CI.hasCodeCompletionConsumer()) in CreateWrappedASTConsumer()
 207       if (llvm::is_contained(CI.getFrontendOpts().AddPluginActions, in CreateWrappedASTConsumer()
 218             CI, in CreateWrappedASTConsumer()
 252 ReadOriginalFileName(CompilerInstance & CI,std::string & InputFile,bool IsModuleMap=false) ReadOriginalFileName()  argument
 446 loadModuleMapForModuleBuild(CompilerInstance & CI,bool IsSystem,bool IsPreprocessed,std::string & PresumedModuleMapFile,unsigned & Offset) loadModuleMapForModuleBuild()  argument
 489 prepareToBuildModule(CompilerInstance & CI,StringRef ModuleMapFilename) prepareToBuildModule()  argument
 555 getInputBufferForModule(CompilerInstance & CI,Module * M) getInputBufferForModule()  argument
 580 BeginSourceFile(CompilerInstance & CI,const FrontendInputFile & RealInput) BeginSourceFile()  argument
 1063 CompilerInstance &CI = getCompilerInstance(); Execute()  local
 1092 CompilerInstance &CI = getCompilerInstance(); EndSourceFile()  local
 1161 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 1190 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 1195 PrepareToExecuteAction(CompilerInstance & CI) PrepareToExecuteAction()  argument
 1199 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 1203 BeginInvocation(CompilerInstance & CI) BeginInvocation()  argument
 1206 BeginSourceFileAction(CompilerInstance & CI) BeginSourceFileAction()  argument
 [all...]
 | 
| H A D | FrontendActions.cpp | 42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer()   argument 43   return CI.hasCodeCompletionConsumer() ? &CI.getCodeCompletionConsumer() in GetCodeCompletionConsumer()
 47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated()   argument
 49       !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in EnsureSemaIsCreated()
 50     CI.createCodeCompletionConsumer(); in EnsureSemaIsCreated()
 52   if (!CI.hasSema()) in EnsureSemaIsCreated()
 53     CI.createSema(Action.getTranslationUnitKind(), in EnsureSemaIsCreated()
 54                   GetCodeCompletionConsumer(CI)); in EnsureSemaIsCreated()
 63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRe  argument
 86 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 96 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 104 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 113 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 118 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 123 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 152 ComputeASTConsumerArguments(CompilerInstance & CI,std::string & Sysroot) ComputeASTConsumerArguments()  argument
 164 CreateOutputFile(CompilerInstance & CI,StringRef InFile,std::string & OutputFile) CreateOutputFile()  argument
 182 BeginSourceFileAction(CompilerInstance & CI) BeginSourceFileAction()  argument
 188 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 222 BeginSourceFileAction(CompilerInstance & CI) BeginSourceFileAction()  argument
 232 CreateOutputFile(CompilerInstance & CI,StringRef InFile) CreateOutputFile()  argument
 255 BeginSourceFileAction(CompilerInstance & CI) BeginSourceFileAction()  argument
 262 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 272 CreateOutputFile(CompilerInstance & CI,StringRef InFile) CreateOutputFile()  argument
 277 BeginSourceFileAction(CompilerInstance & CI) BeginSourceFileAction()  argument
 287 CreateOutputFile(CompilerInstance & CI,StringRef InFile) CreateOutputFile()  argument
 296 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 301 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 307 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 312 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 549 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 554 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 782 BeginInvocation(CompilerInstance & CI) BeginInvocation()  argument
 816 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 986 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 1078 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 1088 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 1136 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 1167 CompilerInstance &CI = getCompilerInstance(); ExecuteAction()  local
 [all...]
 | 
| H A D | ASTMerge.cpp | 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {  in CreateASTConsumer()  argument21   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 …]
 
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ | 
| H A D | SimplifyLibCalls.cpp | 118 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFP128Argument() 119   return any_of(CI->operands(), [](const Use &OI) { in callHasFP128Argument()
 124 static bool callHasFP128Argument(const CallInst *CI) {
 125   return any_of(CI->operands(), [](const Use &OI) {
 137 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt()
 170   Type *RetTy = CI->getType(); in convertStrToInt()
 227     Value *StrBeg = CI->getArgOperand(0); in convertStrToInt()
 251 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp()
 253   if (!isOnlyUsedInComparisonWithZero(CI)) in canTransformToMemCmp()
 259   if (CI in annotateDereferenceableBytes()
 109 callHasFloatingPointArgument(const CallInst * CI) callHasFloatingPointArgument()  argument
 115 callHasFP128Argument(const CallInst * CI) callHasFP128Argument()  argument
 128 convertStrToInt(CallInst * CI,StringRef & Str,Value * EndPtr,uint64_t Base,bool AsSigned,IRBuilderBase & B) convertStrToInt()  argument
 242 canTransformToMemCmp(CallInst * CI,Value * Str,uint64_t Len,const DataLayout & DL) canTransformToMemCmp()  argument
 256 annotateDereferenceableBytes(CallInst * CI,ArrayRef<unsigned> ArgNos,uint64_t DereferenceableBytes) annotateDereferenceableBytes()  argument
 281 annotateNonNullNoUndefBasedOnAccess(CallInst * CI,ArrayRef<unsigned> ArgNos) annotateNonNullNoUndefBasedOnAccess()  argument
 303 annotateNonNullAndDereferenceable(CallInst * CI,ArrayRef<unsigned> ArgNos,Value * Size,const DataLayout & DL) annotateNonNullAndDereferenceable()  argument
 348 optimizeStrCat(CallInst * CI,IRBuilderBase & B) optimizeStrCat()  argument
 390 optimizeStrNCat(CallInst * CI,IRBuilderBase & B) optimizeStrNCat()  argument
 436 memChrToCharCompare(CallInst * CI,Value * NBytes,IRBuilderBase & B,const DataLayout & DL) memChrToCharCompare()  argument
 458 optimizeStrChr(CallInst * CI,IRBuilderBase & B) optimizeStrChr()  argument
 520 optimizeStrRChr(CallInst * CI,IRBuilderBase & B) optimizeStrRChr()  argument
 544 optimizeStrCmp(CallInst * CI,IRBuilderBase & B) optimizeStrCmp()  argument
 609 optimizeStrNCmp(CallInst * CI,IRBuilderBase & B) optimizeStrNCmp()  argument
 681 optimizeStrNDup(CallInst * CI,IRBuilderBase & B) optimizeStrNDup()  argument
 694 optimizeStrCpy(CallInst * CI,IRBuilderBase & B) optimizeStrCpy()  argument
 716 optimizeStpCpy(CallInst * CI,IRBuilderBase & B) optimizeStpCpy()  argument
 750 optimizeStrLCpy(CallInst * CI,IRBuilderBase & B) optimizeStrLCpy()  argument
 829 optimizeStringNCpy(CallInst * CI,bool RetEnd,IRBuilderBase & B) optimizeStringNCpy()  argument
 922 optimizeStringLength(CallInst * CI,IRBuilderBase & B,unsigned CharSize,Value * Bound) optimizeStringLength()  argument
 1038 optimizeStrLen(CallInst * CI,IRBuilderBase & B) optimizeStrLen()  argument
 1045 optimizeStrNLen(CallInst * CI,IRBuilderBase & B) optimizeStrNLen()  argument
 1055 optimizeWcslen(CallInst * CI,IRBuilderBase & B) optimizeWcslen()  argument
 1065 optimizeStrPBrk(CallInst * CI,IRBuilderBase & B) optimizeStrPBrk()  argument
 1092 optimizeStrTo(CallInst * CI,IRBuilderBase & B) optimizeStrTo()  argument
 1103 optimizeStrSpn(CallInst * CI,IRBuilderBase & B) optimizeStrSpn()  argument
 1124 optimizeStrCSpn(CallInst * CI,IRBuilderBase & B) optimizeStrCSpn()  argument
 1148 optimizeStrStr(CallInst * CI,IRBuilderBase & B) optimizeStrStr()  argument
 1202 optimizeMemRChr(CallInst * CI,IRBuilderBase & B) optimizeMemRChr()  argument
 1290 optimizeMemChr(CallInst * CI,IRBuilderBase & B) optimizeMemChr()  argument
 1484 optimizeMemCmpVarSize(CallInst * CI,Value * LHS,Value * RHS,Value * Size,bool StrNCmp,IRBuilderBase & B,const DataLayout & DL) optimizeMemCmpVarSize()  argument
 1526 optimizeMemCmpConstantSize(CallInst * CI,Value * LHS,Value * RHS,uint64_t Len,IRBuilderBase & B,const DataLayout & DL) optimizeMemCmpConstantSize()  argument
 1573 optimizeMemCmpBCmpCommon(CallInst * CI,IRBuilderBase & B) optimizeMemCmpBCmpCommon()  argument
 1591 optimizeMemCmp(CallInst * CI,IRBuilderBase & B) optimizeMemCmp()  argument
 1610 optimizeBCmp(CallInst * CI,IRBuilderBase & B) optimizeBCmp()  argument
 1614 optimizeMemCpy(CallInst * CI,IRBuilderBase & B) optimizeMemCpy()  argument
 1627 optimizeMemCCpy(CallInst * CI,IRBuilderBase & B) optimizeMemCCpy()  argument
 1667 optimizeMemPCpy(CallInst * CI,IRBuilderBase & B) optimizeMemPCpy()  argument
 1680 optimizeMemMove(CallInst * CI,IRBuilderBase & B) optimizeMemMove()  argument
 1693 optimizeMemSet(CallInst * CI,IRBuilderBase & B) optimizeMemSet()  argument
 1706 optimizeRealloc(CallInst * CI,IRBuilderBase & B) optimizeRealloc()  argument
 1717 optimizeNew(CallInst * CI,IRBuilderBase & B,LibFunc & Func) optimizeNew()  argument
 1771 replaceUnaryCall(CallInst * CI,IRBuilderBase & B,Intrinsic::ID IID) replaceUnaryCall()  argument
 1808 optimizeDoubleFP(CallInst * CI,IRBuilderBase & B,bool isBinary,const TargetLibraryInfo * TLI,bool isPrecise=false) optimizeDoubleFP()  argument
 1868 optimizeUnaryDoubleFP(CallInst * CI,IRBuilderBase & B,const TargetLibraryInfo * TLI,bool isPrecise=false) optimizeUnaryDoubleFP()  argument
 1875 optimizeBinaryDoubleFP(CallInst * CI,IRBuilderBase & B,const TargetLibraryInfo * TLI,bool isPrecise=false) optimizeBinaryDoubleFP()  argument
 1882 optimizeCAbs(CallInst * CI,IRBuilderBase & B) optimizeCAbs()  argument
 2322 optimizeExp2(CallInst * CI,IRBuilderBase & B) optimizeExp2()  argument
 2355 optimizeFMinFMax(CallInst * CI,IRBuilderBase & B) optimizeFMinFMax()  argument
 2541 optimizeSqrt(CallInst * CI,IRBuilderBase & B) optimizeSqrt()  argument
 2611 optimizeTan(CallInst * CI,IRBuilderBase & B) optimizeTan()  argument
 2642 isTrigLibCall(CallInst * CI) isTrigLibCall()  argument
 2705 optimizeSinCosPi(CallInst * CI,bool IsSin,IRBuilderBase & B) optimizeSinCosPi()  argument
 2752 auto *CI = dyn_cast<CallInst>(Val); classifyArgUse()  local
 2789 optimizeFFS(CallInst * CI,IRBuilderBase & B) optimizeFFS()  argument
 2805 optimizeFls(CallInst * CI,IRBuilderBase & B) optimizeFls()  argument
 2818 optimizeAbs(CallInst * CI,IRBuilderBase & B) optimizeAbs()  argument
 2827 optimizeIsDigit(CallInst * CI,IRBuilderBase & B) optimizeIsDigit()  argument
 2836 optimizeIsAscii(CallInst * CI,IRBuilderBase & B) optimizeIsAscii()  argument
 2844 optimizeToAscii(CallInst * CI,IRBuilderBase & B) optimizeToAscii()  argument
 2851 optimizeAtoi(CallInst * CI,IRBuilderBase & B) optimizeAtoi()  argument
 2862 optimizeStrToInt(CallInst * CI,IRBuilderBase & B,bool AsSigned) optimizeStrToInt()  argument
 2890 optimizeErrorReporting(CallInst * CI,IRBuilderBase & B,int StreamArg) optimizeErrorReporting()  argument
 2909 isReportingError(Function * Callee,CallInst * CI,int StreamArg) isReportingError()  argument
 2930 optimizePrintFString(CallInst * CI,IRBuilderBase & B) optimizePrintFString()  argument
 3008 optimizePrintF(CallInst * CI,IRBuilderBase & B) optimizePrintF()  argument
 3046 optimizeSPrintFString(CallInst * CI,IRBuilderBase & B) optimizeSPrintFString()  argument
 3130 optimizeSPrintF(CallInst * CI,IRBuilderBase & B) optimizeSPrintF()  argument
 3172 emitSnPrintfMemCpy(CallInst * CI,Value * StrArg,StringRef Str,uint64_t N,IRBuilderBase & B) emitSnPrintfMemCpy()  argument
 3221 optimizeSnPrintFString(CallInst * CI,IRBuilderBase & B) optimizeSnPrintFString()  argument
 3291 optimizeSnPrintF(CallInst * CI,IRBuilderBase & B) optimizeSnPrintF()  argument
 3301 optimizeFPrintFString(CallInst * CI,IRBuilderBase & B) optimizeFPrintFString()  argument
 3356 optimizeFPrintF(CallInst * CI,IRBuilderBase & B) optimizeFPrintF()  argument
 3392 optimizeFWrite(CallInst * CI,IRBuilderBase & B) optimizeFWrite()  argument
 3419 optimizeFPuts(CallInst * CI,IRBuilderBase & B) optimizeFPuts()  argument
 3449 optimizePuts(CallInst * CI,IRBuilderBase & B) optimizePuts()  argument
 3467 optimizeBCopy(CallInst * CI,IRBuilderBase & B) optimizeBCopy()  argument
 3480 optimizeStringMemoryLibCall(CallInst * CI,IRBuilderBase & Builder) optimizeStringMemoryLibCall()  argument
 3577 optimizeFloatingPointLibCall(CallInst * CI,LibFunc Func,IRBuilderBase & Builder) optimizeFloatingPointLibCall()  argument
 3684 optimizeCall(CallInst * CI,IRBuilderBase & Builder) optimizeCall()  argument
 3863 isFortifiedCallFoldable(CallInst * CI,unsigned ObjSizeOp,std::optional<unsigned> SizeOp,std::optional<unsigned> StrOp,std::optional<unsigned> FlagOp) isFortifiedCallFoldable()  argument
 3903 optimizeMemCpyChk(CallInst * CI,IRBuilderBase & B) optimizeMemCpyChk()  argument
 3915 optimizeMemMoveChk(CallInst * CI,IRBuilderBase & B) optimizeMemMoveChk()  argument
 3927 optimizeMemSetChk(CallInst * CI,IRBuilderBase & B) optimizeMemSetChk()  argument
 3939 optimizeMemPCpyChk(CallInst * CI,IRBuilderBase & B) optimizeMemPCpyChk()  argument
 3950 optimizeStrpCpyChk(CallInst * CI,IRBuilderBase & B,LibFunc Func) optimizeStrpCpyChk()  argument
 3997 optimizeStrLenChk(CallInst * CI,IRBuilderBase & B) optimizeStrLenChk()  argument
 4005 optimizeStrpNCpyChk(CallInst * CI,IRBuilderBase & B,LibFunc Func) optimizeStrpNCpyChk()  argument
 4022 optimizeMemCCpyChk(CallInst * CI,IRBuilderBase & B) optimizeMemCCpyChk()  argument
 4032 optimizeSNPrintfChk(CallInst * CI,IRBuilderBase & B) optimizeSNPrintfChk()  argument
 4044 optimizeSPrintfChk(CallInst * CI,IRBuilderBase & B) optimizeSPrintfChk()  argument
 4056 optimizeStrCatChk(CallInst * CI,IRBuilderBase & B) optimizeStrCatChk()  argument
 4065 optimizeStrLCat(CallInst * CI,IRBuilderBase & B) optimizeStrLCat()  argument
 4075 optimizeStrNCatChk(CallInst * CI,IRBuilderBase & B) optimizeStrNCatChk()  argument
 4085 optimizeStrLCpyChk(CallInst * CI,IRBuilderBase & B) optimizeStrLCpyChk()  argument
 4095 optimizeVSNPrintfChk(CallInst * CI,IRBuilderBase & B) optimizeVSNPrintfChk()  argument
 4105 optimizeVSPrintfChk(CallInst * CI,IRBuilderBase & B) optimizeVSPrintfChk()  argument
 4115 optimizeCall(CallInst * CI,IRBuilderBase & Builder) optimizeCall()  argument
 [all...]
 | 
| H A D | LibCallsShrinkWrap.cpp | 57   void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst()   argument 60     for (auto &CI : WorkList) { in perform()   local
 61       LLVM_DEBUG(dbgs() << "CDCE calls: " << CI->getCalledFunction()->getName() in perform()
 63       if (perform(CI)) { in perform()
 72   bool perform(CallInst *CI);
 73   void checkCandidate(CallInst &CI);
 74   void shrinkWrapCI(CallInst *CI, Value *Cond);
 75   bool performCallDomainErrorOnly(CallInst *CI, const LibFunc &Func);
 76   bool performCallErrors(CallInst *CI, cons
 83 createOrCond(CallInst * CI,Value * Arg,CmpInst::Predicate Cmp,float Val,Value * Arg2,CmpInst::Predicate Cmp2,float Val2) createOrCond()  argument
 93 createOrCond(CallInst * CI,CmpInst::Predicate Cmp,float Val,CmpInst::Predicate Cmp2,float Val2) createOrCond()  argument
 111 createCond(CallInst * CI,Value * Arg,CmpInst::Predicate Cmp,float Val) createCond()  argument
 118 createCond(CallInst * CI,CmpInst::Predicate Cmp,float Val) createCond()  argument
 130 performCallDomainErrorOnly(CallInst * CI,const LibFunc & Func) performCallDomainErrorOnly()  argument
 182 performCallRangeErrorOnly(CallInst * CI,const LibFunc & Func) performCallRangeErrorOnly()  argument
 220 performCallErrors(CallInst * CI,const LibFunc & Func) performCallErrors()  argument
 284 checkCandidate(CallInst & CI) checkCandidate()  argument
 313 generateOneRangeCond(CallInst * CI,const LibFunc & Func) generateOneRangeCond()  argument
 335 generateTwoRangeCond(CallInst * CI,const LibFunc & Func) generateTwoRangeCond()  argument
 414 generateCondForPow(CallInst * CI,const LibFunc & Func) generateCondForPow()  argument
 467 shrinkWrapCI(CallInst * CI,Value * Cond) shrinkWrapCI()  argument
 487 perform(CallInst * CI) perform()  argument
 [all...]
 | 
| H A D | InjectTLIMappings.cpp | 41 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF,  in addVariantDeclaration()  argument43   Module *M = CI.getModule();  in addVariantDeclaration()
 44   FunctionType *ScalarFTy = CI.getFunctionType();  in addVariantDeclaration()
 58   VecFunc->copyAttributesFrom(CI.getCalledFunction());  in addVariantDeclaration()
 73 static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) {  in addMappingsFromTLI()  argument
 79   if (CI.isNoBuiltin() || !CI.getCalledFunction())  in addMappingsFromTLI()
 82   StringRef ScalarName = CI.getCalledFunction()->getName();  in addMappingsFromTLI()
 89   VFABI::getVectorVariantNames(CI, Mappings);  in addMappingsFromTLI()
 90   Module *M = CI.getModule();  in addMappingsFromTLI()
 104         addVariantDeclaration(CI, VF, VD);  in addMappingsFromTLI()
 [all …]
 
 | 
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ | 
| H A D | SimplifyLibCalls.h | 52   Value *optimizeCall(CallInst *CI, IRBuilderBase &B);55   Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
 56   Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
 57   Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
 60   Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
 61   Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
 62   Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
 63   Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B);
 64   Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
 65   Value *optimizeSNPrintfChk(CallInst *CI, IRBuilderBas
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/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, C in ReplaceFPIntrinsicWithCall()
 224 LowerIntrinsicCall(CallInst * CI) LowerIntrinsicCall()  argument
 454 LowerToByteSwap(CallInst * CI) LowerToByteSwap()  argument
 [all...]
 | 
| H A D | GCRootLowering.cpp | 66   void VisitCallPoint(MachineBasicBlock::iterator CI);154   if (CallInst *CI = dyn_cast<CallInst>(I)) in CouldBecomeSafePoint()
 155     if (Function *F = CI->getCalledFunction()) in CouldBecomeSafePoint()
 210       IntrinsicInst *CI = dyn_cast<IntrinsicInst>(&I); in DoLowering()
 211       if (!CI) in DoLowering()
 214       Function *F = CI->getCalledFunction(); in DoLowering()
 219         Value *St = new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), in DoLowering()
 220                                   CI->getIterator()); in DoLowering()
 221         CI in DoLowering()
 151 if (CallInst *CI = dyn_cast<CallInst>(I)) CouldBecomeSafePoint()  local
 207 IntrinsicInst *CI = dyn_cast<IntrinsicInst>(&I); DoLowering()  local
 272 VisitCallPoint(MachineBasicBlock::iterator CI) VisitCallPoint()  argument
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/ | 
| H A D | FrontendActions.cpp | 41 HTMLPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {  in CreateASTConsumer()  argument43           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 …]
 
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ | 
| H A D | SILoadStoreOptimizer.cpp | 125     bool hasSameBaseAddress(const CombineInfo &CI) { in hasSameBaseAddress() 126       if (NumAddresses != CI.NumAddresses) in hasSameBaseAddress()
 129       const MachineInstr &MI = *CI.I; in hasSameBaseAddress()
 212   static bool dmasksCanBeCombined(const CombineInfo &CI,
 215   static bool offsetsCanBeCombined(CombineInfo &CI, const GCNSubtarget &STI,
 217   static bool widthsFit(const GCNSubtarget &STI, const CombineInfo &CI,
 219   unsigned getNewOpcode(const CombineInfo &CI, const CombineInfo &Paired);
 220   static std::pair<unsigned, unsigned> getSubRegIdxs(const CombineInfo &CI,
 223   getTargetRegisterClass(const CombineInfo &CI,
 227   CombineInfo *checkAndPrepareMerge(CombineInfo &CI, CombineInf
 609 getCommonInstClass(const CombineInfo & CI,const CombineInfo & Paired) getCommonInstClass()  argument
 860 combineKnownAdjacentMMOs(const CombineInfo & CI,const CombineInfo & Paired) combineKnownAdjacentMMOs()  argument
 881 dmasksCanBeCombined(const CombineInfo & CI,const SIInstrInfo & TII,const CombineInfo & Paired) dmasksCanBeCombined()  argument
 956 offsetsCanBeCombined(CombineInfo & CI,const GCNSubtarget & STI,CombineInfo & Paired,bool Modify) offsetsCanBeCombined()  argument
 1081 widthsFit(const GCNSubtarget & STM,const CombineInfo & CI,const CombineInfo & Paired) widthsFit()  argument
 1126 checkAndPrepareMerge(CombineInfo & CI,CombineInfo & Paired) checkAndPrepareMerge()  argument
 1193 mergeRead2Pair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeRead2Pair()  argument
 1290 mergeWrite2Pair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeWrite2Pair()  argument
 1356 mergeImagePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeImagePair()  argument
 1405 mergeSMemLoadImmPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeSMemLoadImmPair()  argument
 1451 mergeBufferLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeBufferLoadPair()  argument
 1506 mergeTBufferLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeTBufferLoadPair()  argument
 1565 mergeTBufferStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeTBufferStorePair()  argument
 1620 mergeFlatLoadPair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeFlatLoadPair()  argument
 1663 mergeFlatStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeFlatStorePair()  argument
 1704 getNewOpcode(const CombineInfo & CI,const CombineInfo & Paired) getNewOpcode()  argument
 1834 getSubRegIdxs(const CombineInfo & CI,const CombineInfo & Paired) getSubRegIdxs()  argument
 1867 getTargetRegisterClass(const CombineInfo & CI,const CombineInfo & Paired) getTargetRegisterClass()  argument
 1894 mergeBufferStorePair(CombineInfo & CI,CombineInfo & Paired,MachineBasicBlock::iterator InsertBefore) mergeBufferStorePair()  argument
 2258 addInstToMergeableList(const CombineInfo & CI,std::list<std::list<CombineInfo>> & MergeableInsts) const addInstToMergeableList()  argument
 2311 CombineInfo CI; collectMergeableInsts()  local
 2415 CombineInfo &CI = *First; optimizeInstsWithSameBaseAddr()  local
 [all...]
 | 
| H A D | SIInsertHardClauses.cpp | 177   bool emitClause(const ClauseInfo &CI, const SIInstrInfo *SII) {178     if (CI.First == CI.Last)
 180     assert(CI.Length <= ST->maxHardClauseLength() &&
 183     auto &MBB = *CI.First->getParent(); in emitClause()
 185         BuildMI(MBB, *CI.First, DebugLoc(), SII->get(AMDGPU::S_CLAUSE)) in emitClause()
 186             .addImm(CI.Length - 1); in emitClause()
 188                    std::next(CI.Last->getIterator())); in emitClause()
 205       ClauseInfo CI; in runOnMachineFunction()
 222         if (CI in runOnMachineFunction()
 182 emitClause(const ClauseInfo & CI,const SIInstrInfo * SII) emitClause()  argument
 209 ClauseInfo CI; runOnMachineFunction()  local
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/IR/ | 
| H A D | AutoUpgrade.cpp | 1653 static Value *upgradeX86VPERMT2Intrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86VPERMT2Intrinsics() 1655   Type *Ty = CI.getType(); in upgradeX86VPERMT2Intrinsics()
 1699   Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1), in upgradeX86Rotate()
 1700                     CI.getArgOperand(2) }; in upgradeX86Rotate()
 1706   Value *V = Builder.CreateCall(Intrinsic::getDeclaration(CI.getModule(), IID), in upgradeX86Rotate()
 1709                              : Builder.CreateBitCast(CI.getArgOperand(1),
 1711   return emitX86Select(Builder, CI.getArgOperand(3), V, PassThru); in upgradeX86vpcom()
 1714 static Value *upgradeX86BinaryIntrinsics(IRBuilder<> &Builder, CallBase &CI, in upgradeX86vpcom()
 1716   Type *Ty = CI in upgradeX86vpcom()
 1606 upgradeX86VPERMT2Intrinsics(IRBuilder<> & Builder,CallBase & CI,bool ZeroMask,bool IndexForm) upgradeX86VPERMT2Intrinsics()  argument
 1667 upgradeX86BinaryIntrinsics(IRBuilder<> & Builder,CallBase & CI,Intrinsic::ID IID) upgradeX86BinaryIntrinsics()  argument
 1683 upgradeX86Rotate(IRBuilder<> & Builder,CallBase & CI,bool IsRotateRight) upgradeX86Rotate()  argument
 1710 upgradeX86vpcom(IRBuilder<> & Builder,CallBase & CI,unsigned Imm,bool IsSigned) upgradeX86vpcom()  argument
 1749 upgradeX86ConcatShift(IRBuilder<> & Builder,CallBase & CI,bool IsShiftRight,bool ZeroMask) upgradeX86ConcatShift()  argument
 1827 upgradeAbs(IRBuilder<> & Builder,CallBase & CI) upgradeAbs()  argument
 1837 upgradePMULDQ(IRBuilder<> & Builder,CallBase & CI,bool IsSigned) upgradePMULDQ()  argument
 1889 upgradeMaskedCompare(IRBuilder<> & Builder,CallBase & CI,unsigned CC,bool Signed) upgradeMaskedCompare()  argument
 1921 upgradeX86MaskedShift(IRBuilder<> & Builder,CallBase & CI,Intrinsic::ID IID) upgradeX86MaskedShift()  argument
 1929 upgradeMaskedMove(IRBuilder<> & Builder,CallBase & CI) upgradeMaskedMove()  argument
 1943 upgradeMaskToInt(IRBuilder<> & Builder,CallBase & CI) upgradeMaskToInt()  argument
 1953 upgradeAVX512MaskToSelect(StringRef Name,IRBuilder<> & Builder,CallBase & CI,Value * & Rep) upgradeAVX512MaskToSelect()  argument
 2201 upgradeARMIntrinsicCall(StringRef Name,CallBase * CI,Function * F,IRBuilder<> & Builder) upgradeARMIntrinsicCall()  argument
 2295 upgradeAMDGCNIntrinsicCall(StringRef Name,CallBase * CI,Function * F,IRBuilder<> & Builder) upgradeAMDGCNIntrinsicCall()  argument
 2333 UpgradeIntrinsicCall(CallBase * CI,Function * NewFn) UpgradeIntrinsicCall()  argument
 4859 CallInst *CI = dyn_cast<CallInst>(U); UpgradeARCRuntime()  local
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/clang/lib/ExtractAPI/ | 
| H A D | ExtractAPIConsumer.cpp | 60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() 63   assert(CI.hasFileManager() && in getRelativeIncludeName()
 67   const auto &FS = CI.getVirtualFileSystem(); in getRelativeIncludeName()
 125   for (const auto &Entry : CI.getHeaderSearchOpts().UserEntries) { in getRelativeIncludeName()
 130     if (auto EntryFile = CI.getFileManager().getOptionalFileRef(Entry.Path)) { in getRelativeIncludeName()
 131       if (auto HMap = HeaderMap::Create(*EntryFile, CI.getFileManager())) { in getRelativeIncludeName()
 172 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName()
 175   return getRelativeIncludeName(CI, FE.getNameAsRequested(), IsQuoted); in getRelativeIncludeName()
 182     auto &SM = CI.getSourceManager(); in operator ()()
 200     if (auto IncludeName = getRelativeIncludeName(CI, *Fil in operator ()()
 57 getRelativeIncludeName(const CompilerInstance & CI,StringRef File,bool * IsQuoted=nullptr) getRelativeIncludeName()  argument
 171 getRelativeIncludeName(const CompilerInstance & CI,FileEntryRef FE,bool * IsQuoted=nullptr) getRelativeIncludeName()  argument
 224 const CompilerInstance &CI; global()  member
 391 CreateOutputFile(CompilerInstance & CI,StringRef InFile) CreateOutputFile()  argument
 402 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 442 PrepareToExecuteAction(CompilerInstance & CI) PrepareToExecuteAction()  argument
 502 CreateASTConsumer(CompilerInstance & CI,StringRef InFile) CreateASTConsumer()  argument
 561 CreateOutputFile(CompilerInstance & CI,StringRef InFile) CreateOutputFile()  argument
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ | 
| H A D | TailRecursionElimination.cpp | 238       CallInst *CI = dyn_cast<CallInst>(&I); in markTails()   local 242       if (!CI || CI->isTailCall() || isa<DbgInfoIntrinsic>(&I) || in markTails()
 248       bool IsNoTail = CI->isNoTailCall() || in markTails()
 249                       CI->hasOperandBundlesOtherThan( in markTails()
 253       if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails()
 262         for (auto &Arg : CI->args()) { in markTails()
 274             return OptimizationRemark(DEBUG_TYPE, "tailcall-readnone", CI) in markTails()
 277           CI->setTailCall(); in markTails()
 283       if (!IsNoTail && Escaped == UNESCAPED && !Tracker.AllocaUsers.count(CI)) in markTails()
 331 canMoveAboveCall(Instruction * I,CallInst * CI,AliasAnalysis * AA) canMoveAboveCall()  argument
 368 canTransformAccumulatorRecursion(Instruction * I,CallInst * CI) canTransformAccumulatorRecursion()  argument
 469 CallInst *CI = nullptr; findTRECandidate()  local
 507 createTailRecurseLoopHeader(CallInst * CI) createTailRecurseLoopHeader()  argument
 591 copyByValueOperandIntoLocalTemp(CallInst * CI,int OpndIdx) copyByValueOperandIntoLocalTemp()  argument
 619 copyLocalTempOfByValueOperandIntoArguments(CallInst * CI,int OpndIdx) copyLocalTempOfByValueOperandIntoArguments()  argument
 637 eliminateCall(CallInst * CI) eliminateCall()  argument
 826 CallInst *CI = findTRECandidate(&BB); processBlock()  local
 847 CallInst *CI = findTRECandidate(&BB); processBlock()  local
 [all...]
 | 
| H A D | ScalarizeMaskedMemIntrin.cpp | 72 static bool optimizeCallInst(CallInst *CI, bool &ModifiedDT,143 static void scalarizeMaskedLoad(const DataLayout &DL, CallInst *CI, in scalarizeMaskedLoad()   argument
 145   Value *Ptr = CI->getArgOperand(0); in scalarizeMaskedLoad()
 146   Value *Alignment = CI->getArgOperand(1); in scalarizeMaskedLoad()
 147   Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad()
 148   Value *Src0 = CI->getArgOperand(3); in scalarizeMaskedLoad()
 151   VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad()
 155   IRBuilder<> Builder(CI->getContext()); in scalarizeMaskedLoad()
 156   Instruction *InsertPt = CI; in scalarizeMaskedLoad()
 157   BasicBlock *IfBlock = CI in scalarizeMaskedLoad()
 281 scalarizeMaskedStore(const DataLayout & DL,CallInst * CI,DomTreeUpdater * DTU,bool & ModifiedDT) scalarizeMaskedStore()  argument
 405 scalarizeMaskedGather(const DataLayout & DL,CallInst * CI,DomTreeUpdater * DTU,bool & ModifiedDT) scalarizeMaskedGather()  argument
 535 scalarizeMaskedScatter(const DataLayout & DL,CallInst * CI,DomTreeUpdater * DTU,bool & ModifiedDT) scalarizeMaskedScatter()  argument
 625 scalarizeMaskedExpandLoad(const DataLayout & DL,CallInst * CI,DomTreeUpdater * DTU,bool & ModifiedDT) scalarizeMaskedExpandLoad()  argument
 752 scalarizeMaskedCompressStore(const DataLayout & DL,CallInst * CI,DomTreeUpdater * DTU,bool & ModifiedDT) scalarizeMaskedCompressStore()  argument
 908 if (CallInst *CI = dyn_cast<CallInst>(&*CurInstIterator++)) optimizeBlock()  local
 917 optimizeCallInst(CallInst * CI,bool & ModifiedDT,const TargetTransformInfo & TTI,const DataLayout & DL,DomTreeUpdater * DTU) optimizeCallInst()  argument
 [all...]
 | 
| H A D | LowerExpectIntrinsic.cpp | 56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight()   argument 63     assert(CI->getNumOperands() >= 3 && in getBranchWeight()
 65     auto *Confidence = cast<ConstantFP>(CI->getArgOperand(2)); in getBranchWeight()
 77   CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect()   local
 78   if (!CI) in handleSwitchExpect()
 81   Function *Fn = CI->getCalledFunction(); in handleSwitchExpect()
 86   Value *ArgValue = CI->getArgOperand(0); in handleSwitchExpect()
 87   ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1)); in handleSwitchExpect()
 95       getBranchWeight(Fn->getIntrinsicID(), CI, n + 1); in handleSwitchExpect()
 216     ConstantInt *CI  in handlePhiDef()   local
 285 CallInst *CI; handleBrSelExpect()  local
 379 CallInst *CI = dyn_cast<CallInst>(&Inst); lowerExpectIntrinsic()  local
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/ | 
| H A D | PPCGenScalarMASSEntries.cpp | 54   bool isCandidateSafeToLower(const CallInst &CI) const;55   bool isFiniteCallSafe(const CallInst &CI) const;
 56   bool createScalarMASSCall(StringRef MASSEntry, CallInst &CI,
 64 bool PPCGenScalarMASSEntries::isCandidateSafeToLower(const CallInst &CI) const {  in isCandidateSafeToLower()
 66   if (!isa<FPMathOperator>(CI))  in isCandidateSafeToLower()
 69   return CI.hasApproxFunc();  in isCandidateSafeToLower()
 74 bool PPCGenScalarMASSEntries::isFiniteCallSafe(const CallInst &CI) const {  in isFiniteCallSafe()
 76   if (!isa<FPMathOperator>(CI))  in isFiniteCallSafe()
 81   return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros();  in isFiniteCallSafe()
 88                                                    CallInst &CI,  in createScalarMASSCall()  argument
 [all …]
 
 | 
| H A D | PPCLowerMASSVEntries.cpp | 57   bool handlePowSpecialCases(CallInst *CI, Function &Func, Module &M);58   bool lowerMASSVCall(CallInst *CI, Function &Func, Module &M,
 107 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, in handlePowSpecialCases()
 112   if (Constant *Exp = dyn_cast<Constant>(CI->getArgOperand(1))) in handlePowSpecialCases()
 116       if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
 122       if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
 125       CI->setCalledFunction( in handlePowSpecialCases()
 126           Intrinsic::getDeclaration(&M, Intrinsic::pow, CI->getType())); in handlePowSpecialCases()
 136 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Functio in lowerMASSVCall()
 105 handlePowSpecialCases(CallInst * CI,Function & Func,Module & M) handlePowSpecialCases()  argument
 134 lowerMASSVCall(CallInst * CI,Function & Func,Module & M,const PPCSubtarget * Subtarget) lowerMASSVCall()  argument
 176 auto *CI = dyn_cast<CallInst>(User); runOnModule()  local
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ | 
| H A D | ModuleDepCollector.cpp | 27   if (const auto *CI = std::get_if<CowCompilerInvocation>(&BuildInfo)) in getBuildArguments()   local 28     BuildInfo = CI->getCC1CommandLine(); in getBuildArguments()
 132 void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI, in makeCommonInvocationForModuleBuild()
 134   CI.getMutFrontendOpts().OutputFile = in makeCommonInvocationForModuleBuild()
 136   if (!CI.getDiagnosticOpts().DiagnosticSerializationFile.empty()) in makeCommonInvocationForModuleBuild()
 137     CI.getMutDiagnosticOpts().DiagnosticSerializationFile = in makeCommonInvocationForModuleBuild()
 140   if (!CI.getDependencyOutputOpts().OutputFile.empty()) { in makeCommonInvocationForModuleBuild()
 141     CI.getMutDependencyOutputOpts().OutputFile = Controller.lookupModuleOutput( in makeCommonInvocationForModuleBuild()
 143     CI.getMutDependencyOutputOpts().Targets = in makeCommonInvocationForModuleBuild()
 147     if (!CI in makeCommonInvocationForModuleBuild()
 87 addOutputPaths(CowCompilerInvocation & CI,ModuleDeps & Deps) addOutputPaths()  argument
 113 makeCommonInvocationForModuleBuild(CompilerInvocation CI) makeCommonInvocationForModuleBuild()  argument
 169 CowCompilerInvocation CI = CommonInvocation; getInvocationAdjustedForModuleBuildWithoutOutputs()  local
 243 addModuleMapFiles(CompilerInvocation & CI,ArrayRef<ModuleID> ClangModuleDeps) const addModuleMapFiles()  argument
 255 addModuleFiles(CompilerInvocation & CI,ArrayRef<ModuleID> ClangModuleDeps) const addModuleFiles()  argument
 268 addModuleFiles(CowCompilerInvocation & CI,ArrayRef<ModuleID> ClangModuleDeps) const addModuleFiles()  argument
 291 applyDiscoveredDependencies(CompilerInvocation & CI) applyDiscoveredDependencies()  argument
 320 getModuleContextHash(const ModuleDeps & MD,const CowCompilerInvocation & CI,bool EagerLoadModules,llvm::vfs::FileSystem & VFS) getModuleContextHash()  argument
 364 associateWithContextHash(const CowCompilerInvocation & CI,ModuleDeps & Deps) associateWithContextHash()  argument
 558 CowCompilerInvocation CI = handleTopLevelModule()  local
 691 makeAbsoluteAndPreferred(CompilerInstance & CI,StringRef Path,SmallVectorImpl<char> & Storage) makeAbsoluteAndPreferred()  argument
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ | 
| H A D | AnalyzerHelpFlags.cpp | 28 void ento::printCheckerHelp(raw_ostream &out, CompilerInstance &CI) {  in printCheckerHelp()  argument33       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 …]
 
 | 
| /freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/ | 
| H A D | ARCMTActions.cpp | 16 bool CheckAction::BeginInvocation(CompilerInstance &CI) {  in BeginInvocation()  argument17   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 …]
 
 | 
| /freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/ | 
| H A D | FrontendActions.h | 26   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,39   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 47   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()   argument
 64   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 70   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 76   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 82   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 88   std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
 104   static bool ComputeASTConsumerArguments(CompilerInstance &CI,
 110   CreateOutputFile(CompilerInstance &CI, StringRe
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ | 
| H A D | TypeMetadataUtils.cpp | 27                           const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset()   argument 36     if (!DT.dominates(CI, User)) in findCallsAtConstantOffset()
 39       findCallsAtConstantOffset(DevirtCalls, HasNonCallUses, User, Offset, CI, in findCallsAtConstantOffset()
 41     } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset()   local
 42       DevirtCalls.push_back({Offset, *CI}); in findCallsAtConstantOffset()
 54     int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset()   argument
 58       findLoadCallsAtConstantOffset(M, DevirtCalls, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
 60       findCallsAtConstantOffset(DevirtCalls, nullptr, User, Offset, CI, DT); in findLoadCallsAtConstantOffset()
 68                                       CI, DT); in findLoadCallsAtConstantOffset()
 74                                     Offset + LoadOffset->getSExtValue(), CI, in findDevirtualizableCallsForTypeTest()
 76 findDevirtualizableCallsForTypeTest(SmallVectorImpl<DevirtCallSite> & DevirtCalls,SmallVectorImpl<CallInst * > & Assumes,const CallInst * CI,DominatorTree & DT) findDevirtualizableCallsForTypeTest()  argument
 100 findDevirtualizableCallsForTypeCheckedLoad(SmallVectorImpl<DevirtCallSite> & DevirtCalls,SmallVectorImpl<Instruction * > & LoadedPtrs,SmallVectorImpl<Instruction * > & Preds,bool & HasNonCallUses,const CallInst * CI,DominatorTree & DT) findDevirtualizableCallsForTypeCheckedLoad()  argument
 165 if (auto *CI = dyn_cast<ConstantInt>(I)) { getPointerAtOffset()  local
 [all...]
 | 
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ | 
| H A D | ObjCARC.h | 39 static inline void EraseInstruction(Instruction *CI) { in EraseInstruction()   argument 40   Value *OldArg = cast<CallInst>(CI)->getArgOperand(0); in EraseInstruction()
 42   bool Unused = CI->use_empty(); in EraseInstruction()
 46     assert((IsForwarding(GetBasicARCInstKind(CI)) || in EraseInstruction()
 47             (IsNoopOnNull(GetBasicARCInstKind(CI)) && in EraseInstruction()
 50     CI->replaceAllUsesWith(OldArg); in EraseInstruction()
 53   CI->eraseFromParent(); in EraseInstruction()
 126     if (auto *CI = dyn_cast<CallInst>(I)) in contains()
 127       return RVCalls.count(CI); in contains()
 132   void eraseInst(CallInst *CI) { in eraseInst()
 125 if (auto *CI = dyn_cast<CallInst>(I)) contains()  local
 131 eraseInst(CallInst * CI) eraseInst()  argument
 136 if (auto *CI = dyn_cast<CallInst>(U)) eraseInst()  local
 [all...]
 |