Home
last modified time | relevance | path

Searched refs:PromotedType (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp883 EVT PromotedType = Op1Promoted.getValueType(); in PromoteIntRes_ADDSUBSHLSAT() local
884 unsigned NewBits = PromotedType.getScalarSizeInBits(); in PromoteIntRes_ADDSUBSHLSAT()
888 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT()
890 DAG.getNode(ISD::ADD, dl, PromotedType, Op1Promoted, Op2Promoted); in PromoteIntRes_ADDSUBSHLSAT()
891 return DAG.getNode(ISD::UMIN, dl, PromotedType, Add, SatMax); in PromoteIntRes_ADDSUBSHLSAT()
896 return DAG.getNode(ISD::USUBSAT, dl, PromotedType, Op1Promoted, in PromoteIntRes_ADDSUBSHLSAT()
901 if (IsShift || TLI.isOperationLegal(Opcode, PromotedType)) { in PromoteIntRes_ADDSUBSHLSAT()
919 DAG.getShiftAmountConstant(SHLAmount, PromotedType, dl); in PromoteIntRes_ADDSUBSHLSAT()
921 DAG.getNode(ISD::SHL, dl, PromotedType, Op1Promoted, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
924 DAG.getNode(ISD::SHL, dl, PromotedType, Op2Promoted, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7370 Type *PromotedType = getTransitionType(); in isProfitableToPromote() local
7389 TTI.getVectorInstrCost(*Transition, PromotedType, CostKind, Index); in isProfitableToPromote()
7407 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDecl.cpp3446 QualType PromotedType; member
4256 << Warnings[Warn].PromotedType in MergeFunctionDecl()