LLVM: lib/CodeGen/LiveInterval.cpp File Reference (original) (raw)

Go to the source code of this file.

coalescable()

bool coalescable ( const LiveRange::Segment & A, const LiveRange::Segment & B ) inlinestatic

stripValuesNotDefiningMask()

For each VNI in SR, check whether or not that value defines part of the mask describe by LaneMask and if not, remove that value from SR.

Definition at line 872 of file LiveInterval.cpp.

References assert(), llvm::VNInfo::def, llvm::SlotIndexes::getInstructionFromIndex(), llvm::VNInfo::isPHIDef(), llvm::VNInfo::isUnused(), llvm::MIBundleOperandIteratorBase< ValueT >::isValid(), MI, none, llvm::SmallVectorTemplateBase< T, bool >::push_back(), Reg, llvm::LiveRange::removeValNo(), TRI, and llvm::LiveRange::valnos.

Referenced by llvm::LiveInterval::refineSubRanges().