LLVM API Documentation
#include "llvm/Target/TargetLowering.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/DerivedTypes.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/MathExtras.h"
Include dependency graph for TargetLowering.cpp:
Go to the source code of this file.
Functions | |
static void | SetValueTypeAction (MVT::ValueType VT, TargetLowering::LegalizeAction Action, TargetLowering &TLI, MVT::ValueType *TransformToType, TargetLowering::ValueTypeActionImpl &ValueTypeActions) |
static void SetValueTypeAction | ( | MVT::ValueType | VT, | |
TargetLowering::LegalizeAction | Action, | |||
TargetLowering & | TLI, | |||
MVT::ValueType * | TransformToType, | |||
TargetLowering::ValueTypeActionImpl & | ValueTypeActions | |||
) | [static] |
setValueTypeAction - Set the action for a particular value type. This assumes an action has not already been set for this value type.
Definition at line 49 of file TargetLowering.cpp.
References llvm::TargetLowering::Expand, llvm::MVT::f32, llvm::MVT::f64, llvm::MVT::i8, llvm::MVT::isFloatingPoint(), llvm::MVT::isInteger(), llvm::TargetLowering::isTypeLegal(), llvm::TargetLowering::Promote, llvm::TargetLowering::ValueTypeActionImpl::setTypeAction(), TLI, ValueTypeActions, and llvm::MVT::Vector.
Referenced by llvm::TargetLowering::computeRegisterProperties().