llvm-project/llvm/lib/Transforms/Utils
Craig Topper a58b62b4a2 [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand().
This method has been commented as deprecated for a while. Remove
it and replace all uses with the equivalent getCalledOperand().

I also made a few cleanups in here. For example, to removes use
of getElementType on a pointer when we could just use getFunctionType
from the call.

Differential Revision: https://reviews.llvm.org/D78882
2020-04-27 22:17:03 -07:00
..
AMDGPUEmitPrintf.cpp Fix unused variable warning. NFCI. 2020-01-16 13:02:40 +00:00
ASanStackFrameLayout.cpp
AddDiscriminators.cpp [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
AssumeBundleBuilder.cpp [AssumeBundles] Refactor asssume builder 2020-04-25 13:43:52 +02:00
BasicBlockUtils.cpp Introduce fix-irreducible pass 2020-04-15 15:05:51 +05:30
BreakCriticalEdges.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
BuildLibCalls.cpp Introduce support for lib function aligned_alloc in TLI / memory builtins 2020-03-29 23:36:24 +05:30
BypassSlowDivision.cpp [BypassSlowDivision][CodeGenPrepare] avoid crashing on unused code (PR43514) 2019-10-01 21:25:36 +00:00
CMakeLists.txt New pass to make internal linkage symbol names unique. 2020-04-20 15:05:22 -07:00
CallGraphUpdater.cpp [CallGraphUpdater][NFC] Minor updates to D77855 2020-04-15 21:26:35 -05:00
CallPromotionUtils.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
CanonicalizeAliases.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
CloneFunction.cpp [CallSite removal][CloneFunction] Use CallSite instead of CallBase. NFC 2020-04-15 15:38:02 -07:00
CloneModule.cpp Fix for "DICompileUnit not listed in llvm.dbg.cu" verification error after ... 2019-08-28 21:27:50 +00:00
CodeExtractor.cpp Add IR constructs for preallocated (inalloca replacement) 2020-04-27 16:15:50 -07:00
CodeMoverUtils.cpp Fix MSVC lamdba default capture mode warning. NFCI. 2020-01-29 15:47:04 +00:00
CtorUtils.cpp
Debugify.cpp [Debugify] Do not require named metadata to be present when stripping 2020-04-22 17:03:39 -07:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
EscapeEnumerator.cpp [CallSite removal] Remove unneeded includes of CallSite.h. NFC 2020-04-22 00:07:13 -07:00
Evaluator.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
FixIrreducible.cpp Give helpers internal linkage. NFC. 2020-04-25 11:50:52 +02:00
FlattenCFG.cpp Handle successor's PHI node correctly when flattening CFG merges two if-regions 2019-09-26 15:20:17 +00:00
FunctionComparator.cpp [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00
FunctionImportUtils.cpp [ThinLTO] Drop dso_local if a GlobalVariable satisfies isDeclarationForLinker() 2020-04-07 15:46:01 -07:00
GlobalStatus.cpp [CallSite removal][Transform] Replace CallSite with CallBase in Utils. NFC 2020-04-23 20:49:33 -07:00
GuardUtils.cpp Further cleanup manipulation of widenable branches [NFC] 2019-11-21 15:07:30 -08:00
ImportedFunctionsInliningStatistics.cpp [Instruction] Add hasMetadata(Kind) helper [NFC] 2019-09-04 17:28:48 +00:00
InjectTLIMappings.cpp [VectorUtils] Move ToVectorTy to VectorUtils.h (NFC). 2020-02-21 17:31:24 +00:00
InlineFunction.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
InstructionNamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
IntegerDivision.cpp
LCSSA.cpp [NFC] Add missing 'const' notion to LCSSA-related functions 2020-04-17 17:49:34 +07:00
LLVMBuild.txt
LibCallsShrinkWrap.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Local.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
LoopRotationUtils.cpp [NFC] LoopRotate: do issue debug message when not rotating due to instr count 2020-03-17 09:26:09 +03:00
LoopSimplify.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
LoopUnroll.cpp [CallSite removal][Transform] Replace CallSite with CallBase in Utils. NFC 2020-04-23 20:49:33 -07:00
LoopUnrollAndJam.cpp [NFC][SCEV] Piping to pass TTI into SCEVExpander::isHighCostExpansionHelper() 2020-02-25 23:05:56 +03:00
LoopUnrollPeel.cpp [LoopPeel] Turn incorrect assert into a check 2020-03-12 17:23:07 +07:00
LoopUnrollRuntime.cpp [NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander::isHighCostExpansionHelper() 2020-02-25 23:05:57 +03:00
LoopUtils.cpp [LoopUtils] Clean up includes, use forward decls if appropriate (NFC). 2020-04-19 19:44:29 +01:00
LoopVersioning.cpp Revert "[SCEV] Move ScalarEvolutionExpander.cpp to Transforms/Utils (NFC)." 2020-01-04 18:44:38 +00:00
LowerInvoke.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
LowerMemIntrinsics.cpp Utils: Mostly convert memcpy expansion to use Align 2020-03-22 11:21:44 -04:00
LowerSwitch.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Mem2Reg.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MetaRenamer.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
MisExpect.cpp Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
ModuleUtils.cpp [llvm][VectorUtils] Tweak VFShape for scalable vector functions. 2020-01-30 05:53:56 +00:00
NameAnonGlobals.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
PredicateInfo.cpp [PredicateInfo] Use new Instruction::comesBefore instead of OI (NFC). 2020-04-20 09:22:21 +01:00
PromoteMemoryToRegister.cpp
SSAUpdater.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
SSAUpdaterBulk.cpp
SanitizerStats.cpp
SimplifyCFG.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
SimplifyIndVar.cpp [NFC][SCEV] Piping to pass new SCEVCheapExpansionBudget option into SCEVExpander::isHighCostExpansionHelper() 2020-02-25 23:05:57 +03:00
SimplifyLibCalls.cpp [CallSite removal][TargetLibraryInfo] Replace ImmutableCallSite with CallBase in one of the getLibFunc signatures. NFC 2020-04-15 22:43:41 -07:00
SizeOpts.cpp [PGO][PGSO] Use IsColdXNthPercentile for sample PGO. 2020-03-05 09:54:54 -08:00
SplitModule.cpp
StripGCRelocates.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
StripNonLineTableDebugInfo.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
SymbolRewriter.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
UnifyFunctionExitNodes.cpp Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
UnifyLoopExits.cpp [NFC] UnifyLoopExits: correctly skip expensive checks 2020-04-27 15:10:35 +05:30
UniqueInternalLinkageNames.cpp New pass to make internal linkage symbol names unique. 2020-04-20 15:05:22 -07:00
Utils.cpp New pass to make internal linkage symbol names unique. 2020-04-20 15:05:22 -07:00
VNCoercion.cpp [SVE] Remove calls to isScalable from Transforms 2020-04-23 13:50:07 -07:00
ValueMapper.cpp [llvm][NFC][CallSite] Removed CallSite from some implementation details. 2020-04-15 22:27:05 -07:00