1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/include/llvm/IR
Mikael Holmen 4c352af309 Minor refactoring regarding Cast::isNoopCast(), NFC
Summary:
FastISel::hasTrivialKill() was the only user of the "IntPtrTy" version of
Cast::isNoopCast(). According to review comments in D37894 we could instead
use the "DataLayout" version of the method, and thus get rid of the
"IntPtrTy" versions of isNoopCast() completely.

With the above done, the remaining isNoopCast() could then be simplified
a bit more.

Reviewers: arsenm

Reviewed By: arsenm

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D38497

llvm-svn: 314969
2017-10-05 07:07:09 +00:00
..
Argument.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
AssemblyAnnotationWriter.h
Attributes.h [IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-06-19 22:05:08 +00:00
Attributes.td Move accurate-sample-profile into the function attribute. 2017-08-24 21:37:04 +00:00
AutoUpgrade.h
BasicBlock.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
CallingConv.h [AMDGPU] calling conventions for AMDPAL OS type 2017-09-29 09:51:22 +00:00
CallSite.h Sink some IntrinsicInst.h and Intrinsics.h out of llvm/include 2017-09-07 23:27:44 +00:00
CFG.h
CMakeLists.txt
Comdat.h
Constant.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
ConstantFolder.h
ConstantRange.h [IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-06-19 22:05:08 +00:00
Constants.h [IR] Implement Constant::isNegativeZeroValue/isZeroValue/isAllOnesValue/isOneValue/isMinSignedValue for ConstantDataVector without going through getElementAsConstant 2017-07-15 22:06:19 +00:00
DataLayout.h
DebugInfo.h
DebugInfoFlags.def
DebugInfoMetadata.h Update getMergedLocation to check the instruction type and merge properly. 2017-10-02 18:13:14 +00:00
DebugLoc.h
DerivedTypes.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
DerivedUser.h [IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-06-19 22:05:08 +00:00
DiagnosticHandler.h Allow ORE.emit to take a closure to delay building the remark object 2017-09-19 23:00:55 +00:00
DiagnosticInfo.h [OptRemark] Move YAML writing to IR 2017-10-04 15:18:11 +00:00
DiagnosticPrinter.h
DIBuilder.h Refactor DIBuilder dbg intrinsic insertion, NFC 2017-10-03 20:36:40 +00:00
Dominators.h [Dominators] Introduce batch updates 2017-08-16 16:12:52 +00:00
Function.h Add optional profile counts to block frequency dump. 2017-09-14 00:20:25 +00:00
GetElementPtrTypeIterator.h
GlobalAlias.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
GlobalIFunc.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
GlobalIndirectSymbol.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
GlobalObject.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
GlobalValue.h
GlobalVariable.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
GVMaterializer.h
InlineAsm.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
InstIterator.h
InstrTypes.h Minor refactoring regarding Cast::isNoopCast(), NFC 2017-10-05 07:07:09 +00:00
Instruction.def
Instruction.h Update getMergedLocation to check the instruction type and merge properly. 2017-10-02 18:13:14 +00:00
Instructions.h Remove uses of deprecated std::pointer_to_unary_function. 2017-09-17 11:12:57 +00:00
InstVisitor.h
IntrinsicInst.h Re-land r313825: "[IR] Add llvm.dbg.addr, a control-dependent version of llvm.dbg.declare" 2017-09-21 19:52:03 +00:00
Intrinsics.h
Intrinsics.td Re-land r313825: "[IR] Add llvm.dbg.addr, a control-dependent version of llvm.dbg.declare" 2017-09-21 19:52:03 +00:00
IntrinsicsAArch64.td [COFF, ARM64] Add MS builtins __dmb, __dsb, __isb 2017-08-09 17:58:39 +00:00
IntrinsicsAMDGPU.td [AMDGPU] Add llvm.amdgpu.update.dpp intrinsic 2017-08-08 18:52:22 +00:00
IntrinsicsARM.td
IntrinsicsBPF.td
IntrinsicsHexagon.td [Hexagon] Add intrinsics for data cache operations 2017-07-14 15:58:48 +00:00
IntrinsicsMips.td
IntrinsicsNVVM.td [NVPTX] added match.{any,all}.sync instructions, intrinsics & builtins. 2017-09-26 17:07:23 +00:00
IntrinsicsPowerPC.td
IntrinsicsSystemZ.td [SystemZ] Add support for IBM z14 processor (2/3) 2017-07-17 17:42:48 +00:00
IntrinsicsWebAssembly.td [WebAssembly] Add support for exception handling instructions 2017-06-30 00:43:15 +00:00
IntrinsicsX86.td [X86] Finishing broadcastf32x2 and broadcasti32x2 intrinsics lowering to IR. llvm side. 2017-09-26 07:39:39 +00:00
IntrinsicsXCore.td
IRBuilder.h Enhance synchscope representation 2017-07-11 22:23:00 +00:00
IRPrintingPasses.h
LegacyPassManager.h
LegacyPassManagers.h Prune whitespaces in blank lines. 2017-08-28 07:48:37 +00:00
LegacyPassNameParser.h Fix opt --help ordering of available optimizations. 2017-06-30 18:44:33 +00:00
LLVMContext.h This patch fixes https://bugs.llvm.org/show_bug.cgi?id=32352 2017-09-15 20:10:09 +00:00
Mangler.h
MDBuilder.h
Metadata.def
Metadata.h [ThinLTO] Fix ThinLTO crash while destroying context 2017-08-15 22:23:44 +00:00
Module.h Have Module::createRNG return a unique_ptr 2017-07-12 08:03:44 +00:00
ModuleSlotTracker.h
ModuleSummaryIndex.h [ThinLTO] Use decimal suffix for promoted values to match demanglers 2017-09-29 15:55:42 +00:00
ModuleSummaryIndexYAML.h LowerTypeTests: Add import/export support for targets without absolute symbol constants. 2017-09-11 22:49:10 +00:00
NoFolder.h
OperandTraits.h [IR] Remove stale comment from HungoffOperandTraits. NFC 2017-06-10 06:58:26 +00:00
Operator.h Recommit : Use the basic cost if a GEP is not used as addressing mode 2017-10-04 18:33:52 +00:00
OptBisect.h [IR] Missing changes for r312289 (NFC). 2017-08-31 22:06:09 +00:00
PassManager.h Use a BumpPtrAllocator for Loop objects 2017-09-28 02:45:42 +00:00
PassManagerInternal.h
PatternMatch.h [InstCombine] Canonicalize clamp of float types to minmax in fast mode. 2017-08-04 12:22:17 +00:00
PredIteratorCache.h
ProfileSummary.h
SafepointIRVerifier.h [SafepointIRVerifier] Add verifier pass for finding GC relocation bugs 2017-07-05 01:16:29 +00:00
Statepoint.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
SymbolTableListTraits.h
TrackingMDRef.h
Type.h [IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors. 2017-07-09 07:04:03 +00:00
TypeBuilder.h
TypeFinder.h
Use.h
UseListOrder.h
User.h Remove inline keyword from inline classof methods 2017-06-29 19:35:17 +00:00
Value.def
Value.h [IR] Fix some Clang-tidy modernize-use-using warnings; other minor fixes (NFC). 2017-06-19 22:05:08 +00:00
ValueHandle.h
ValueMap.h
ValueSymbolTable.h
Verifier.h