Mercurial > hg > CbC > CbC_llvm
comparison lib/CodeGen/PseudoSourceValue.cpp @ 100:7d135dc70f03 LLVM 3.9
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | afa8332a0e37 |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
96:6418606d0ead | 100:7d135dc70f03 |
---|---|
48 return false; | 48 return false; |
49 llvm_unreachable("Unknown PseudoSourceValue!"); | 49 llvm_unreachable("Unknown PseudoSourceValue!"); |
50 } | 50 } |
51 | 51 |
52 bool PseudoSourceValue::mayAlias(const MachineFrameInfo *) const { | 52 bool PseudoSourceValue::mayAlias(const MachineFrameInfo *) const { |
53 if (isGOT() || isConstantPool() || isJumpTable()) | 53 return !(isGOT() || isConstantPool() || isJumpTable()); |
54 return false; | |
55 return true; | |
56 } | 54 } |
57 | 55 |
58 bool FixedStackPseudoSourceValue::isConstant( | 56 bool FixedStackPseudoSourceValue::isConstant( |
59 const MachineFrameInfo *MFI) const { | 57 const MachineFrameInfo *MFI) const { |
60 return MFI && MFI->isImmutableObjectIndex(FI); | 58 return MFI && MFI->isImmutableObjectIndex(FI); |