Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1125 EVT PromotedType = Op1.getValueType(); in PromoteIntRes_ADDSUBSHLSAT() local
1126 unsigned NewBits = PromotedType.getScalarSizeInBits(); in PromoteIntRes_ADDSUBSHLSAT()
1130 if (IsShift || matcher.isOperationLegal(Opcode, PromotedType)) { in PromoteIntRes_ADDSUBSHLSAT()
1148 DAG.getShiftAmountConstant(SHLAmount, PromotedType, dl); in PromoteIntRes_ADDSUBSHLSAT()
1149 Op1 = DAG.getNode(ISD::SHL, dl, PromotedType, Op1, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
1151 Op2 = matcher.getNode(ISD::SHL, dl, PromotedType, Op2, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
1153 SDValue Result = matcher.getNode(Opcode, dl, PromotedType, Op1, Op2); in PromoteIntRes_ADDSUBSHLSAT()
1154 return matcher.getNode(ShiftOp, dl, PromotedType, Result, ShiftAmount); in PromoteIntRes_ADDSUBSHLSAT()
1160 SDValue SatMin = DAG.getConstant(MinVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT()
1161 SDValue SatMax = DAG.getConstant(MaxVal, dl, PromotedType); in PromoteIntRes_ADDSUBSHLSAT()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp8038 Type *PromotedType = getTransitionType(); in isProfitableToPromote() local
8057 TTI.getVectorInstrCost(*Transition, PromotedType, CostKind, Index); in isProfitableToPromote()
8075 VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType, in isProfitableToPromote()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3444 QualType PromotedType; member
4320 << Warnings[Warn].PromotedType in MergeFunctionDecl()