LLVM API Documentation
#include "LegalizeTypes.h"#include "llvm/IR/DataLayout.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Defines | |
| #define | DEBUG_TYPE "legalize-types" |
Functions | |
| static EVT | FindMemType (SelectionDAG &DAG, const TargetLowering &TLI, unsigned Width, EVT WidenVT, unsigned Align=0, unsigned WidenEx=0) |
| static SDValue | BuildVectorFromScalar (SelectionDAG &DAG, EVT VecTy, SmallVectorImpl< SDValue > &LdOps, unsigned Start, unsigned End) |
| #define DEBUG_TYPE "legalize-types" |
Definition at line 29 of file LegalizeVectorTypes.cpp.
| static SDValue BuildVectorFromScalar | ( | SelectionDAG & | DAG, |
| EVT | VecTy, | ||
| SmallVectorImpl< SDValue > & | LdOps, | ||
| unsigned | Start, | ||
| unsigned | End | ||
| ) | [static] |
Definition at line 2699 of file LegalizeVectorTypes.cpp.
References llvm::ISD::BITCAST, llvm::SelectionDAG::getConstant(), llvm::SelectionDAG::getContext(), llvm::SelectionDAG::getNode(), llvm::EVT::getSizeInBits(), llvm::SelectionDAG::getTargetLoweringInfo(), llvm::TargetLoweringBase::getVectorIdxTy(), llvm::EVT::getVectorVT(), llvm::ISD::INSERT_VECTOR_ELT, and llvm::ISD::SCALAR_TO_VECTOR.
| static EVT FindMemType | ( | SelectionDAG & | DAG, |
| const TargetLowering & | TLI, | ||
| unsigned | Width, | ||
| EVT | WidenVT, | ||
| unsigned | Align = 0, |
||
| unsigned | WidenEx = 0 |
||
| ) | [static] |
Definition at line 2646 of file LegalizeVectorTypes.cpp.
References Align(), llvm::MVT::FIRST_INTEGER_VALUETYPE, llvm::MVT::FIRST_VECTOR_VALUETYPE, llvm::EVT::getSizeInBits(), llvm::EVT::getVectorElementType(), llvm::isPowerOf2_32(), llvm::TargetLoweringBase::isTypeLegal(), llvm::MVT::LAST_INTEGER_VALUETYPE, and llvm::MVT::LAST_VECTOR_VALUETYPE.