LLVM API Documentation
#include "ScheduleDAGInstrs.h"#include "llvm/Operator.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/PseudoSourceValue.h"#include "llvm/Target/TargetMachine.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetRegisterInfo.h"#include "llvm/Target/TargetSubtarget.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/ADT/SmallSet.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "sched-instrs" |
Functions | |
| static const Value * | getUnderlyingObjectFromInt (const Value *V) |
| static const Value * | getUnderlyingObject (const Value *V) |
| static const Value * | getUnderlyingObjectForInstr (const MachineInstr *MI) |
| #define DEBUG_TYPE "sched-instrs" |
Definition at line 15 of file ScheduleDAGInstrs.cpp.
getUnderlyingObject - This is a wrapper around Value::getUnderlyingObject and adds support for basic ptrtoint+arithmetic+inttoptr sequences.
Definition at line 78 of file ScheduleDAGInstrs.cpp.
References llvm::Operator::getOpcode(), llvm::Value::getType(), llvm::Value::getUnderlyingObject(), getUnderlyingObjectFromInt(), and llvm::SystemZCC::O.
Referenced by getUnderlyingObjectForInstr().
| static const Value* getUnderlyingObjectForInstr | ( | const MachineInstr * | MI | ) | [static] |
getUnderlyingObjectForInstr - If this machine instr has memory reference information and it can be tracked to a normal reference to a known object, return the Value for that object. Otherwise return null.
Definition at line 97 of file ScheduleDAGInstrs.cpp.
References getUnderlyingObject(), llvm::MachineInstr::hasOneMemOperand(), llvm::isIdentifiedObject(), llvm::MachineInstr::memoperands_begin(), and V.
Referenced by llvm::ScheduleDAGInstrs::BuildSchedGraph().
getUnderlyingObjectFromInt - This is the function that does the work of looking through basic ptrtoint+arithmetic+inttoptr sequences.
Definition at line 51 of file ScheduleDAGInstrs.cpp.
References llvm::Operator::getOpcode(), llvm::Value::getType(), and PtrToInt.
Referenced by getUnderlyingObject().