/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LibCallsShrinkWrap.cpp | 57 void visitCallInst(CallInst &CI) { checkCandidate(CI); } in visitCallInst() 60 for (auto &CI : WorkList) { in perform() local 83 Value *createOrCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createOrCond() 93 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond() 111 Value *createCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createCond() 118 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond() 130 bool LibCallsShrinkWrap::performCallDomainErrorOnly(CallInst *CI, in performCallDomainErrorOnly() 182 bool LibCallsShrinkWrap::performCallRangeErrorOnly(CallInst *CI, in performCallRangeErrorOnly() 220 bool LibCallsShrinkWrap::performCallErrors(CallInst *CI, in performCallErrors() 284 void LibCallsShrinkWrap::checkCandidate(CallInst &CI) { in checkCandidate() [all …]
|
H A D | SimplifyLibCalls.cpp | 118 static bool callHasFloatingPointArgument(const CallInst *CI) { in callHasFloatingPointArgument() 124 static bool callHasFP128Argument(const CallInst *CI) { in callHasFP128Argument() 137 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt() 251 static bool canTransformToMemCmp(CallInst *CI, Value *Str, uint64_t Len, in canTransformToMemCmp() 265 static void annotateDereferenceableBytes(CallInst *CI, in annotateDereferenceableBytes() 290 static void annotateNonNullNoUndefBasedOnAccess(CallInst *CI, in annotateNonNullNoUndefBasedOnAccess() 312 static void annotateNonNullAndDereferenceable(CallInst *CI, ArrayRef<unsigned> ArgNos, in annotateNonNullAndDereferenceable() 357 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrCat() 399 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilderBase &B) { in optimizeStrNCat() 445 static Value* memChrToCharCompare(CallInst *CI, Value *NBytes, in memChrToCharCompare() [all …]
|
H A D | EscapeEnumerator.cpp | 44 if (CallInst *CI = CurBB->getTerminatingMustTailCall()) in Next() local 63 if (CallInst *CI = dyn_cast<CallInst>(&II)) in Next() local 92 CallInst *CI = cast<CallInst>(Calls[--I]); in Next() local
|
H A D | InjectTLIMappings.cpp | 41 static void addVariantDeclaration(CallInst &CI, const ElementCount &VF, in addVariantDeclaration() argument 72 addMappingsFromTLI(const TargetLibraryInfo & TLI,CallInst & CI) addMappingsFromTLI() argument 128 if (auto CI = dyn_cast<CallInst>(&I)) runImpl() local [all...] |
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 42 CodeCompleteConsumer *GetCodeCompletionConsumer(CompilerInstance &CI) { in GetCodeCompletionConsumer() 47 void EnsureSemaIsCreated(CompilerInstance &CI, FrontendAction &Action) { in EnsureSemaIsCreated() 63 InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 86 ReadPCHAndPreprocessAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer() 96 ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 104 ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 113 ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 118 ASTViewAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 123 GeneratePCHAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 152 bool GeneratePCHAction::ComputeASTConsumerArguments(CompilerInstance &CI, in ComputeASTConsumerArguments() [all …]
|
H A D | FrontendAction.cpp | 158 CompilerInstance &CI = getCompilerInstance(); in getCurrentModule() local 164 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer() 252 static SourceLocation ReadOriginalFileName(CompilerInstance &CI, in ReadOriginalFileName() 446 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild() 489 static Module *prepareToBuildModule(CompilerInstance &CI, in prepareToBuildModule() 561 getInputBufferForModule(CompilerInstance &CI, Module *M) { in getInputBufferForModule() 586 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile() 1072 CompilerInstance &CI = getCompilerInstance(); in Execute() local 1101 CompilerInstance &CI = getCompilerInstance(); in EndSourceFile() local 1170 CompilerInstance &CI = getCompilerInstance(); in ExecuteAction() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMTActions.cpp | 16 bool CheckAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 30 bool ModifyAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation() 39 bool MigrateAction::BeginInvocation(CompilerInstance &CI) { in BeginInvocation()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | ObjCARC.h | 39 static inline void EraseInstruction(Instruction *CI) { in EraseInstruction() 126 if (auto *CI = dyn_cast<CallInst>(I)) in contains() local 132 void eraseInst(CallInst *CI) { in eraseInst() 137 if (auto *CI = dyn_cast<CallInst>(U)) in eraseInst() local
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | FrontendAction.h | 55 virtual bool PrepareToExecuteAction(CompilerInstance &CI) { return true; } in PrepareToExecuteAction() 79 virtual bool BeginInvocation(CompilerInstance &CI) { return true; } in BeginInvocation() 85 virtual bool BeginSourceFileAction(CompilerInstance &CI) { in BeginSourceFileAction() 207 bool PrepareToExecute(CompilerInstance &CI) { in PrepareToExecute()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TypeMetadataUtils.cpp | 27 const CallInst *CI, DominatorTree &DT) { in findCallsAtConstantOffset() 41 } else if (auto *CI = dyn_cast<CallInst>(User)) { in findCallsAtConstantOffset() local 54 int64_t Offset, const CallInst *CI, DominatorTree &DT) { in findLoadCallsAtConstantOffset() 84 SmallVectorImpl<CallInst *> &Assumes, const CallInst *CI, in findDevirtualizableCallsForTypeTest() 108 const CallInst *CI, DominatorTree &DT) { in findDevirtualizableCallsForTypeCheckedLoad() 179 if (auto *CI = dyn_cast<ConstantInt>(I)) { in getPointerAtOffset() local
|
H A D | AssumptionCache.cpp | 59 findAffectedValues(CallBase *CI, TargetTransformInfo *TTI, in findAffectedValues() 99 void AssumptionCache::updateAffectedValues(AssumeInst *CI) { in updateAffectedValues() 112 void AssumptionCache::unregisterAssumption(AssumeInst *CI) { in unregisterAssumption() 187 void AssumptionCache::registerAssumption(AssumeInst *CI) { in registerAssumption()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | FrontendActions.cpp | 16 AnalysisAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 24 ParseModelFileAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAMDGPU.cpp | 142 SemaAMDGPU::CreateAMDGPUFlatWorkGroupSizeAttr(const AttributeCommonInfo &CI, in CreateAMDGPUFlatWorkGroupSizeAttr() 154 const AttributeCommonInfo &CI, in addAMDGPUFlatWorkGroupSizeAttr() 203 SemaAMDGPU::CreateAMDGPUWavesPerEUAttr(const AttributeCommonInfo &CI, in CreateAMDGPUWavesPerEUAttr() 214 void SemaAMDGPU::addAMDGPUWavesPerEUAttr(Decl *D, const AttributeCommonInfo &CI, in addAMDGPUWavesPerEUAttr() 284 const AttributeCommonInfo &CI, Expr *XExpr, Expr *YExpr, Expr *ZExpr) { in CreateAMDGPUMaxNumWorkGroupsAttr() 297 const AttributeCommonInfo &CI, in addAMDGPUMaxNumWorkGroupsAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | TailRecursionElimination.cpp | 238 CallInst *CI = dyn_cast<CallInst>(&I); in markTails() local 331 static bool canMoveAboveCall(Instruction *I, CallInst *CI, AliasAnalysis *AA) { in canMoveAboveCall() 368 static bool canTransformAccumulatorRecursion(Instruction *I, CallInst *CI) { in canTransformAccumulatorRecursion() 469 CallInst *CI = nullptr; in findTRECandidate() local 507 void TailRecursionEliminator::createTailRecurseLoopHeader(CallInst *CI) { in createTailRecurseLoopHeader() 593 void TailRecursionEliminator::copyByValueOperandIntoLocalTemp(CallInst *CI, in copyByValueOperandIntoLocalTemp() 621 CallInst *CI, int OpndIdx) { in copyLocalTempOfByValueOperandIntoArguments() 639 bool TailRecursionEliminator::eliminateCall(CallInst *CI) { in eliminateCall() 832 CallInst *CI = findTRECandidate(&BB); in processBlock() local 853 CallInst *CI = findTRECandidate(&BB); in processBlock() local
|
H A D | LowerExpectIntrinsic.cpp | 56 getBranchWeight(Intrinsic::ID IntrinsicID, CallInst *CI, int BranchCount) { in getBranchWeight() 77 CallInst *CI = dyn_cast<CallInst>(SI.getCondition()); in handleSwitchExpect() local 216 ConstantInt *CI = dyn_cast<ConstantInt>(PhiOpnd); in handlePhiDef() local 287 CallInst *CI; in handleBrSelExpect() local 381 CallInst *CI = dyn_cast<CallInst>(&Inst); in lowerExpectIntrinsic() local
|
H A D | LowerWidenableCondition.cpp | 54 if (auto *CI = dyn_cast<CallInst>(U)) lowerWidenableCondition() local 61 for (auto *CI : ToLower) { lowerWidenableCondition() local
|
H A D | LowerGuardIntrinsic.cpp | 55 if (auto *CI = dyn_cast<CallInst>(U)) lowerGuardIntrinsic() local 66 for (auto *CI : ToLower) { lowerGuardIntrinsic() local
|
/freebsd/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 132 void ModuleDepCollector::addOutputPaths(CowCompilerInvocation &CI, in addOutputPaths() 178 makeCommonInvocationForModuleBuild(CompilerInvocation CI) { in makeCommonInvocationForModuleBuild() 232 CowCompilerInvocation CI = CommonInvocation; in getInvocationAdjustedForModuleBuildWithoutOutputs() local 310 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleMapFiles() 322 CompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles() 335 CowCompilerInvocation &CI, ArrayRef<ModuleID> ClangModuleDeps) const { in addModuleFiles() 358 void ModuleDepCollector::applyDiscoveredDependencies(CompilerInvocation &CI) { in applyDiscoveredDependencies() 389 const CowCompilerInvocation &CI, in getModuleContextHash() 433 const CowCompilerInvocation &CI, ModuleDeps &Deps) { in associateWithContextHash() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SILoadStoreOptimizer.cpp | 645 SILoadStoreOptimizer::getCommonInstClass(const CombineInfo &CI, in getCommonInstClass() 900 SILoadStoreOptimizer::combineKnownAdjacentMMOs(const CombineInfo &CI, in combineKnownAdjacentMMOs() 921 bool SILoadStoreOptimizer::dmasksCanBeCombined(const CombineInfo &CI, in dmasksCanBeCombined() 996 bool SILoadStoreOptimizer::offsetsCanBeCombined(CombineInfo &CI, in offsetsCanBeCombined() 1121 const CombineInfo &CI, in widthsFit() 1166 SILoadStoreOptimizer::checkAndPrepareMerge(CombineInfo &CI, in checkAndPrepareMerge() 1221 CombineInfo &CI, CombineInfo &Paired, in copyToDestRegs() 1251 SILoadStoreOptimizer::copyFromSrcRegs(CombineInfo &CI, CombineInfo &Paired, in copyFromSrcRegs() 1290 SILoadStoreOptimizer::mergeRead2Pair(CombineInfo &CI, CombineInfo &Paired, in mergeRead2Pair() 1365 CombineInfo &CI, CombineInfo &Paired, in mergeWrite2Pair() [all …]
|
H A D | GCNCreateVOPD.cpp | 69 bool doReplace(const SIInstrInfo *SII, VOPDCombineInfo &CI) { in doReplace() 145 VOPDCombineInfo CI; in runOnMachineFunction() local 161 for (auto &CI : ReplaceCandidates) { in runOnMachineFunction() local
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 60 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() 172 std::optional<std::string> getRelativeIncludeName(const CompilerInstance &CI, in getRelativeIncludeName() 225 const CompilerInstance &CI; member 379 createAdditionalSymbolGraphFile(CompilerInstance &CI, Twine BaseName) { in createAdditionalSymbolGraphFile() 392 void ExtractAPIActionBase::ImplEndSourceFileAction(CompilerInstance &CI) { in ImplEndSourceFileAction() 415 ExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) { in CreateASTConsumer() 461 bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) { in PrepareToExecuteAction() 523 WrappingExtractAPIAction::CreateASTConsumer(CompilerInstance &CI, in CreateASTConsumer()
|
/freebsd/contrib/llvm-project/clang/lib/FrontendTool/ |
H A D | ExecuteCompilerInvocation.cpp | 40 CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction() 144 CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLowerMASSVEntries.cpp | 107 bool PPCLowerMASSVEntries::handlePowSpecialCases(CallInst *CI, Function &Func, in handlePowSpecialCases() 136 bool PPCLowerMASSVEntries::lowerMASSVCall(CallInst *CI, Function &Func, in lowerMASSVCall() 178 auto *CI = dyn_cast<CallInst>(User); in runOnModule() local
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | GenericUniformityImpl.h | 315 const CycleInfoT &CI; variable 345 GenericUniformityAnalysisImpl(const DominatorTreeT &DT, const CycleInfoT &CI, in GenericUniformityAnalysisImpl() 411 const CycleInfoT &CI; variable 499 const CycleInfoT &CI; variable 514 const CycleInfoT &CI, const BlockT &DivTermBlock) in DivergencePropagator() 734 const ContextT &Context, const DominatorTreeT &DT, const CycleInfoT &CI) in GenericSyncDependenceAnalysis() 1140 const DominatorTreeT &DT, const CycleInfoT &CI, in GenericUniformityInfo() 1253 SmallVectorImpl<const BlockT *> &Stack, const CycleInfoT &CI, in computeStackPO() 1322 const CycleInfoT &CI, const CycleT *Cycle, in computeCyclePO() 1361 void llvm::ModifiedPostOrder<ContextT>::compute(const CycleInfoT &CI) { in compute()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IntrinsicLowering.cpp | 30 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI, in ReplaceCallWith() 202 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname, in ReplaceFPIntrinsicWithCall() 224 void IntrinsicLowering::LowerIntrinsicCall(CallInst *CI) { in LowerIntrinsicCall() 465 bool IntrinsicLowering::LowerToByteSwap(CallInst *CI) { in LowerToByteSwap()
|