LLVM API Documentation
#include "SparcV9Internals.h"
#include "SparcV9BurgISel.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/InstVisitor.h"
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Transforms/Scalar.h"
#include <algorithm>
Include dependency graph for SparcV9PreSelection.cpp:
Go to the source code of this file.
Functions | |
static GetElementPtrInst * | getGlobalAddr (Value *ptr, Instruction &insertBefore) |
static bool | nonConstant (const Use &U) |
static Instruction * | DecomposeConstantExpr (ConstantExpr *CE, Instruction &insertBefore) |
static bool | ConstantTypeMustBeLoaded (const Type *CVT) |
FunctionPass * | llvm::createPreSelectionPass (const TargetMachine &TM) |
Variables | |
const TargetInstrInfo & | instrInfo |
static bool ConstantTypeMustBeLoaded | ( | const Type * | CVT | ) | [inline, static] |
Definition at line 189 of file SparcV9PreSelection.cpp.
References llvm::Type::isIntegral(), and llvm::Type::isPrimitiveType().
static Instruction* DecomposeConstantExpr | ( | ConstantExpr * | CE, | |
Instruction & | insertBefore | |||
) | [static] |
Definition at line 109 of file SparcV9PreSelection.cpp.
References llvm::CallingConv::C, getGlobalAddr(), llvm::ConstantExpr::getOpcode(), llvm::ConstantExpr::getOperand(), llvm::Value::getType(), nonConstant(), llvm::User::op_begin(), llvm::User::op_end(), and llvm::Select.
static GetElementPtrInst* getGlobalAddr | ( | Value * | ptr, | |
Instruction & | insertBefore | |||
) | [static] |
Definition at line 95 of file SparcV9PreSelection.cpp.
References U.
Referenced by DecomposeConstantExpr().
static bool nonConstant | ( | const Use & | U | ) | [inline, static] |
Definition at line 105 of file SparcV9PreSelection.cpp.
References U.
Referenced by DecomposeConstantExpr().
const TargetInstrInfo& instrInfo |
Definition at line 39 of file SparcV9PreSelection.cpp.