From a3efbb15ddd5aa9006564cd79086723640084878 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Fri, 15 Jul 2011 08:37:34 +0000 Subject: [PATCH] Convert CallInst and InvokeInst APIs to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135265 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ReleaseNotes.html | 4 + include/llvm/Instructions.h | 162 ++++-------------- include/llvm/Support/IRBuilder.h | 42 ++--- lib/Analysis/DIBuilder.cpp | 10 +- lib/AsmParser/LLParser.cpp | 5 +- lib/Bitcode/Reader/BitcodeReader.cpp | 5 +- lib/CodeGen/DwarfEHPrepare.cpp | 3 +- lib/CodeGen/IntrinsicLowering.cpp | 2 +- lib/CodeGen/ShadowStackGC.cpp | 3 +- lib/CodeGen/StackProtector.cpp | 2 +- lib/ExecutionEngine/JIT/JIT.cpp | 3 +- lib/Transforms/IPO/ArgumentPromotion.cpp | 4 +- .../IPO/DeadArgumentElimination.cpp | 8 +- lib/Transforms/IPO/LowerSetJmp.cpp | 6 +- lib/Transforms/IPO/MergeFunctions.cpp | 2 +- lib/Transforms/IPO/PruneEH.cpp | 3 +- .../InstCombine/InstCombineCalls.cpp | 8 +- .../Instrumentation/PathProfiling.cpp | 2 +- .../Instrumentation/ProfilingUtils.cpp | 3 +- lib/Transforms/Scalar/ObjCARC.cpp | 2 +- lib/Transforms/Scalar/SimplifyCFGPass.cpp | 3 +- lib/Transforms/Utils/CodeExtractor.cpp | 2 +- lib/Transforms/Utils/InlineFunction.cpp | 9 +- lib/Transforms/Utils/LowerInvoke.cpp | 8 +- lib/Transforms/Utils/SimplifyCFG.cpp | 6 +- lib/VMCore/AutoUpgrade.cpp | 2 +- lib/VMCore/Core.cpp | 7 +- lib/VMCore/IRBuilder.cpp | 16 +- lib/VMCore/Instructions.cpp | 119 ++++--------- tools/bugpoint/Miscompilation.cpp | 10 +- 30 files changed, 144 insertions(+), 317 deletions(-) diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 73de5fa237d..374615d991c 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -616,6 +616,7 @@ from the previous release.

include: