Lines Matching defs:TargetLowering

1 //===-- TargetLowering.cpp - Implement the TargetLowering class -----------===//
10 // This implements the TargetLowering class.
14 #include "llvm/Target/TargetLowering.h"
522 TargetLowering::TargetLowering(const TargetMachine &tm,
627 TargetLowering::~TargetLowering() {
631 MVT TargetLowering::getShiftAmountTy(EVT LHSTy) const {
637 bool TargetLowering::canOpTrap(unsigned Op, EVT VT) const {
656 TargetLowering *TLI) {
702 bool TargetLowering::isLegalRC(const TargetRegisterClass *RC) const {
714 TargetLowering::hasLegalSuperRegRegClasses(const TargetRegisterClass *RC) const{
729 TargetLowering::findRepresentativeClass(EVT VT) const {
749 void TargetLowering::computeRegisterProperties() {
913 const char *TargetLowering::getTargetNodeName(unsigned Opcode) const {
918 EVT TargetLowering::getSetCCResultType(EVT VT) const {
923 MVT::SimpleValueType TargetLowering::getCmpLibcallReturnType() const {
936 unsigned TargetLowering::getVectorTypeBreakdown(LLVMContext &Context, EVT VT,
1000 /// TODO: Move this out of TargetLowering.cpp.
1003 const TargetLowering &TLI,
1059 unsigned TargetLowering::getByValTypeAlignment(Type *Ty) const {
1066 unsigned TargetLowering::getJumpTableEncoding() const {
1079 SDValue TargetLowering::getPICJumpTableRelocBase(SDValue Table,
1095 TargetLowering::getPICJumpTableRelocBaseExpr(const MachineFunction *MF,
1102 TargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
1126 bool TargetLowering::TargetLoweringOpt::ShrinkDemandedConstant(SDValue Op,
1165 TargetLowering::TargetLoweringOpt::ShrinkDemandedOp(SDValue Op,
1181 const TargetLowering &TLI = DAG.getTargetLoweringInfo();
1209 bool TargetLowering::SimplifyDemandedBits(SDValue Op,
1863 void TargetLowering::computeMaskedBitsForTargetNode(const SDValue Op,
1880 unsigned TargetLowering::ComputeNumSignBitsForTargetNode(SDValue Op,
1927 TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
2626 bool TargetLowering::isGAPlusOffset(SDNode *N, const GlobalValue *&GA,
2657 SDValue TargetLowering::
2668 TargetLowering::ConstraintType
2669 TargetLowering::getConstraintType(const std::string &Constraint) const {
2708 const char *TargetLowering::LowerXConstraint(EVT ConstraintVT) const{
2718 void TargetLowering::LowerAsmOperandForConstraint(SDValue Op,
2783 std::pair<unsigned, const TargetRegisterClass*> TargetLowering::
2819 bool TargetLowering::AsmOperandInfo::isMatchingInputConstraint() const {
2826 unsigned TargetLowering::AsmOperandInfo::getMatchedOperand() const {
2837 TargetLowering::AsmOperandInfoVector TargetLowering::ParseConstraints(
3023 static unsigned getConstraintGenerality(TargetLowering::ConstraintType CT) {
3025 case TargetLowering::C_Other:
3026 case TargetLowering::C_Unknown:
3028 case TargetLowering::C_Register:
3030 case TargetLowering::C_RegisterClass:
3032 case TargetLowering::C_Memory:
3041 TargetLowering::ConstraintWeight
3042 TargetLowering::getMultipleConstraintMatchWeight(
3065 TargetLowering::ConstraintWeight
3066 TargetLowering::getSingleConstraintMatchWeight(
3131 static void ChooseConstraint(TargetLowering::AsmOperandInfo &OpInfo,
3132 const TargetLowering &TLI,
3136 TargetLowering::ConstraintType BestType = TargetLowering::C_Unknown;
3141 TargetLowering::ConstraintType CType =
3148 if (CType == TargetLowering::C_Other && Op.getNode()) {
3163 if (CType == TargetLowering::C_Memory && OpInfo.hasMatchingInput())
3182 void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo,
3221 bool TargetLowering::isLegalAddressingMode(const AddrMode &AM,
3255 SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, DebugLoc dl,
3283 SDValue TargetLowering::
3343 SDValue TargetLowering::