1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/IR
Alex Denisov ed10a34931 Mark llvm::ConstantExpr::getAsInstruction as const
Summary:
getAsInstruction is the only non-const member method.
It is impossible to enforce const-correctness because of it.

Reviewers: jmolloy, majnemer

Reviewed By: jmolloy

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70113
2019-11-12 14:24:12 +01:00
..
AbstractCallSite.cpp
AsmWriter.cpp [AArch64][SVE] Spilling/filling of SVE callee-saves. 2019-11-11 09:03:19 +00:00
AttributeImpl.h [Alignment][NFC] Attributes use Align/MaybeAlign 2019-10-22 09:51:06 +00:00
Attributes.cpp [Alignment][NFC] Use MaybeAlign in AttrBuilder 2019-10-22 11:57:52 +00:00
AttributesCompatFunc.td
AutoUpgrade.cpp [ObjC][ARC] Check whether the return and parameter types of the old and 2019-10-24 13:08:50 -07:00
BasicBlock.cpp [FastISel] Fix insertion of unconditional branches during FastISel 2019-09-20 13:22:59 +00:00
CMakeLists.txt Link libpthread into LLVMCore.so 2019-08-15 18:06:30 +00:00
Comdat.cpp
ConstantFold.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
ConstantFold.h Add FNeg IR constant folding support 2019-05-05 16:07:09 +00:00
ConstantRange.cpp [NFC] ConstantRange::subWithNoWrap(): fixup comment 2019-11-08 17:52:43 +03:00
Constants.cpp Mark llvm::ConstantExpr::getAsInstruction as const 2019-11-12 14:24:12 +01:00
ConstantsContext.h Fix cppcheck variable shadow warning. NFCI. 2019-09-25 13:45:36 +00:00
Core.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
DataLayout.cpp [SVE][IR] Scalable Vector size queries and IR instruction support 2019-10-08 12:53:54 +00:00
DebugInfo.cpp Second attempt to add iterator_range::empty() 2019-10-07 18:14:24 +00:00
DebugInfoMetadata.cpp [DebugInfo] Fix for DW_OP_LLVM_fragment in DIExpression::isImplicit() 2019-11-03 17:37:49 +01:00
DebugLoc.cpp
DiagnosticHandler.cpp
DiagnosticInfo.cpp Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
DiagnosticPrinter.cpp
DIBuilder.cpp Do a sweep of symbol internalization. NFC. 2019-08-23 19:59:23 +00:00
Dominators.cpp
Function.cpp Keep import function list for inlinee profile update 2019-11-06 18:36:00 -08:00
Globals.cpp [Alignment][NFC] Remove dependency on GlobalObject::setAlignment(unsigned) 2019-10-15 11:24:36 +00:00
GVMaterializer.cpp
InlineAsm.cpp [SVE][Inline-Asm] Add constraints for SVE predicate registers 2019-09-16 09:45:27 +00:00
Instruction.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
Instructions.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00
IntrinsicInst.cpp [FPEnv] Add constrained intrinsics for lrint and lround 2019-10-07 13:20:00 +00:00
IRBuilder.cpp [Alignment] Migrate Attribute::getWith(Stack)Alignment 2019-10-15 12:56:24 +00:00
IRPrintingPasses.cpp [LegacyPassManager] Delete BasicBlockPass/Manager. 2019-10-30 11:40:16 -07:00
LegacyPassManager.cpp [LegacyPassManager] Fixed "null check after derefencing" warning 2019-11-02 20:14:29 +01:00
LLVMBuild.txt [Remarks] Add string deduplication using a string table 2019-04-24 00:06:24 +00:00
LLVMContext.cpp Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
LLVMContextImpl.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
LLVMContextImpl.h Scalable Vector IR Type with further LTO fixes 2019-07-05 12:48:16 +00:00
Mangler.cpp Standardize on MSVC behavior for triples with no environment 2019-07-08 21:05:20 +00:00
MDBuilder.cpp Reland "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2019-09-11 16:19:50 +00:00
Metadata.cpp Reland: Dead Virtual Function Elimination 2019-10-17 09:58:57 +00:00
MetadataImpl.h
Module.cpp IR. Change strip* family of functions to not look through aliases. 2019-08-22 19:56:14 +00:00
ModuleSummaryIndex.cpp ThinLTO : Import always_inline functions irrespective of the threshold 2019-11-08 17:02:01 -08:00
Operator.cpp
OptBisect.cpp Fix IR/Analysis layering issue with OptBisect 2019-02-28 04:00:55 +00:00
Pass.cpp [LegacyPassManager] Delete BasicBlockPass/Manager. 2019-10-30 11:40:16 -07:00
PassInstrumentation.cpp
PassManager.cpp
PassRegistry.cpp
PassTimingInfo.cpp [Legacy][TimePasses] allow -time-passes reporting into a custom stream 2019-03-22 23:11:08 +00:00
ProfileSummary.cpp [PGO] Context sensitive PGO (part 2) 2019-02-28 19:55:07 +00:00
RemarkStreamer.cpp [Remarks] Emit the remarks section by default for certain formats 2019-10-28 12:50:46 -07:00
SafepointIRVerifier.cpp SafepointIRVerifier - silence static analyzer dyn_cast<Instruction> null dereference warnings. NFCI. 2019-09-24 13:57:44 +00:00
Statepoint.cpp [CallSite removal] Migrate the statepoint GC infrastructure to use the 2019-02-11 07:42:30 +00:00
SymbolTableListTraitsImpl.h
Type.cpp [SVE][IR] Scalable Vector size queries and IR instruction support 2019-10-08 12:53:54 +00:00
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp [Alignment][NFC] Value::getPointerAlignment returns MaybeAlign 2019-10-15 13:58:22 +00:00
ValueSymbolTable.cpp
Verifier.cpp [IR] Redefine Freeze instruction 2019-11-12 10:49:00 +09:00