Lines Matching defs:MachineInstr
1 //===-- lib/CodeGen/MachineInstr.cpp --------------------------------------===//
14 #include "llvm/CodeGen/MachineInstr.h"
104 if (MachineInstr *MI = getParent())
170 if (MachineInstr *MI = getParent())
232 if (const MachineInstr *MI = getParent())
461 // MachineInstr Implementation
464 /// MachineInstr ctor - This constructor creates a dummy MachineInstr with
466 MachineInstr::MachineInstr()
474 void MachineInstr::addImplicitDefUseOperands() {
483 /// MachineInstr ctor - This constructor creates a MachineInstr and adds the
486 MachineInstr::MachineInstr(const MCInstrDesc &tid, bool NoImp)
498 /// MachineInstr ctor - As above, but with a DebugLoc.
499 MachineInstr::MachineInstr(const MCInstrDesc &tid, const DebugLoc dl,
512 /// MachineInstr ctor - Work exactly the same as the ctor two above, except
513 /// that the MachineInstr is created and added to the end of the specified
515 MachineInstr::MachineInstr(MachineBasicBlock *MBB, const MCInstrDesc &tid)
527 /// MachineInstr ctor - As above, but with a DebugLoc.
529 MachineInstr::MachineInstr(MachineBasicBlock *MBB, const DebugLoc dl,
542 /// MachineInstr ctor - Copies MachineInstr arg exactly
544 MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI)
564 MachineInstr::~MachineInstr() {
578 MachineRegisterInfo *MachineInstr::getRegInfo() {
587 void MachineInstr::RemoveRegOperandsFromUseLists() {
597 void MachineInstr::AddRegOperandsToUseLists(MachineRegisterInfo &RegInfo) {
609 void MachineInstr::addOperand(const MachineOperand &Op) {
710 void MachineInstr::RemoveOperand(unsigned OpNo) {
746 /// is the primary method for setting up a MachineInstr's MemRefs list.
747 void MachineInstr::addMemOperand(MachineFunction &MF,
763 bool MachineInstr::isIdenticalTo(const MachineInstr *Other,
815 MachineInstr *MachineInstr::removeFromParent() {
824 void MachineInstr::eraseFromParent() {
832 bool MachineInstr::OperandsComplete() const {
841 unsigned MachineInstr::getNumExplicitOperands() const {
854 bool MachineInstr::isStackAligningInlineAsm() const {
866 int MachineInstr::findRegisterUseOperandIdx(unsigned Reg, bool isKill,
890 MachineInstr::readsWritesVirtualRegister(unsigned Reg,
918 MachineInstr::findRegisterDefOperandIdx(unsigned Reg, bool isDead, bool Overlap,
943 int MachineInstr::findFirstPredOperandIdx() const {
958 bool MachineInstr::
1019 bool MachineInstr::
1079 void MachineInstr::clearKillInfo() {
1089 void MachineInstr::copyKillDeadInfo(const MachineInstr *MI) {
1108 void MachineInstr::copyPredicates(const MachineInstr *MI) {
1120 void MachineInstr::substituteRegister(unsigned FromReg,
1146 bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII,
1174 bool MachineInstr::isSafeToReMat(const TargetInstrInfo *TII,
1202 bool MachineInstr::hasVolatileMemoryRef() const {
1228 bool MachineInstr::isInvariantLoad(AliasAnalysis *AA) const {
1268 unsigned MachineInstr::isConstantValuePHI() const {
1281 bool MachineInstr::hasUnmodeledSideEffects() const {
1295 bool MachineInstr::allDefsAreDead() const {
1308 void MachineInstr::copyImplicitOps(const MachineInstr *MI) {
1317 void MachineInstr::dump() const {
1343 void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
1528 bool MachineInstr::addRegisterKilled(unsigned IncomingReg,
1586 bool MachineInstr::addRegisterDead(unsigned IncomingReg,
1639 void MachineInstr::addRegisterDefined(unsigned IncomingReg,
1658 void MachineInstr::setPhysRegsDeadExcept(const SmallVectorImpl<unsigned> &UsedRegs,
1678 MachineInstrExpressionTrait::getHashValue(const MachineInstr* const &MI) {
1724 void MachineInstr::emitError(StringRef Msg) const {