reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AArch64/AArch64GenDAGISel.inc
115640   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i32);
115647   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115654   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115661   return CurDAG->getTargetConstant(AArch64CC::getInvertedCondCode(CC), SDLoc(N),
115669   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115677   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115684   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115692   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115700   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115708   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115716   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115723   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115730   return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i64);
115738       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115746       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115752 return CurDAG->getTargetConstant(
115761       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115771       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
115777 return CurDAG->getTargetConstant(
115784   return CurDAG->getTargetConstant(8 + N->getZExtValue(), SDLoc(N), MVT::i32);
115790   return CurDAG->getTargetConstant(8 * N->getZExtValue(), SDLoc(N), MVT::i64);
115796   return CurDAG->getTargetConstant(4 * N->getZExtValue(), SDLoc(N), MVT::i64);
115802   return CurDAG->getTargetConstant(2 * N->getZExtValue(), SDLoc(N), MVT::i64);
gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc
79800   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i1);
79806   return CurDAG->getTargetConstant(N->getSExtValue(), SDLoc(N), MVT::i32);
79812   return CurDAG->getTargetConstant(N->getSExtValue(), SDLoc(N), MVT::i16);
79818   return CurDAG->getTargetConstant(N->getZExtValue(), SDLoc(N), MVT::i8);
79824   return CurDAG->getTargetConstant(N->getZExtValue() & 1, SDLoc(N), MVT::i8);
79830   return CurDAG->getTargetConstant((N->getZExtValue() >> 1) & 1, SDLoc(N), MVT::i8);
79836   return CurDAG->getTargetConstant((N->getZExtValue() >> 2) & 1, SDLoc(N), MVT::i8);
79842   return CurDAG->getTargetConstant((N->getZExtValue() >> 3) & 1, SDLoc(N), MVT::i8);
79848   return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N),
79855 return CurDAG->getTargetConstant(
79862   return CurDAG->getTargetConstant(N->get(), SDLoc(N), MVT::i32);
79868   return CurDAG->getTargetConstant(N->getSExtValue(), SDLoc(N), MVT::i64);
79881 return CurDAG->getTargetConstant(
gen/lib/Target/AMDGPU/R600GenDAGISel.inc
12622   return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N),
gen/lib/Target/ARM/ARMGenDAGISel.inc
55025   return CurDAG->getTargetConstant((uint32_t)N->getZExtValue() >> 16, SDLoc(N),
55032   return CurDAG->getTargetConstant(~((uint32_t)N->getZExtValue()), SDLoc(N),
55041   case 0:  return CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
55042   case 8:  return CurDAG->getTargetConstant(1, SDLoc(N), MVT::i32);
55043   case 16: return CurDAG->getTargetConstant(2, SDLoc(N), MVT::i32);
55044   case 24: return CurDAG->getTargetConstant(3, SDLoc(N), MVT::i32);
55051   return CurDAG->getTargetConstant(-(int)N->getZExtValue(), SDLoc(N), MVT::i32);
55057   return CurDAG->getTargetConstant(-((int)N->getZExtValue()), SDLoc(N),
55065   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/4, SDLoc(N),
55072   return CurDAG->getTargetConstant(N->getZExtValue() & 3, SDLoc(N), MVT::i32);
55079   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/2, SDLoc(N),
55086   return CurDAG->getTargetConstant(N->getZExtValue() & 1, SDLoc(N), MVT::i32);
55092   return CurDAG->getTargetConstant(~(int)N->getZExtValue(), SDLoc(N), MVT::i32);
55100   return CurDAG->getTargetConstant(~N16bitSignExt, SDLoc(N), MVT::i32);
55106   return CurDAG->getTargetConstant((int)N->getZExtValue() - 1, SDLoc(N),
55113   return CurDAG->getTargetConstant((int)N->getZExtValue() - 1, SDLoc(N),
55121   return CurDAG->getTargetConstant((Imm == 32 ? 0 : Imm), SDLoc(N), MVT::i32);
55128   return CurDAG->getTargetConstant(ARMCC::getOppositeCondition(CC), SDLoc(N),
55136   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue()/8, SDLoc(N),
55143   return CurDAG->getTargetConstant(N->getZExtValue() & 7, SDLoc(N), MVT::i32);
55150   return CurDAG->getTargetConstant(ARM::ssub_0 + N->getZExtValue(), SDLoc(N),
55158   return CurDAG->getTargetConstant(ARM::ssub_0 + N->getZExtValue()/2, SDLoc(N),
55166   return CurDAG->getTargetConstant(ARM::dsub_0 + N->getZExtValue(), SDLoc(N),
55174   return CurDAG->getTargetConstant(V, SDLoc(N), MVT::i32);
55181   return CurDAG->getTargetConstant(V, SDLoc(N), MVT::i32);
55187   return CurDAG->getTargetConstant(N->getZExtValue() - 255, SDLoc(N), MVT::i32);
55195       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
55203       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
55211       return CurDAG->getTargetConstant(enc, SDLoc(N), MVT::i32);
gen/lib/Target/AVR/AVRGenDAGISel.inc
 1754   return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()) - 0x20, SDLoc(N), MVT::i8);
 1760   return CurDAG->getTargetConstant(Log2_32(uint8_t(N->getZExtValue())),
 1767   return CurDAG->getTargetConstant(Log2_32(uint8_t(~N->getZExtValue())),
gen/lib/Target/Hexagon/HexagonGenDAGISel.inc
72960   return CurDAG->getTargetConstant(NV, SDLoc(N), MVT::i32);
72967   return CurDAG->getTargetConstant(NV, SDLoc(N), MVT::i32);
72974   return CurDAG->getTargetConstant(NV, SDLoc(N), MVT::i32);
72981   return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32);
72988   return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32);
72995   return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32);
73002   return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
73009   return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
73016   return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
73023   return CurDAG->getTargetConstant(Imm & -8, SDLoc(N), MVT::i32);
73032   return CurDAG->getTargetConstant(imm, SDLoc(N), MVT::i32);
73041   return CurDAG->getTargetConstant(imm, SDLoc(N), MVT::i32);
73052   return CurDAG->getTargetConstant(imm, SDLoc(N), MVT::i32);
73059   return CurDAG->getTargetConstant(Log2_64(V), SDLoc(N), MVT::i32);
73067   return CurDAG->getTargetConstant(V-32, SDLoc(N), MVT::i32);
73074   return CurDAG->getTargetConstant(Log2_64(NV), SDLoc(N), MVT::i32);
73082   return CurDAG->getTargetConstant(V-1, SDLoc(N), MVT::i32);
73089   return CurDAG->getTargetConstant(V-1, SDLoc(N), MVT::i32);
73096   return CurDAG->getTargetConstant(V-2, SDLoc(N), MVT::i32);
73103   return CurDAG->getTargetConstant(V-3, SDLoc(N), MVT::i32);
73110   return CurDAG->getTargetConstant(V, SDLoc(N), MVT::i64);
73117    return CurDAG->getTargetConstant(64 - Imm, SDLoc(N), MVT::i32);
73124    return CurDAG->getTargetConstant(128 - Imm, SDLoc(N), MVT::i32);
73131   return CurDAG->getTargetConstant(I.getZExtValue(), SDLoc(N),
73138   return CurDAG->getTargetConstant((64 - N->getSExtValue()) / 8,
73144 int32_t V = 64 - N->getSExtValue();return CurDAG->getTargetConstant(V, SDLoc(N), MVT::i32);
73149   return CurDAG->getTargetConstant(N->getZExtValue() / 8, SDLoc(N), MVT::i32);
73154 int32_t V = 32 - N->getSExtValue();return CurDAG->getTargetConstant(V, SDLoc(N), MVT::i32);
73159   return CurDAG->getTargetConstant(N->getSExtValue(), SDLoc(N), MVT::i32);
73168   return CurDAG->getTargetConstant(S, SDLoc(N), MVT::i32);
73176   return CurDAG->getTargetConstant(V << 16 | V, SDLoc(N), MVT::i32);
73183   return CurDAG->getTargetConstant(ST.getVectorLength()/2, SDLoc(N), MVT::i32);
gen/lib/Target/Lanai/LanaiGenDAGISel.inc
 1551   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() & 0xffff,
 1558   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() >> 16, SDLoc(N),
 1565   return CurDAG->getTargetConstant(-N->getSExtValue(), SDLoc(N), MVT::i32);
 1571   return CurDAG->getTargetConstant((uint64_t)N->getZExtValue() & 0x1fffff,
gen/lib/Target/NVPTX/NVPTXGenDAGISel.inc
72355   return CurDAG->getTargetConstant(32 - N->getZExtValue(), SDLoc(N), MVT::i32);
72361     return CurDAG->getTargetConstant(64-N->getZExtValue(), SDLoc(N), MVT::i32);
gen/lib/Target/RISCV/RISCVGenDAGISel.inc
14189   return CurDAG->getTargetConstant(((N->getZExtValue()+0x800) >> 12) & 0xfffff,
14196   return CurDAG->getTargetConstant(SignExtend64<12>(N->getZExtValue()),
gen/lib/Target/Sparc/SparcGenDAGISel.inc
 3635   return CurDAG->getTargetConstant(~(unsigned)N->getZExtValue() >> 10, SDLoc(N),
 3642   return CurDAG->getTargetConstant(N->getSExtValue(), SDLoc(N), MVT::i32);
 3649   return CurDAG->getTargetConstant((unsigned)N->getZExtValue() >> 10, SDLoc(N),
 3656   return CurDAG->getTargetConstant((unsigned)N->getZExtValue() & 1023, SDLoc(N),
 3664   return CurDAG->getTargetConstant(Val, SDLoc(N), MVT::i32);
 3670   return CurDAG->getTargetConstant(~(~N->getZExtValue() & 0x3ff), SDLoc(N),
 3678   return CurDAG->getTargetConstant(Val, SDLoc(N), MVT::i32);
 3685   return CurDAG->getTargetConstant(Val, SDLoc(N), MVT::i32);
gen/lib/Target/SystemZ/SystemZGenDAGISel.inc
30513   return CurDAG->getTargetConstant(uint8_t(N->getZExtValue()), SDLoc(N),
30520   return CurDAG->getTargetConstant(int8_t(N->getZExtValue()), SDLoc(N),
30527   return CurDAG->getTargetConstant(int16_t(N->getZExtValue()), SDLoc(N),
30534   return CurDAG->getTargetConstant(int16_t(-N->getZExtValue()), SDLoc(N),
30541   return CurDAG->getTargetConstant(int32_t(-N->getZExtValue()), SDLoc(N),
30548   return CurDAG->getTargetConstant(uint32_t(N->getZExtValue()), SDLoc(N),
30556   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30563   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30570   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30577   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30584   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30591   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30597   return CurDAG->getTargetConstant(uint16_t(N->getZExtValue()), SDLoc(N),
30604   return CurDAG->getTargetConstant(int32_t(N->getZExtValue()), SDLoc(N),
30611   return CurDAG->getTargetConstant(N->getZExtValue() & 0xfe, SDLoc(N),
30619   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30626   return CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i64);
30632   return CurDAG->getTargetConstant(uint32_t(-N->getZExtValue()), SDLoc(N),
30639   return CurDAG->getTargetConstant(N->getZExtValue() & 0xfff, SDLoc(N),
gen/lib/Target/X86/X86GenDAGISel.inc
254805   return CurDAG->getTargetConstant(X86::GetOppositeBranchCondition(CC),
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
 2621                            DAG.getTargetConstant(
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 7182   SDValue Ops[] = { Chain, Ptr, SV, getTargetConstant(Align, dl, MVT::i32) };
 7943   SDValue SRIdxVal = getTargetConstant(SRIdx, DL, MVT::i32);
 7953   SDValue SRIdxVal = getTargetConstant(SRIdx, DL, MVT::i32);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  322           DAG.getTargetConstant(1, DL, TLI.getPointerTy(DAG.getDataLayout())));
  962   SDValue Res = DAG.getTargetConstant(Flag, dl, MVT::i32);
 2780           DAG.getTargetConstant(Intrinsic::wasm_rethrow_in_catch, getCurSDLoc(),
 3411                            DAG.getTargetConstant(
 4370   Scale = DAG.getTargetConstant(DL.getTypeAllocSize(GEP->getResultElementType()),
 4417     Scale = DAG.getTargetConstant(1, sdl, TLI.getPointerTy(DAG.getDataLayout()));
 4538     Scale = DAG.getTargetConstant(1, sdl, TLI.getPointerTy(DAG.getDataLayout()));
 4790     Ops.push_back(DAG.getTargetConstant(Intrinsic, getCurSDLoc(),
 6170                                          DAG.getTargetConstant(0, sdl,
 6834       Ops.push_back(DAG.getTargetConstant(T.Offset, getCurSDLoc(), MVT::i32));
 6994                                DAG.getTargetConstant(0, sdl,
 8188   AsmNodeOperands.push_back(DAG.getTargetConstant(
 8215         AsmNodeOperands.push_back(DAG.getTargetConstant(OpFlags, getCurSDLoc(),
 8299         AsmNodeOperands.push_back(DAG.getTargetConstant(
 8332         AsmNodeOperands.push_back(DAG.getTargetConstant(
 8352         AsmNodeOperands.push_back(DAG.getTargetConstant(ResOpType,
 8673         Builder.DAG.getTargetConstant(StackMaps::ConstantOp, DL, MVT::i64));
 8675         Builder.DAG.getTargetConstant(C->getSExtValue(), DL, MVT::i64));
 8714   Ops.push_back(DAG.getTargetConstant(
 8717   Ops.push_back(DAG.getTargetConstant(
 8809   Ops.push_back(DAG.getTargetConstant(
 8812   Ops.push_back(DAG.getTargetConstant(
 8824   Ops.push_back(DAG.getTargetConstant(NumCallRegArgs, dl, MVT::i32));
 8827   Ops.push_back(DAG.getTargetConstant((unsigned)CC, dl, MVT::i32));
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 2077       Ops.push_back(CurDAG->getTargetConstant(NewFlags, DL, MVT::i32));
 3206                               CurDAG->getTargetConstant(Val, SDLoc(NodeToMatch),
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
   67   Ops.push_back(Builder.DAG.getTargetConstant(StackMaps::ConstantOp, L,
   69   Ops.push_back(Builder.DAG.getTargetConstant(Value, L, MVT::i64));
  731   Ops.push_back(DAG.getTargetConstant(SI.ID, getCurSDLoc(), MVT::i64));
  733       DAG.getTargetConstant(SI.NumPatchBytes, getCurSDLoc(), MVT::i32));
  739   Ops.push_back(DAG.getTargetConstant(NumCallRegArgs, getCurSDLoc(), MVT::i32));
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 4084         Ops.push_back(DAG.getTargetConstant(Offset + ExtVal,
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  282     SDValue RC = CurDAG->getTargetConstant(TRC->getID(), dl, MVT::i64);
  319   Val = CurDAG->getTargetConstant(Immed, dl, MVT::i32);
  320   Shift = CurDAG->getTargetConstant(ShVal, dl, MVT::i32);
  441     Shift = CurDAG->getTargetConstant(ShVal, SDLoc(N), MVT::i32);
  559   SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, dl, MVT::i64);
  596   SDValue LaneIdxVal = CurDAG->getTargetConstant(LaneIdx, dl, MVT::i64);
  640   SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, dl, MVT::i32);
  687   Shift = CurDAG->getTargetConstant(getArithExtendImm(Ext, ShiftVal), SDLoc(N),
  726     OffImm = CurDAG->getTargetConstant(0, dl, MVT::i64);
  746           OffImm = CurDAG->getTargetConstant(RHSC >> Scale, dl, MVT::i64);
  761           OffImm = CurDAG->getTargetConstant(RHSC >> Scale, dl, MVT::i64);
  772   OffImm = CurDAG->getTargetConstant(0, dl, MVT::i64);
  787     OffImm = CurDAG->getTargetConstant(0, dl, MVT::i64);
  821         OffImm = CurDAG->getTargetConstant(RHSC >> Scale, dl, MVT::i64);
  837   OffImm = CurDAG->getTargetConstant(0, dl, MVT::i64);
  865       OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i64);
  874   SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, dl, MVT::i32);
  900     SignExtend = CurDAG->getTargetConstant(Ext == AArch64_AM::SXTW, dl,
  904     SignExtend = CurDAG->getTargetConstant(0, dl, MVT::i32);
  947     DoShift = CurDAG->getTargetConstant(true, dl, MVT::i32);
  955     DoShift = CurDAG->getTargetConstant(true, dl, MVT::i32);
  960   DoShift = CurDAG->getTargetConstant(false, dl, MVT::i32);
  969     SignExtend = CurDAG->getTargetConstant(Ext == AArch64_AM::SXTW, dl,
  981     SignExtend = CurDAG->getTargetConstant(Ext == AArch64_AM::SXTW, dl,
 1060     DoShift = CurDAG->getTargetConstant(true, DL, MVT::i32);
 1068     DoShift = CurDAG->getTargetConstant(true, DL, MVT::i32);
 1075   SignExtend = CurDAG->getTargetConstant(false, DL, MVT::i32);
 1076   DoShift = CurDAG->getTargetConstant(false, DL, MVT::i32);
 1115       CurDAG->getTargetConstant(RegClassIDs[Regs.size() - 2], DL, MVT::i32));
 1120     Ops.push_back(CurDAG->getTargetConstant(SubRegs[i], DL, MVT::i32));
 1220   SDValue Offset = CurDAG->getTargetConstant(OffsetVal, dl, MVT::i64);
 1227     SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, dl, MVT::i32);
 1231                     CurDAG->getTargetConstant(0, dl, MVT::i64), LoadedVal,
 1397   SDValue Ops[] = {RegSeq, CurDAG->getTargetConstant(LaneNo, dl, MVT::i64),
 1438                    CurDAG->getTargetConstant(LaneNo, dl,
 1489   SDValue Ops[] = {RegSeq, CurDAG->getTargetConstant(LaneNo, dl, MVT::i64),
 1521   SDValue Ops[] = {RegSeq, CurDAG->getTargetConstant(LaneNo, dl, MVT::i64),
 1790   SDValue Ops[] = {Opd0, CurDAG->getTargetConstant(Immr, dl, VT),
 1791                    CurDAG->getTargetConstant(Imms, dl, VT)};
 1849     SDValue Ops64[] = {Opd0, CurDAG->getTargetConstant(Immr, dl, MVT::i64),
 1850                        CurDAG->getTargetConstant(Imms, dl, MVT::i64)};
 1853     SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, dl, MVT::i32);
 1859   SDValue Ops[] = {Opd0, CurDAG->getTargetConstant(Immr, dl, VT),
 1860                    CurDAG->getTargetConstant(Imms, dl, VT)};
 2117         CurDAG->getTargetConstant(BitWidth - ShlAmount, dl, VT),
 2118         CurDAG->getTargetConstant(BitWidth - 1 - ShlAmount, dl, VT));
 2124         UBFMOpc, dl, VT, Op, CurDAG->getTargetConstant(ShrAmount, dl, VT),
 2125         CurDAG->getTargetConstant(BitWidth - 1, dl, VT));
 2270       MOVIOpc, DL, VT, CurDAG->getTargetConstant(BFIImm, DL, VT));
 2274                    CurDAG->getTargetConstant(ImmR, DL, VT),
 2275                    CurDAG->getTargetConstant(ImmS, DL, VT)};
 2385     SDValue Ops[] = {Dst, Src, CurDAG->getTargetConstant(ImmR, DL, VT),
 2386                      CurDAG->getTargetConstant(ImmS, DL, VT)};
 2422         ShiftOpc, DL, VT, Src, CurDAG->getTargetConstant(LSB, DL, VT),
 2423         CurDAG->getTargetConstant(BitWidth - 1, DL, VT));
 2431                      CurDAG->getTargetConstant(ImmR, DL, VT),
 2432                      CurDAG->getTargetConstant(ImmS, DL, VT)};
 2483   SDValue Ops[] = {Op0, CurDAG->getTargetConstant(ImmR, DL, VT),
 2484                    CurDAG->getTargetConstant(ImmS, DL, VT)};
 2583     SDValue SubReg = CurDAG->getTargetConstant(AArch64::sub_32, DL, MVT::i32);
 2586         CurDAG->getTargetConstant(0, DL, MVT::i64), NewShiftAmt, SubReg);
 2635   FixedPos = CurDAG->getTargetConstant(FBits, SDLoc(N), MVT::i32);
 2683                        CurDAG->getTargetConstant(Reg, DL, MVT::i32),
 2700                        CurDAG->getTargetConstant(Reg, DL, MVT::i32),
 2708                        CurDAG->getTargetConstant(0, DL, MVT::i32),
 2729                                   CurDAG->getTargetConstant(Reg, DL, MVT::i32),
 2755                        CurDAG->getTargetConstant(Reg, DL, MVT::i32),
 2756                        CurDAG->getTargetConstant(Immed, DL, MVT::i16),
 2773                        CurDAG->getTargetConstant(Reg, DL, MVT::i32),
 2841       {FiOp, CurDAG->getTargetConstant(0, DL, MVT::i64), N->getOperand(2),
 2842        CurDAG->getTargetConstant(TagOffset, DL, MVT::i64)});
 2864       {SDValue(N2, 0), CurDAG->getTargetConstant(0, DL, MVT::i64),
 2865        CurDAG->getTargetConstant(TagOffset, DL, MVT::i64)});
 2965     SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, DL, MVT::i32),
 2966                       CurDAG->getTargetConstant(Shifter, DL, MVT::i32) };
lib/Target/AArch64/AArch64ISelLowering.cpp
 1000     SDValue EncConst = TLO.DAG.getTargetConstant(Enc, DL, VT);
 2610                          DAG.getTargetConstant(AArch64::hsub, DL, MVT::i32)),
 4068     Ops.push_back(DAG.getTargetConstant(FPDiff, DL, MVT::i32));
 4540                                    DAG.getTargetConstant(0, DL, MVT::i32)),
 4545                                    DAG.getTargetConstant(0, DL, MVT::i32)),
 4581                                        DAG.getTargetConstant(0, DL, MVT::i32)),
 4584                                        DAG.getTargetConstant(0, DL, MVT::i32)),
 4654                                  DAG.getTargetConstant(0, DL, MVT::i32)),
 6203     Result = DAG.getTargetConstant(CVal, SDLoc(Op), MVT::i64);
 9962     SDValue SubReg = DAG.getTargetConstant(AArch64::dsub, dl, MVT::i32);
11938                          DAG.getTargetConstant(AArch64::hsub, DL, MVT::i32)),
11977       DAG.getTargetConstant(AArch64::XSeqPairsClassRegClassID, dl, MVT::i32);
11978   SDValue SubReg0 = DAG.getTargetConstant(AArch64::sube64, dl, MVT::i32);
11979   SDValue SubReg1 = DAG.getTargetConstant(AArch64::subo64, dl, MVT::i32);
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
  132         {Addr, Addr, DAG.getTargetConstant(1, dl, MVT::i64), Chain});
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  114                               DAG.getTargetConstant(K, SL, MVT::i32));
  614       return glueCopyToM0(N, CurDAG->getTargetConstant(-1, SDLoc(N), MVT::i32));
  619         glueCopyToM0(N, CurDAG->getTargetConstant(Value, SDLoc(N), MVT::i32));
  628       CurDAG->getTargetConstant(Imm & 0xFFFFFFFF, DL, MVT::i32));
  631                              CurDAG->getTargetConstant(Imm >> 32, DL, MVT::i32));
  633       CurDAG->getTargetConstant(AMDGPU::SReg_64RegClassID, DL, MVT::i32),
  634       SDValue(Lo, 0), CurDAG->getTargetConstant(AMDGPU::sub0, DL, MVT::i32),
  635       SDValue(Hi, 0), CurDAG->getTargetConstant(AMDGPU::sub1, DL, MVT::i32)};
  668   SDValue RegClass = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32);
  683   RegSeqArgs[0] = CurDAG->getTargetConstant(RegClassID, DL, MVT::i32);
  694     RegSeqArgs[1 + (2 * i) + 1] = CurDAG->getTargetConstant(Sub, DL, MVT::i32);
  705           CurDAG->getTargetConstant(Sub, DL, MVT::i32);
  794       RC = CurDAG->getTargetConstant(AMDGPU::SGPR_128RegClassID, DL, MVT::i32);
  795       SubReg0 = CurDAG->getTargetConstant(AMDGPU::sub0_sub1, DL, MVT::i32);
  796       SubReg1 = CurDAG->getTargetConstant(AMDGPU::sub2_sub3, DL, MVT::i32);
  798       RC = CurDAG->getTargetConstant(AMDGPU::SReg_64RegClassID, DL, MVT::i32);
  799       SubReg0 = CurDAG->getTargetConstant(AMDGPU::sub0, DL, MVT::i32);
  800       SubReg1 = CurDAG->getTargetConstant(AMDGPU::sub1, DL, MVT::i32);
  953     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
  957     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
  961     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
  964     Offset = CurDAG->getTargetConstant(0, DL, MVT::i32);
  974     CurDAG->getTargetConstant(Val, DL, MVT::i32));
  990   SDValue Sub0 = CurDAG->getTargetConstant(AMDGPU::sub0, DL, MVT::i32);
  991   SDValue Sub1 = CurDAG->getTargetConstant(AMDGPU::sub1, DL, MVT::i32);
 1024     CurDAG->getTargetConstant(AMDGPU::SReg_64RegClassID, DL, MVT::i32),
 1052       {LHS, RHS, CI, CurDAG->getTargetConstant(0, {}, MVT::i1) /*clamp bit*/});
 1065        CurDAG->getTargetConstant(0, {}, MVT::i1) /*clamp bit*/});
 1146   SDValue Clamp = CurDAG->getTargetConstant(0, SL, MVT::i1);
 1177       Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1185         SDValue Zero = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1203                 CurDAG->getTargetConstant(0, {}, MVT::i1)); // clamp bit
 1210           Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16);
 1224       SDValue Zero = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1228       Offset = CurDAG->getTargetConstant(CAddr->getZExtValue(), DL, MVT::i16);
 1235   Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i16);
 1254       Offset0 = CurDAG->getTargetConstant(DWordOffset0, DL, MVT::i8);
 1255       Offset1 = CurDAG->getTargetConstant(DWordOffset1, DL, MVT::i8);
 1266         SDValue Zero = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1282                 CurDAG->getTargetConstant(0, {}, MVT::i1)); // clamp bit
 1289           Offset0 = CurDAG->getTargetConstant(DWordOffset0, DL, MVT::i8);
 1290           Offset1 = CurDAG->getTargetConstant(DWordOffset1, DL, MVT::i8);
 1301       SDValue Zero = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1306       Offset0 = CurDAG->getTargetConstant(DWordOffset0, DL, MVT::i8);
 1307       Offset1 = CurDAG->getTargetConstant(DWordOffset1, DL, MVT::i8);
 1315   Offset0 = CurDAG->getTargetConstant(0, DL, MVT::i8);
 1316   Offset1 = CurDAG->getTargetConstant(1, DL, MVT::i8);
 1334     GLC = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1336     SLC = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1337   TFE = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1338   DLC = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1339   SWZ = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1341   Idxen = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1342   Offen = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1343   Addr64 = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1344   SOffset = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1361     Addr64 = CurDAG->getTargetConstant(1, DL, MVT::i1);
 1379     Offset = CurDAG->getTargetConstant(0, DL, MVT::i16);
 1385     Addr64 = CurDAG->getTargetConstant(1, DL, MVT::i1);
 1389     VAddr = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1395     Offset = CurDAG->getTargetConstant(0, DL, MVT::i16);
 1401     Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1406   Offset = CurDAG->getTargetConstant(0, DL, MVT::i16);
 1410                   CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i32)),
 1448   SLC = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i1);
 1493     SDValue HighBits = CurDAG->getTargetConstant(Imm & ~4095, DL, MVT::i32);
 1505     ImmOffset = CurDAG->getTargetConstant(Imm & 4095, DL, MVT::i16);
 1535       ImmOffset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i16);
 1542   ImmOffset = CurDAG->getTargetConstant(0, DL, MVT::i16);
 1569   Offset = CurDAG->getTargetConstant(CAddr->getZExtValue(), DL, MVT::i16);
 1688       SDValue Sub0 = CurDAG->getTargetConstant(AMDGPU::sub0, DL, MVT::i32);
 1689       SDValue Sub1 = CurDAG->getTargetConstant(AMDGPU::sub1, DL, MVT::i32);
 1702       SDValue Clamp = CurDAG->getTargetConstant(0, DL, MVT::i1);
 1713         CurDAG->getTargetConstant(AMDGPU::VReg_64RegClassID, DL, MVT::i32),
 1723   Offset = CurDAG->getTargetConstant(OffsetVal, SDLoc(), MVT::i16);
 1724   SLC = CurDAG->getTargetConstant(0, SDLoc(), MVT::i1);
 1758     Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32);
 1768     Offset = CurDAG->getTargetConstant(EncodedOffset, SL, MVT::i32);
 1770     SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32);
 1788   SDValue AddrHi = CurDAG->getTargetConstant(AddrHiVal, SL, MVT::i32);
 1791     CurDAG->getTargetConstant(AMDGPU::SReg_64_XEXECRegClassID, SL, MVT::i32),
 1793     CurDAG->getTargetConstant(AMDGPU::sub0, SL, MVT::i32),
 1796     CurDAG->getTargetConstant(AMDGPU::sub1, SL, MVT::i32),
 1821   Offset = CurDAG->getTargetConstant(0, SL, MVT::i32);
 1885       Offset = CurDAG->getTargetConstant(C1->getZExtValue(), DL, MVT::i32);
 1894   Offset = CurDAG->getTargetConstant(0, DL, MVT::i32);
 1905   SDValue PackedConst = CurDAG->getTargetConstant(PackedVal, DL, MVT::i32);
 2113     SDValue Zero = CurDAG->getTargetConstant(0, SDLoc(), MVT::i32);
 2115       CurDAG->getTargetConstant(Src0Mods, SDLoc(), MVT::i32), Src0,
 2116       CurDAG->getTargetConstant(Src1Mods, SDLoc(), MVT::i32), Src1,
 2117       CurDAG->getTargetConstant(Src2Mods, SDLoc(), MVT::i32), Src2,
 2118       CurDAG->getTargetConstant(0, SDLoc(), MVT::i1),
 2221     Offset = CurDAG->getTargetConstant(0, SDLoc(), MVT::i32);
 2226     CurDAG->getTargetConstant(IsGDS, SDLoc(), MVT::i32),
 2283     glueCopyToM0(N, CurDAG->getTargetConstant(0, SL, MVT::i32));
 2301                                CurDAG->getTargetConstant(16, SL, MVT::i32));
 2306   SDValue OffsetField = CurDAG->getTargetConstant(ImmOffset, SL, MVT::i32);
 2309   SDValue GDS = CurDAG->getTargetConstant(1, SL, MVT::i1);
 2400     SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32);
 2418   SrcMods = CurDAG->getTargetConstant(0, SDLoc(In), MVT::i32);;
 2434   Clamp = CurDAG->getTargetConstant(0, DL, MVT::i1);
 2435   Omod = CurDAG->getTargetConstant(0, DL, MVT::i1);
 2444   Clamp = Omod = CurDAG->getTargetConstant(0, SDLoc(In), MVT::i32);
 2453   Clamp = CurDAG->getTargetConstant(0, DL, MVT::i1);
 2454   Omod = CurDAG->getTargetConstant(0, DL, MVT::i1);
 2499       SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32);
 2509   SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32);
 2519   Clamp = CurDAG->getTargetConstant(0, SL, MVT::i32);
 2528   SrcMods = CurDAG->getTargetConstant(0, SDLoc(In), MVT::i32);
 2538   Clamp = CurDAG->getTargetConstant(0, SL, MVT::i32);
 2555   Clamp = CurDAG->getTargetConstant(0, SL, MVT::i32);
 2607   SrcMods = CurDAG->getTargetConstant(Mods, SDLoc(In), MVT::i32);
 2811     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2815     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2819     Offset = CurDAG->getTargetConstant(C->getZExtValue(), DL, MVT::i32);
 2822     Offset = CurDAG->getTargetConstant(0, DL, MVT::i32);
 2837       Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr),
 2846     Offset = CurDAG->getTargetConstant(IMMOffset->getZExtValue(), SDLoc(Addr),
 2853   Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
lib/Target/AMDGPU/R600ISelLowering.cpp
 2094     Neg = DAG.getTargetConstant(1, SDLoc(ParentNode), MVT::i32);
 2100     Abs = DAG.getTargetConstant(1, SDLoc(ParentNode), MVT::i32);
 2202       Imm = DAG.getTargetConstant(ImmValue, SDLoc(ParentNode), MVT::i32);
lib/Target/AMDGPU/SIISelLowering.cpp
 2913                                DAG.getTargetConstant(NumBytes, DL, MVT::i32),
 2914                                DAG.getTargetConstant(0, DL, MVT::i32),
 2932     Ops.push_back(DAG.getTargetConstant(FPDiff, DL, MVT::i32));
 2969   Chain = DAG.getCALLSEQ_END(Chain, DAG.getTargetConstant(0, DL, MVT::i32),
 2970                              DAG.getTargetConstant(CalleePopBytes, DL, MVT::i32),
 4621     DAG.getTargetConstant(GCNSubtarget::TrapIDLLVMTrap, SL, MVT::i16),
 4646     DAG.getTargetConstant(GCNSubtarget::TrapIDLLVMDebugTrap, SL, MVT::i16)
 4666     SDValue EncodingImm = DAG.getTargetConstant(Encoding, DL, MVT::i16);
 4669     SDValue ShiftAmount = DAG.getTargetConstant(WidthM1 + 1, DL, MVT::i32);
 5056     PtrHi = DAG.getTargetConstant(0, DL, MVT::i32);
 5199     *GLC = DAG.getTargetConstant((Value & 0x1) ? 1 : 0, DL, MVT::i32);
 5203     *SLC = DAG.getTargetConstant((Value & 0x2) ? 1 : 0, DL, MVT::i32);
 5207     *DLC = DAG.getTargetConstant((Value & 0x4) ? 1 : 0, DL, MVT::i32);
 5307   *TFE = DAG.getTargetConstant((Value & 0x1) ? 1 : 0, DL, MVT::i32);
 5309   *LWE = DAG.getTargetConstant((Value & 0x2) ? 1 : 0, DL, MVT::i32);
 5494   SDValue True = DAG.getTargetConstant(1, DL, MVT::i1);
 5495   SDValue False = DAG.getTargetConstant(0, DL, MVT::i1);
 5579   Ops.push_back(DAG.getTargetConstant(DMask, DL, MVT::i32));
 5581     Ops.push_back(DAG.getTargetConstant(DimInfo->Encoding, DL, MVT::i32));
 5683       DAG.getTargetConstant(CachePolicy, DL, MVT::i32), // cachepolicy
 5684       DAG.getTargetConstant(0, DL, MVT::i1),            // idxen
 5693     Ops[5] = DAG.getTargetConstant(InstOffset + 16 * i, DL, MVT::i32);
 5863     SDValue DLC = DAG.getTargetConstant(0, DL, MVT::i1);
 5881         DAG.getTargetConstant(Intrinsic::amdgcn_interp_mov, DL, MVT::i32),
 5891         DAG.getTargetConstant(0, DL, MVT::i32), // $src0_modifiers
 5893         DAG.getTargetConstant(0, DL, MVT::i32), // $src2_modifiers
 5895         DAG.getTargetConstant(0, DL, MVT::i1), // $clamp
 5896         DAG.getTargetConstant(0, DL, MVT::i32) // $omod
 5905         DAG.getTargetConstant(0, DL, MVT::i32), // $src0_modifiers
 5907         DAG.getTargetConstant(0, DL, MVT::i1), // $clamp
 5908         DAG.getTargetConstant(0, DL, MVT::i32), // $omod
 5921       DAG.getTargetConstant(0, DL, MVT::i32), // $src0_modifiers
 5923       DAG.getTargetConstant(0, DL, MVT::i32), // $src2_modifiers
 5925       DAG.getTargetConstant(0, DL, MVT::i1), // $clamp
 6190       DAG.getTargetConstant(Offset, DL, MVT::i16),
 6255       DAG.getTargetConstant(Glc | (Slc << 1), DL, MVT::i32), // cachepolicy
 6256       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idxen
 6298       DAG.getTargetConstant(0, DL, MVT::i1), // idxen
 6318       DAG.getTargetConstant(1, DL, MVT::i1), // idxen
 6344       DAG.getTargetConstant(Dfmt | (Nfmt << 4), DL, MVT::i32), // format
 6345       DAG.getTargetConstant(Glc | (Slc << 1), DL, MVT::i32), // cachepolicy
 6346       DAG.getTargetConstant(IdxEn, DL, MVT::i1) // idxen
 6370       DAG.getTargetConstant(0, DL, MVT::i1), // idxen
 6394       DAG.getTargetConstant(1, DL, MVT::i1), // idxen
 6426       DAG.getTargetConstant(Slc << 1, DL, MVT::i32), // cachepolicy
 6427       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idxen
 6499       DAG.getTargetConstant(0, DL, MVT::i1), // idxen
 6573       DAG.getTargetConstant(1, DL, MVT::i1), // idxen
 6640       DAG.getTargetConstant(Slc << 1, DL, MVT::i32), // cachepolicy
 6641       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idxen
 6666       DAG.getTargetConstant(0, DL, MVT::i1), // idxen
 6687       DAG.getTargetConstant(1, DL, MVT::i1), // idxen
 6782       DAG.getTargetConstant(Tgt->getZExtValue(), DL, MVT::i8), // tgt
 6783       DAG.getTargetConstant(En->getZExtValue(), DL, MVT::i8),  // en
 6788       DAG.getTargetConstant(0, DL, MVT::i1), // compr
 6789       DAG.getTargetConstant(VM->getZExtValue(), DL, MVT::i1)
 6807       DAG.getTargetConstant(Tgt->getZExtValue(), DL, MVT::i8), // tgt
 6808       DAG.getTargetConstant(En->getZExtValue(), DL, MVT::i8),  // en
 6813       DAG.getTargetConstant(1, DL, MVT::i1), // compr
 6814       DAG.getTargetConstant(VM->getZExtValue(), DL, MVT::i1)
 6851       DAG.getTargetConstant(Dfmt | (Nfmt << 4), DL, MVT::i32), // format
 6852       DAG.getTargetConstant(Glc | (Slc << 1), DL, MVT::i32), // cachepolicy
 6853       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idexen
 6878       DAG.getTargetConstant(1, DL, MVT::i1), // idexen
 6903       DAG.getTargetConstant(0, DL, MVT::i1), // idexen
 6931       DAG.getTargetConstant(Glc | (Slc << 1), DL, MVT::i32), // cachepolicy
 6932       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idxen
 6981       DAG.getTargetConstant(0, DL, MVT::i1), // idxen
 7026       DAG.getTargetConstant(1, DL, MVT::i1), // idxen
 7057       DAG.getTargetConstant(Slc << 1, DL, MVT::i32), // cachepolicy
 7058       DAG.getTargetConstant(IdxEn, DL, MVT::i1), // idxen
 7140     C1 = cast<ConstantSDNode>(DAG.getTargetConstant(ImmOffset, DL, MVT::i32));
 7154     C1 = cast<ConstantSDNode>(DAG.getTargetConstant(0, DL, MVT::i32));
 7171       Offsets[2] = DAG.getTargetConstant(ImmOffset, DL, MVT::i32);
 7184       Offsets[2] = DAG.getTargetConstant(ImmOffset, DL, MVT::i32);
 7190   Offsets[2] = DAG.getTargetConstant(0, DL, MVT::i32);
 7623   SDValue FPRoundFlag = DAG.getTargetConstant(0, SL, MVT::i32);
 7673   return DAG.getTargetConstant(Mode, SL, MVT::i32);
 7702   const SDValue BitField = DAG.getTargetConstant(Denorm32Reg, SL, MVT::i16);
 9763                          DAG.getTargetConstant(0, SL, MVT::i1));
10181   Ops.push_back(DAG.getTargetConstant(NewDmask, SDLoc(Node), MVT::i32));
10220       SDValue Op = DAG.getTargetConstant(Idx, SDLoc(User), MVT::i32);
10466   SDValue K = DAG.getTargetConstant(Val, DL, MVT::i32);
10479     DAG.getTargetConstant(AMDGPU::SGPR_64RegClassID, DL, MVT::i32),
10481     DAG.getTargetConstant(AMDGPU::sub0, DL, MVT::i32),
10483     DAG.getTargetConstant(AMDGPU::sub1, DL, MVT::i32)
10491     DAG.getTargetConstant(AMDGPU::SGPR_128RegClassID, DL, MVT::i32),
10493     DAG.getTargetConstant(AMDGPU::sub0_sub1, DL, MVT::i32),
10495     DAG.getTargetConstant(AMDGPU::sub2_sub3, DL, MVT::i32)
10521     DAG.getTargetConstant(AMDGPU::SGPR_128RegClassID, DL, MVT::i32),
10523     DAG.getTargetConstant(AMDGPU::sub0, DL, MVT::i32),
10525     DAG.getTargetConstant(AMDGPU::sub1, DL, MVT::i32),
10527     DAG.getTargetConstant(AMDGPU::sub2, DL, MVT::i32),
10529     DAG.getTargetConstant(AMDGPU::sub3, DL, MVT::i32)
lib/Target/ARC/ARCISelDAGToDAG.cpp
   53     Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
   79     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  101     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  119     Offset = CurDAG->getTargetConstant(RHSC, SDLoc(Addr), MVT::i32);
  123   Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  139     Offset = CurDAG->getTargetConstant(RHSC, SDLoc(Addr), MVT::i32);
  151     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  162           CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), MVT::i32);
  176                        CurDAG->getTargetConstant(CVal, SDLoc(N), MVT::i32)));
lib/Target/ARM/ARMISelDAGToDAG.cpp
   75     return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
  106     Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
  542       Opc = CurDAG->getTargetConstant(
  559   Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal),
  586   Opc = CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, ShImmVal),
  613       OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
  624     OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
  640       OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32);
  647   OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
  670           Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt,
  756   Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
  792   Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, ShAmt, ShOpcVal),
  809     Opc = CurDAG->getTargetConstant(Val, SDLoc(Op), MVT::i32);
  828     Opc = CurDAG->getTargetConstant(ARM_AM::getAM2Opc(AddSub, Val,
  849     Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(ARM_AM::sub, 0), SDLoc(N),
  862     Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(ARM_AM::add, 0), SDLoc(N),
  884     Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(AddSub, RHSC), SDLoc(N),
  891   Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(ARM_AM::add, 0), SDLoc(N),
  907     Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(AddSub, Val), SDLoc(Op),
  913   Opc = CurDAG->getTargetConstant(ARM_AM::getAM3Opc(AddSub, 0), SDLoc(Op),
  932     Offset = CurDAG->getTargetConstant(ARM_AM::getAM5Opc(ARM_AM::add, 0),
  956       Offset = CurDAG->getTargetConstant(ARM_AM::getAM5FP16Opc(AddSub, RHSC),
  959       Offset = CurDAG->getTargetConstant(ARM_AM::getAM5Opc(AddSub, RHSC),
  968     Offset = CurDAG->getTargetConstant(ARM_AM::getAM5FP16Opc(ARM_AM::add, 0),
  971     Offset = CurDAG->getTargetConstant(ARM_AM::getAM5Opc(ARM_AM::add, 0),
 1012   Align = CurDAG->getTargetConstant(Alignment, SDLoc(N), MVT::i32);
 1035     Label = CurDAG->getTargetConstant(cast<ConstantSDNode>(N1)->getZExtValue(),
 1090     OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1107     OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1115     OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32);
 1152     OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1177           OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32);
 1198           CurDAG->getTargetConstant(RHSC * (1 << Shift), SDLoc(N), MVT::i32);
 1205   OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1227       OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1240     OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1260       OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32);
 1267   OffImm  = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1290       OffImm = CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32);
 1307       ? CurDAG->getTargetConstant(RHSC, SDLoc(N), MVT::i32)
 1308       : CurDAG->getTargetConstant(-RHSC, SDLoc(N), MVT::i32);
 1332           CurDAG->getTargetConstant(RHSC * (1 << Shift), SDLoc(N), MVT::i32);
 1339   OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1360             ? CurDAG->getTargetConstant(RHSC * (1 << Shift), SDLoc(N), MVT::i32)
 1361             : CurDAG->getTargetConstant(-RHSC * (1 << Shift), SDLoc(N),
 1423   ShImm = CurDAG->getTargetConstant(ShAmt, SDLoc(N), MVT::i32);
 1433   OffImm = CurDAG->getTargetConstant(0, SDLoc(N), MVT::i32);
 1453   OffImm = CurDAG->getTargetConstant(RHSC/4, SDLoc(N), MVT::i32);
 1461   return CurDAG->getTargetConstant((uint64_t)ARMCC::AL, dl, MVT::i32);
 1676                    CurDAG->getTargetConstant(ARMVCC::None, SDLoc(N), MVT::i32),
 1692     CurDAG->getTargetConstant(ARM::GPRPairRegClassID, dl, MVT::i32);
 1693   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::gsub_0, dl, MVT::i32);
 1694   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::gsub_1, dl, MVT::i32);
 1703     CurDAG->getTargetConstant(ARM::DPR_VFP2RegClassID, dl, MVT::i32);
 1704   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::ssub_0, dl, MVT::i32);
 1705   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::ssub_1, dl, MVT::i32);
 1713   SDValue RegClass = CurDAG->getTargetConstant(ARM::QPRRegClassID, dl,
 1715   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::dsub_0, dl, MVT::i32);
 1716   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::dsub_1, dl, MVT::i32);
 1724   SDValue RegClass = CurDAG->getTargetConstant(ARM::QQPRRegClassID, dl,
 1726   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::qsub_0, dl, MVT::i32);
 1727   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::qsub_1, dl, MVT::i32);
 1737     CurDAG->getTargetConstant(ARM::QPR_VFP2RegClassID, dl, MVT::i32);
 1738   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::ssub_0, dl, MVT::i32);
 1739   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::ssub_1, dl, MVT::i32);
 1740   SDValue SubReg2 = CurDAG->getTargetConstant(ARM::ssub_2, dl, MVT::i32);
 1741   SDValue SubReg3 = CurDAG->getTargetConstant(ARM::ssub_3, dl, MVT::i32);
 1751   SDValue RegClass = CurDAG->getTargetConstant(ARM::QQPRRegClassID, dl,
 1753   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::dsub_0, dl, MVT::i32);
 1754   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::dsub_1, dl, MVT::i32);
 1755   SDValue SubReg2 = CurDAG->getTargetConstant(ARM::dsub_2, dl, MVT::i32);
 1756   SDValue SubReg3 = CurDAG->getTargetConstant(ARM::dsub_3, dl, MVT::i32);
 1766   SDValue RegClass = CurDAG->getTargetConstant(ARM::QQQQPRRegClassID, dl,
 1768   SDValue SubReg0 = CurDAG->getTargetConstant(ARM::qsub_0, dl, MVT::i32);
 1769   SDValue SubReg1 = CurDAG->getTargetConstant(ARM::qsub_1, dl, MVT::i32);
 1770   SDValue SubReg2 = CurDAG->getTargetConstant(ARM::qsub_2, dl, MVT::i32);
 1771   SDValue SubReg3 = CurDAG->getTargetConstant(ARM::qsub_3, dl, MVT::i32);
 1796   return CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
 2247   Align = CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
 2341   Ops.push_back(CurDAG->getTargetConstant(ARMVCC::Then, Loc, MVT::i32));
 2349   Ops.push_back(CurDAG->getTargetConstant(ARMVCC::Then, Loc, MVT::i32));
 2356   Ops.push_back(CurDAG->getTargetConstant(ARMVCC::None, Loc, MVT::i32));
 2363   Ops.push_back(CurDAG->getTargetConstant(ARMVCC::None, Loc, MVT::i32));
 2531   Align = CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
 2672                               CurDAG->getTargetConstant(LSB, dl, MVT::i32),
 2681             CurDAG->getTargetConstant(ARM_AM::getSORegOpc(ShOpcVal, LSB), dl,
 2691                           CurDAG->getTargetConstant(LSB, dl, MVT::i32),
 2692                           CurDAG->getTargetConstant(Width, dl, MVT::i32),
 2716                         CurDAG->getTargetConstant(LSB, dl, MVT::i32),
 2717                         CurDAG->getTargetConstant(Width, dl, MVT::i32),
 2738                         CurDAG->getTargetConstant(Srl_imm, dl, MVT::i32),
 2739                         CurDAG->getTargetConstant(Width, dl, MVT::i32),
 2759                       CurDAG->getTargetConstant(LSB, dl, MVT::i32),
 2760                       CurDAG->getTargetConstant(Width - 1, dl, MVT::i32),
 2879       SDValue Ops[] = { Src, CurDAG->getTargetConstant(Imm, dl, MVT::i32),
 2885                        CurDAG->getTargetConstant(Imm, dl, MVT::i32),
 2951                          CurDAG->getTargetConstant(RHSC, dl, MVT::i32),
 3005           CurDAG->getTargetConstant(0, dl, MVT::i32),
 3042                            CurDAG->getTargetConstant(0, dl, MVT::i32));
 3047       SDValue Ops[] = { TFI, CurDAG->getTargetConstant(0, dl, MVT::i32),
 3075         SDValue ShImmOp = CurDAG->getTargetConstant(ShImm, dl, MVT::i32);
 3094         SDValue ShImmOp = CurDAG->getTargetConstant(ShImm, dl, MVT::i32);
 3183         SDValue Imm16 = CurDAG->getTargetConstant((N2CVal & 0xFFFF0000U) >> 16,
 3343           SDValue Size = CurDAG->getTargetConstant(
 3383     SDValue Tmp2 = CurDAG->getTargetConstant(CC, dl, MVT::i32);
 3415           SDValue Ops[] = { X, CurDAG->getTargetConstant(Addend, dl, MVT::i32),
 3422                            CurDAG->getTargetConstant(Addend, dl, MVT::i32),
 3871             CurDAG->getTargetConstant(ARM::gsub_0, dl, MVT::i32);
 3884             CurDAG->getTargetConstant(ARM::gsub_1, dl, MVT::i32);
 4309       Ops.push_back(CurDAG->getTargetConstant(IntField, DL, MVT::i32));
 4451     Ops = { CurDAG->getTargetConstant(BankedReg, DL, MVT::i32),
 4496     SDValue Ops[] = { CurDAG->getTargetConstant(SYSmValue, DL, MVT::i32),
 4566     Ops = { CurDAG->getTargetConstant(BankedReg, DL, MVT::i32), N->getOperand(2),
 4607     SDValue Ops[] = { CurDAG->getTargetConstant(SYSmValue, DL, MVT::i32),
 4619     Ops = { CurDAG->getTargetConstant(Mask, DL, MVT::i32), N->getOperand(2),
 4773       AsmNodeOperands[AsmNodeOperands.size() -1] = CurDAG->getTargetConstant(
lib/Target/ARM/ARMISelLowering.cpp
 3131                    DAG.getTargetConstant(Intrinsic::arm_mrc, DL, MVT::i32),
 3132                    DAG.getTargetConstant(15, DL, MVT::i32),
 3133                    DAG.getTargetConstant(0, DL, MVT::i32),
 3134                    DAG.getTargetConstant(13, DL, MVT::i32),
 3135                    DAG.getTargetConstant(0, DL, MVT::i32),
 3136                    DAG.getTargetConstant(2, DL, MVT::i32)};
 3613                 {ReturnAddress, DAG.getTargetConstant(ARMCC::AL, dl, PtrVT),
 5459                                DAG.getTargetConstant(EncodedVal, dl, MVT::i32));
 5480     SDValue AllOnes = DAG.getTargetConstant(ARM_AM::createVMOVModImm(0xe, 0xff),
 5781   SDValue EncodedVal = DAG.getTargetConstant(0, dl, MVT::i32);
 5905                                 DAG.getTargetConstant(1, dl, ElemTy));
 5916                       DAG.getTargetConstant(NumBits - 1, dl, ElemTy));
 5928                                DAG.getTargetConstant(0x1eff, dl, MVT::i32));
 5932                                 DAG.getTargetConstant(1, dl, ElemTy));
 6506   return DAG.getTargetConstant(EncodedVal, dl, MVT::i32);
 6563     SDValue NewVal = DAG.getTargetConstant(ImmVal, DL, MVT::i32);
 7138           SDValue Val = DAG.getTargetConstant(ImmVal, dl, MVT::i32);
 7729       DAG.getTargetConstant(ARM_AM::createVMOVModImm(0xe, 0xff), dl, MVT::i32);
 7733       DAG.getTargetConstant(ARM_AM::createVMOVModImm(0xe, 0x0), dl, MVT::i32);
 9006                                 DAG.getTargetConstant(0, dl, MVT::i32));
 9036                     DAG.getTargetConstant(Intrinsic::arm_mrc, DL, MVT::i32),
 9037                     DAG.getTargetConstant(15, DL, MVT::i32),
 9038                     DAG.getTargetConstant(0, DL, MVT::i32),
 9039                     DAG.getTargetConstant(9, DL, MVT::i32),
 9040                     DAG.getTargetConstant(13, DL, MVT::i32),
 9041                     DAG.getTargetConstant(0, DL, MVT::i32)
 9061       DAG.getTargetConstant(ARM::GPRPairRegClassID, dl, MVT::i32);
 9062   SDValue SubReg0 = DAG.getTargetConstant(ARM::gsub_0, dl, MVT::i32);
 9063   SDValue SubReg1 = DAG.getTargetConstant(ARM::gsub_1, dl, MVT::i32);
14174     SDValue Size = DAG.getTargetConstant(
15905     Result = DAG.getTargetConstant(CVal, SDLoc(Op), Op.getValueType());
lib/Target/AVR/AVRISelDAGToDAG.cpp
   73     Disp = CurDAG->getTargetConstant(0, dl, MVT::i8);
  100       Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i16);
  112       Disp = CurDAG->getTargetConstant(RHSC, dl, MVT::i8);
  282         Disp = CurDAG->getTargetConstant(ImmNode->getAPIntValue().getZExtValue(), dl, MVT::i8);
  319                        CurDAG->getTargetConstant(0, SDLoc(N), MVT::i16));
  345   SDValue Offset = CurDAG->getTargetConstant(CST, DL, MVT::i16);
lib/Target/AVR/AVRISelLowering.cpp
 1940       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1945       Result = DAG.getTargetConstant(CVal64, DL, Ty);
 1950       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1955       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1966       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1971       Result = DAG.getTargetConstant(CVal64, DL, Ty);
 1976       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1981       Result = DAG.getTargetConstant(CUVal64, DL, Ty);
 1986       Result = DAG.getTargetConstant(CVal64, DL, Ty);
 1997     Result = DAG.getTargetConstant(0, DL, MVT::i8);
lib/Target/BPF/BPFISelDAGToDAG.cpp
  104     Offset = CurDAG->getTargetConstant(0, DL, MVT::i64);
  124       Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
  130   Offset = CurDAG->getTargetConstant(0, DL, MVT::i64);
  152     Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
  172   SDValue AluOp = CurDAG->getTargetConstant(ISD::ADD, DL, MVT::i32);;
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  128   SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32);
  134       SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32);
  168     SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32);
  206     SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), dl, MVT::i32);
  391       SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), DL, MVT::i32);
  426       SDValue I = CurDAG->getTargetConstant(Inc->getSExtValue(), DL, MVT::i32);
  524   SDValue IncV = CurDAG->getTargetConstant(Inc, dl, MVT::i32);
  540     SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32);
  588         SDValue Val = CurDAG->getTargetConstant(ValConst, dl, MVT::i32);
  609           SDValue Val = CurDAG->getTargetConstant(-ValConst, dl, MVT::i32);
  703     SDValue V = CurDAG->getTargetConstant(A.getZExtValue(), dl, MVT::i32);
  708     SDValue V = CurDAG->getTargetConstant(A.getZExtValue(), dl, MVT::i64);
  740   SDValue Zero = CurDAG->getTargetConstant(0, DL, MVT::i32);
  779       CurDAG->getTargetConstant(Hexagon::DoubleRegsRegClassID, dl, MVT::i32),
  781       CurDAG->getTargetConstant(Hexagon::isub_hi, dl, MVT::i32),
  783       CurDAG->getTargetConstant(Hexagon::isub_lo, dl, MVT::i32)
  789     SDValue M0 = CurDAG->getTargetConstant(0x18, dl, MVT::i32);
  790     SDValue M1 = CurDAG->getTargetConstant(0x03, dl, MVT::i32);
  815   SDValue M = CurDAG->getTargetConstant(Mask, dl, MVT::i32);
  842   SDValue Zero = CurDAG->getTargetConstant(0, dl, MVT::i32);
  855   SDValue C = CurDAG->getTargetConstant(-1, dl, MVT::i32);
  868   SDValue C = CurDAG->getTargetConstant(-1, dl, MVT::i32);
  929   OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
 1337     R = CurDAG->getTargetConstant(V, SDLoc(N), N.getValueType());
 1485     CurDAG->getTargetConstant(Hexagon::DoubleRegsRegClassID, dl, MVT::i32),
 1486     R, CurDAG->getTargetConstant(Hexagon::isub_hi, dl, MVT::i32),
 1487     R, CurDAG->getTargetConstant(Hexagon::isub_lo, dl, MVT::i32)
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
 1043     DAG.getTargetConstant(Hexagon::HvxWRRegClassID, dl, MVT::i32),
 1044     Lo, DAG.getTargetConstant(Hexagon::vsub_lo, dl, MVT::i32),
 1045     Hi, DAG.getTargetConstant(Hexagon::vsub_hi, dl, MVT::i32),
 1101       SDValue S = DAG.getTargetConstant(IsRight ? MinSrc : HwLen-MinSrc,
 1107       SDValue S = DAG.getTargetConstant(MinSrc, dl, MVT::i32);
 1926                  { DAG.getTargetConstant(S, dl, MVT::i32) });
 2089       SDValue C = DAG.getTargetConstant(S, dl, MVT::i32);
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
  695   SDValue Zero = DAG.getTargetConstant(0, dl, MVT::i32);
  866                   {Vec64, DAG.getTargetConstant(0, dl, MVT::i32)}, DAG);
lib/Target/Lanai/LanaiISelDAGToDAG.cpp
   86     return CurDAG->getTargetConstant(Imm, DL, MVT::i32);
  109       Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0));
  131         Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0));
  133         AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
  144         Offset = CurDAG->getTargetConstant(Imm, DL, CN->getValueType(0));
  146         AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
  157     Offset = CurDAG->getTargetConstant(0, DL, MVT::i32);
  158     AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
  170     AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
  185         Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i32);
  196   Offset = CurDAG->getTargetConstant(0, DL, MVT::i32);
  197   AluOp = CurDAG->getTargetConstant(LPAC::ADD, DL, MVT::i32);
  243     AluOp = CurDAG->getTargetConstant(AluCode, SDLoc(Addr), MVT::i32);
  317   SDValue Imm = CurDAG->getTargetConstant(0, DL, MVT::i32);
lib/Target/Lanai/LanaiISelLowering.cpp
  299         Result = DAG.getTargetConstant(C->getSExtValue(), SDLoc(C),
  309         Result = DAG.getTargetConstant(0, SDLoc(C), Op.getValueType());
  317         Result = DAG.getTargetConstant(C->getSExtValue(), SDLoc(C),
  326         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(C),
  336         Result = DAG.getTargetConstant(Val, SDLoc(C), Op.getValueType());
  345         Result = DAG.getTargetConstant(Val, SDLoc(C), Op.getValueType());
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
  279     Disp = CurDAG->getTargetConstant(AM.Disp, SDLoc(N), MVT::i16);
  399                            CurDAG->getTargetConstant(0, dl, MVT::i16));
  404                           CurDAG->getTargetConstant(0, dl, MVT::i16)));
lib/Target/Mips/Mips16ISelDAGToDAG.cpp
  107       Offset = CurDAG->getTargetConstant(0, DL, ValTy);
  131           Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
  137       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
  163   Offset = CurDAG->getTargetConstant(0, DL, ValTy);
lib/Target/Mips/MipsISelDAGToDAG.h
  139     return CurDAG->getTargetConstant(Imm, SDLoc(Node), Node->getValueType(0));
lib/Target/Mips/MipsISelLowering.cpp
 4039         Result = DAG.getTargetConstant(Val, DL, Type);
 4049         Result = DAG.getTargetConstant(0, DL, Type);
 4059         Result = DAG.getTargetConstant(Val, DL, Type);
 4069         Result = DAG.getTargetConstant(Val, DL, Type);
 4079         Result = DAG.getTargetConstant(Val, DL, Type);
 4089         Result = DAG.getTargetConstant(Val, DL, Type);
 4099         Result = DAG.getTargetConstant(Val, DL, Type);
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  233   SDValue CstOne = CurDAG->getTargetConstant(1, DL, MVT::i32);
  235   SDValue OuFlag = CurDAG->getTargetConstant(20, DL, MVT::i32);
  244                     CurDAG->getTargetConstant(6, DL, MVT::i32), CstOne,
  272     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy);
  300       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr),
  363   Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), Addr.getValueType());
  638       Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy);
  671       Imm = CurDAG->getTargetConstant(ImmValue.countPopulation() - 1, SDLoc(N),
  703       Imm = CurDAG->getTargetConstant(ImmValue.countPopulation() - 1, SDLoc(N),
  725       Imm = CurDAG->getTargetConstant(Log2, SDLoc(N), EltTy);
  807     SDValue ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd),
  823       ImmOpnd = CurDAG->getTargetConstant(SignExtend64<16>(Inst->ImmOpnd), DL,
  932           Node->getOperand(0), CurDAG->getTargetConstant(Pos, DL, MVT::i32),
  933           CurDAG->getTargetConstant(Size, DL, MVT::i32), Node->getOperand(3)};
  957                                CurDAG->getTargetConstant(0, DL, MVT::i32));
 1054       SDValue LoVal = CurDAG->getTargetConstant(Lo, DL, SplatMVT);
 1066       SDValue LoVal = CurDAG->getTargetConstant(Lo, DL, MVT::i32);
 1067       SDValue HiVal = CurDAG->getTargetConstant(Hi, DL, MVT::i32);
 1088       SDValue LoVal = CurDAG->getTargetConstant(Lo, DL, MVT::i32);
 1089       SDValue HiVal = CurDAG->getTargetConstant(Hi, DL, MVT::i32);
 1100               CurDAG->getTargetConstant(((Hi >> 15) & 0x1), DL, MVT::i64),
 1102               CurDAG->getTargetConstant(Mips::sub_32, DL, MVT::i64));
 1138       SDValue LoVal = CurDAG->getTargetConstant(Lo, DL, MVT::i32);
 1139       SDValue HiVal = CurDAG->getTargetConstant(Hi, DL, MVT::i32);
 1140       SDValue HigherVal = CurDAG->getTargetConstant(Higher, DL, MVT::i32);
 1141       SDValue HighestVal = CurDAG->getTargetConstant(Highest, DL, MVT::i32);
 1184             CurDAG->getTargetConstant(1, DL, MVT::i32));
 1192             CurDAG->getTargetConstant(RC->getID(), DL, MVT::i32));
 1196             CurDAG->getTargetConstant(0, DL, MVT::i32));
 1206               CurDAG->getTargetConstant(((Highest >> 15) & 0x1), DL, MVT::i64),
 1208               CurDAG->getTargetConstant(Mips::sub_32, DL, MVT::i64));
 1213               CurDAG->getTargetConstant(((Hi >> 15) & 0x1), DL, MVT::i64),
 1215               CurDAG->getTargetConstant(Mips::sub_32, DL, MVT::i64));
 1237               CurDAG->getTargetConstant(0, DL, MVT::i32));
 1259                                    CurDAG->getTargetConstant(RC->getID(), DL,
 1283     OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
 1293     OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
 1307     OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
 1334     OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
lib/Target/Mips/MipsSEISelLowering.cpp
 2958     Ops.push_back(DAG.getTargetConstant(*I, DL, MaskEltTy));
lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
  597       N->getOperand(1), CurDAG->getTargetConstant(PTXCmpMode, DL, MVT::i32));
 1693                                CurDAG->getTargetConstant(NVPTX::PTXCvtMode::NONE,
 2163   Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32));
 2198   Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32));
 2273   Ops.push_back(CurDAG->getTargetConstant(ParamVal, DL, MVT::i32));
 2274   Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32));
 2317     SDValue CvtNone = CurDAG->getTargetConstant(NVPTX::PTXCvtMode::NONE, DL,
 2326     SDValue CvtNone = CurDAG->getTargetConstant(NVPTX::PTXCvtMode::NONE, DL,
 3409     Len = CurDAG->getTargetConstant(NumBits, DL, MVT::i32);
 3427         Start = CurDAG->getTargetConstant(StartVal, DL, MVT::i32);
 3492       Start = CurDAG->getTargetConstant(ShiftAmt, DL, MVT::i32);
 3493       Len = CurDAG->getTargetConstant(NumBits, DL, MVT::i32);
 3532       Start = CurDAG->getTargetConstant(OuterShiftAmt - InnerShiftAmt, DL,
 3534       Len = CurDAG->getTargetConstant(Val.getValueSizeInBits() - OuterShiftAmt,
 3610         Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(OpNode),
 3636     Offset = CurDAG->getTargetConstant(0, SDLoc(OpNode), mvt);
 3654       Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(OpNode),
 3700       OutOps.push_back(CurDAG->getTargetConstant(0, SDLoc(Op), MVT::i32));
lib/Target/NVPTX/NVPTXISelDAGToDAG.h
   79     return CurDAG->getTargetConstant(Imm, DL, MVT::i32);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  168       return CurDAG->getTargetConstant(Imm, dl, MVT::i16);
  174       return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
  180       return CurDAG->getTargetConstant(Imm, dl, MVT::i64);
  185       return CurDAG->getTargetConstant(
  323         SDValue RC = CurDAG->getTargetConstant(TRC->getID(), dl, MVT::i32);
  919       return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
  925     SDValue SDImm = CurDAG->getTargetConstant(SextImm, dl, MVT::i64);
 1024       return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
 1096     SDValue SDImm = CurDAG->getTargetConstant(SextImm, dl, MVT::i64);
 1703     return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
 1726     SDValue SubRegIdx = CurDAG->getTargetConstant(PPC::sub_32, dl, MVT::i32);
 1740     SDValue SubRegIdx = CurDAG->getTargetConstant(PPC::sub_32, dl, MVT::i32);
 2635     CurDAG->getTargetConstant(SubRegToExtract, dl, MVT::i32);
 2797       CurDAG->getTargetConstant(PPC::sub_32, dl, MVT::i32);
 2807     CurDAG->getTargetConstant(PPC::sub_32, dl, MVT::i32);
 4796                                         CurDAG->getTargetConstant(1, dl, InVT)),
 4800       CurDAG->getTargetConstant(N->getOpcode() == PPCISD::ANDIo_1_EQ_BIT ?
 4978       SDValue DMV = CurDAG->getTargetConstant(DM[1] | (DM[0] << 1), dl,
 6529         ImmOpnd = CurDAG->getTargetConstant(Offset, SDLoc(ImmOpnd),
lib/Target/PowerPC/PPCISelLowering.cpp
 2146         return DAG.getTargetConstant(0, SDLoc(N), MVT::i32);  // 0,0,0,undef
 2149         return DAG.getTargetConstant(Val, SDLoc(N), MVT::i32);
 2153         return DAG.getTargetConstant(~0U, SDLoc(N), MVT::i32); // -1,-1,-1,undef
 2156         return DAG.getTargetConstant(Val, SDLoc(N), MVT::i32);
 2200     return DAG.getTargetConstant(MaskVal, SDLoc(N), MVT::i32);
 2382       Disp = DAG.getTargetConstant(imm, dl, N.getValueType());
 2421         Disp = DAG.getTargetConstant(imm, dl, N.getValueType());
 2433       Disp = DAG.getTargetConstant(Imm, dl, CN->getValueType(0));
 2446       Disp = DAG.getTargetConstant((short)Addr, dl, MVT::i32);
 2448       Base = DAG.getTargetConstant((Addr - (signed short)Addr) >> 16, dl,
 2456   Disp = DAG.getTargetConstant(0, dl, getPointerTy(DAG.getDataLayout()));
 9566                    DAG.getTargetConstant(VectorIndex, dl, MVT::i32));
13698           DAG.getTargetConstant(IntrLD, dl, getPointerTy(MF.getDataLayout()));
13755                                DAG.getTargetConstant(1, dl, MVT::i64));
14422         Result = DAG.getTargetConstant(Value, dl, TCVT);
14426         Result = DAG.getTargetConstant(Value, dl, TCVT);
14430         Result = DAG.getTargetConstant(Value, dl, TCVT);
14434         Result = DAG.getTargetConstant(Value, dl, TCVT);
14438         Result = DAG.getTargetConstant(Value, dl, TCVT);
14442         Result = DAG.getTargetConstant(Value, dl, TCVT);
14446         Result = DAG.getTargetConstant(Value, dl, TCVT);
14450         Result = DAG.getTargetConstant(Value, dl, TCVT);
15317         DCI.DAG.getTargetConstant(EltToExtract, dl, MVT::i32));
15493                          DAG.getTargetConstant(0, dl, MVT::i32));
15502                          DAG.getTargetConstant(1, dl, MVT::i32));
15566                        DAG.getTargetConstant(0, dl, MVT::i32));
lib/Target/RISCV/RISCVISelDAGToDAG.cpp
   74     SDValue SDImm = CurDAG->getTargetConstant(Inst.Imm, DL, XLenVT);
  130     SDValue Imm = CurDAG->getTargetConstant(0, DL, XLenVT);
  152             CurDAG->getTargetConstant(ShAmt, SDLoc(Node), XLenVT);
  258       ImmOperand = CurDAG->getTargetConstant(
lib/Target/RISCV/RISCVISelLowering.cpp
 2695               DAG.getTargetConstant(CVal, SDLoc(Op), Subtarget.getXLenVT()));
 2703               DAG.getTargetConstant(0, SDLoc(Op), Subtarget.getXLenVT()));
 2711               DAG.getTargetConstant(CVal, SDLoc(Op), Subtarget.getXLenVT()));
lib/Target/Sparc/SparcISelDAGToDAG.cpp
   80     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
   99         Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr),
  116   Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  270                   CurDAG->getTargetConstant(SP::IntPairRegClassID, dl,
  273                   CurDAG->getTargetConstant(SP::sub_even, dl, MVT::i32),
  275                   CurDAG->getTargetConstant(SP::sub_odd, dl, MVT::i32),
  299       AsmNodeOperands[AsmNodeOperands.size() -1] = CurDAG->getTargetConstant(
  354                                    CurDAG->getTargetConstant(31, dl, MVT::i32)),
lib/Target/Sparc/SparcISelLowering.cpp
  956     Ops.push_back(DAG.getTargetConstant(SRetArgSize, dl, MVT::i32));
 2242     SDValue RHS = DAG.getTargetConstant(0, DL, Result.getValueType());
 2249     SDValue RHS    = DAG.getTargetConstant(0, DL, Result.getValueType());
 2254     SDValue RHS = DAG.getTargetConstant(2, DL, Result.getValueType());
 2259     SDValue RHS = DAG.getTargetConstant(1, DL, Result.getValueType());
 2264     SDValue RHS = DAG.getTargetConstant(1, DL, Result.getValueType());
 2270     SDValue RHS = DAG.getTargetConstant(3, DL, Result.getValueType());
 2275     SDValue RHS = DAG.getTargetConstant(3, DL, Result.getValueType());
 2282     SDValue RHS    = DAG.getTargetConstant(0, DL, Result.getValueType());
 2289     SDValue RHS    = DAG.getTargetConstant(0, DL, Result.getValueType());
 2746   SDValue SubRegEven = DAG.getTargetConstant(SP::sub_even64, dl, MVT::i32);
 2747   SDValue SubRegOdd  = DAG.getTargetConstant(SP::sub_odd64, dl, MVT::i32);
 2785   SDValue SubRegEven = DAG.getTargetConstant(SP::sub_even64, dl, MVT::i32);
 2786   SDValue SubRegOdd  = DAG.getTargetConstant(SP::sub_odd64, dl, MVT::i32);
 3239         Result = DAG.getTargetConstant(C->getSExtValue(), SDLoc(Op),
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
  139     return CurDAG->getTargetConstant(Imm, SDLoc(Node), Node->getValueType(0));
  645   Disp = CurDAG->getTargetConstant(AM.Disp, SDLoc(Base), VT);
 1041     CurDAG->getTargetConstant(RISBG.Start, DL, MVT::i32),
 1042     CurDAG->getTargetConstant(RISBG.End | 128, DL, MVT::i32),
 1043     CurDAG->getTargetConstant(RISBG.Rotate, DL, MVT::i32)
 1098     CurDAG->getTargetConstant(RxSBG[I].Start, DL, MVT::i32),
 1099     CurDAG->getTargetConstant(RxSBG[I].End, DL, MVT::i32),
 1100     CurDAG->getTargetConstant(RxSBG[I].Rotate, DL, MVT::i32)
 1154     Ops.push_back(CurDAG->getTargetConstant(OpVal, DL, MVT::i32));
 1198     CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain()
 1231     Vec, Base, Disp, Index, CurDAG->getTargetConstant(Elem, DL, MVT::i32),
 1558       CCMask = CurDAG->getTargetConstant(ConstCCValid ^ ConstCCMask,
 1668     SDValue RC = CurDAG->getTargetConstant(TRC->getID(), DL, MVT::i32);
lib/Target/SystemZ/SystemZISelLowering.cpp
 1161           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 1168           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 1175           Ops.push_back(DAG.getTargetConstant(C->getSExtValue(), SDLoc(Op),
 1182           Ops.push_back(DAG.getTargetConstant(C->getSExtValue(), SDLoc(Op),
 1189           Ops.push_back(DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
 2552                        DAG.getTargetConstant(C.ICmpType, DL, MVT::i32));
 2557                        DAG.getTargetConstant(RegisterOnly, DL, MVT::i32));
 2597                    DAG.getTargetConstant(CCValid, DL, MVT::i32),
 2598                    DAG.getTargetConstant(CCMask, DL, MVT::i32), CCReg};
 2762       DAG.getTargetConstant(C.CCValid, DL, MVT::i32),
 2763       DAG.getTargetConstant(C.CCMask, DL, MVT::i32), Dest, CCReg);
 2815                    DAG.getTargetConstant(C.CCValid, DL, MVT::i32),
 2816                    DAG.getTargetConstant(C.CCMask, DL, MVT::i32), CCReg};
 3903   SDValue Ops[] = {Op.getOperand(0), DAG.getTargetConstant(Code, DL, MVT::i32),
 4246     SDValue Op2 = DAG.getTargetConstant(P.Operand, DL, MVT::i32);
 4272                        DAG.getTargetConstant(StartIndex, DL, MVT::i32));
 4770                        DAG.getTargetConstant(Index, DL, MVT::i32));
 6060                        DAG.getTargetConstant(CCValidVal, SDLoc(N), MVT::i32),
 6061                        DAG.getTargetConstant(CCMaskVal, SDLoc(N), MVT::i32),
 6083                        DAG.getTargetConstant(CCValidVal, SDLoc(N), MVT::i32),
 6084                        DAG.getTargetConstant(CCMaskVal, SDLoc(N), MVT::i32),
lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
  214       DAG.getTargetConstant(SystemZ::CCMASK_SRST, DL, MVT::i32),
  215       DAG.getTargetConstant(SystemZ::CCMASK_SRST_FOUND, DL, MVT::i32), CCReg};
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
  116           CurDAG->getTargetConstant(0, DL, MVT::i32), // order
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  915                                            DAG.getTargetConstant(InVals.size(),
  933                     DAG.getTargetConstant(Ins.size(), DL, MVT::i32)));
lib/Target/X86/X86ISelDAGToDAG.cpp
  318         Disp = CurDAG->getTargetConstant(AM.Disp, DL, MVT::i32);
  409       return CurDAG->getTargetConstant(Imm, DL, MVT::i8);
  414       return CurDAG->getTargetConstant(Imm, DL, MVT::i32);
  419       return CurDAG->getTargetConstant(Imm, DL, MVT::i64);
  890           CurDAG->getTargetConstant(Imm, dl, MVT::i8));
 2366     Imm = CurDAG->getTargetConstant(ImmVal, SDLoc(N), MVT::i64);
 3140         Operand = CurDAG->getTargetConstant(OperandV, SDLoc(Node), MemVT);
 3143         Operand = CurDAG->getTargetConstant(OperandV, SDLoc(Node), MemVT);
 3363   SDValue SRIdxVal = CurDAG->getTargetConstant(X86::sub_8bit, DL, MVT::i32);
 3519     Control = CurDAG->getTargetConstant(Shift + MaskSize, dl, NVT);
 3529     Control = CurDAG->getTargetConstant(Shift | (MaskSize << 8), dl, NVT);
 3561     SDValue ShAmt = CurDAG->getTargetConstant(Shift, dl, NVT);
 4252       SDValue RC = CurDAG->getTargetConstant(RegClass, dl, MVT::i32);
 4290     SDValue RC = CurDAG->getTargetConstant(RegClass, dl, MVT::i32);
 4342   SDValue Imm = CurDAG->getTargetConstant(0xCA, dl, MVT::i8);
 4886                           CurDAG->getTargetConstant(X86::sub_16bit, dl,
 4896                           CurDAG->getTargetConstant(0, dl, MVT::i64), ClrNode,
 4897                           CurDAG->getTargetConstant(X86::sub_32bit, dl,
 5019           SDValue Imm = CurDAG->getTargetConstant(TrailingZeros, dl, MVT::i64);
 5030           SDValue Imm = CurDAG->getTargetConstant(LeadingZeros, dl, MVT::i64);
 5090       SDValue Imm = CurDAG->getTargetConstant(Mask, dl, VT);
 5216                                   CurDAG->getTargetConstant(Imm, dl, MVT::i8));
lib/Target/X86/X86ISelLowering.cpp
 2490   RetOps.push_back(DAG.getTargetConstant(FuncInfo->getBytesToPopOnReturn(), dl,
 5700     SDValue ShiftBits = DAG.getTargetConstant(SubVecNumElems, dl, MVT::i8);
 5719                          DAG.getTargetConstant(IdxVal, dl, MVT::i8));
 5729                          DAG.getTargetConstant(ShiftLeft, dl, MVT::i8));
 5732                            DAG.getTargetConstant(ShiftRight, dl, MVT::i8));
 5739                          DAG.getTargetConstant(IdxVal, dl, MVT::i8));
 5752       SDValue ShiftBits = DAG.getTargetConstant(NumElems - IdxVal, dl, MVT::i8);
 5770                        DAG.getTargetConstant(ShiftLeft, dl, MVT::i8));
 5773                        DAG.getTargetConstant(ShiftRight, dl, MVT::i8));
 5778                             DAG.getTargetConstant(LowShift, dl, MVT::i8));
 5780                     DAG.getTargetConstant(LowShift, dl, MVT::i8));
 5785                             DAG.getTargetConstant(HighShift, dl, MVT::i8));
 5787                     DAG.getTargetConstant(HighShift, dl, MVT::i8));
 7665   SDValue ShiftVal = DAG.getTargetConstant(NumBits / 8, dl, MVT::i8);
 9442                             IndicesVec, DAG.getTargetConstant(0, DL, MVT::i8)));
 9478                             IndicesVec, DAG.getTargetConstant(0, DL, MVT::i8)));
10049                      DAG.getTargetConstant(Idx * SubVecNumElts, dl, MVT::i8));
10424   return DAG.getTargetConstant(getV4X86ShuffleImm(Mask), DL, MVT::i8);
11067                        DAG.getTargetConstant(BlendMask, DL, MVT::i8));
11079                          DAG.getTargetConstant(BlendMask, DL, MVT::i8));
11088                                DAG.getTargetConstant(LoMask, DL, MVT::i8));
11090                                DAG.getTargetConstant(HiMask, DL, MVT::i8));
11350                         DAG.getTargetConstant(Scale * RotAmt, DL, MVT::i8)));
11557                         DAG.getTargetConstant(ByteRotation, DL, MVT::i8)));
11573                   DAG.getTargetConstant(LoByteShift, DL, MVT::i8));
11576                   DAG.getTargetConstant(HiByteShift, DL, MVT::i8));
11608                      DAG.getTargetConstant(Rotation, DL, MVT::i8));
11647                       DAG.getTargetConstant(Scale * Shift, DL, MVT::i8));
11649                       DAG.getTargetConstant(Scale * ZeroHi, DL, MVT::i8));
11653                       DAG.getTargetConstant(Scale * Shift, DL, MVT::i8));
11655                       DAG.getTargetConstant(Scale * ZeroLo, DL, MVT::i8));
11662                       DAG.getTargetConstant(Scale * Shift, DL, MVT::i8));
11665                       DAG.getTargetConstant(Scale * Shift, DL, MVT::i8));
11667                       DAG.getTargetConstant(Scale * ZeroLo, DL, MVT::i8));
11789                   DAG.getTargetConstant(ShiftAmt, DL, MVT::i8));
11923                        DAG.getTargetConstant(BitLen, DL, MVT::i8),
11924                        DAG.getTargetConstant(BitIdx, DL, MVT::i8));
11929                        DAG.getTargetConstant(BitLen, DL, MVT::i8),
11930                        DAG.getTargetConstant(BitIdx, DL, MVT::i8));
12027                                 DAG.getTargetConstant(EltBits, DL, MVT::i8),
12028                                 DAG.getTargetConstant(LoIdx, DL, MVT::i8)));
12036                                 DAG.getTargetConstant(EltBits, DL, MVT::i8),
12037                                 DAG.getTargetConstant(HiIdx, DL, MVT::i8)));
12348                        DAG.getTargetConstant(
12781                      DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
12930                          DAG.getTargetConstant(SHUFPDMask, DL, MVT::i8));
12937         DAG.getTargetConstant(SHUFPDMask, DL, MVT::i8));
12983                      DAG.getTargetConstant(SHUFPDMask, DL, MVT::i8));
14872                            DAG.getTargetConstant(PermMask, DL, MVT::i8));
14904                      DAG.getTargetConstant(PermMask, DL, MVT::i8));
15532                      DAG.getTargetConstant(Immediate, DL, MVT::i8));
15603                          DAG.getTargetConstant(VPERMILPMask, DL, MVT::i8));
16350                      DAG.getTargetConstant(PermMask, DL, MVT::i8));
16375                          DAG.getTargetConstant(VPERMILPMask, DL, MVT::i8));
16804                     DAG.getTargetConstant(ShiftAmt, DL, MVT::i8));
16911                           DAG.getTargetConstant(WideElts - NumElts, DL, MVT::i8));
16917                         DAG.getTargetConstant(ShiftAmt, DL, MVT::i8));
17365                     DAG.getTargetConstant(IdxVal, dl, MVT::i8));
17593                            DAG.getTargetConstant(1, dl, MVT::i8));
17664                            DAG.getTargetConstant(1, dl, MVT::i8));
17669                          DAG.getTargetConstant(IdxVal << 4, dl, MVT::i8));
17755                     DAG.getTargetConstant(IdxVal, dl, MVT::i8));
18299                          Op1, DAG.getTargetConstant(ShiftAmt, DL, MVT::i8));
18740                       VecCstLowBitcast, DAG.getTargetConstant(0xaa, DL, MVT::i8));
18748                        VecCstHighBitcast, DAG.getTargetConstant(0xaa, DL, MVT::i8));
19889                      DAG.getTargetConstant(Cond, dl, MVT::i8), EFLAGS);
19992   X86CC = DAG.getTargetConstant(CC == ISD::SETEQ ? X86::COND_E : X86::COND_NE,
20437   X86CC = DAG.getTargetConstant(CC == ISD::SETEQ ? X86::COND_AE : X86::COND_B,
20674                                  DAG.getTargetConstant(CC0, dl, MVT::i8));
20676                                  DAG.getTargetConstant(CC1, dl, MVT::i8));
20681                         DAG.getTargetConstant(SSECC, dl, MVT::i8));
20737                        DAG.getTargetConstant(CmpMode, dl, MVT::i8));
20982     X86CC = DAG.getTargetConstant(X86Cond, dl, MVT::i8);
20994   X86CC = DAG.getTargetConstant(X86Cond, dl, MVT::i8);
21039         X86CC = DAG.getTargetConstant(CCode, dl, MVT::i8);
21053   X86CC = DAG.getTargetConstant(CondCode, dl, MVT::i8);
21224                       DAG.getTargetConstant(SSECC, DL, MVT::i8));
21231                                 DAG.getTargetConstant(SSECC, DL, MVT::i8));
21434     CC = DAG.getTargetConstant(X86Cond, DL, MVT::i8);
21456     CC = DAG.getTargetConstant(X86::COND_NE, DL, MVT::i8);
21474                       DAG.getTargetConstant(X86::COND_B, DL, MVT::i8), Cond);
21689                           DAG.getTargetConstant(SignExtShift, dl, MVT::i8));
22044     CC = DAG.getTargetConstant(X86Cond, dl, MVT::i8);
22075           CC = DAG.getTargetConstant(CCode0, dl, MVT::i8);
22093             CC = DAG.getTargetConstant(CCode1, dl, MVT::i8);
22106       CC = DAG.getTargetConstant(CCode, dl, MVT::i8);
22132           CC = DAG.getTargetConstant(X86::COND_NE, dl, MVT::i8);
22135           CC = DAG.getTargetConstant(X86::COND_P, dl, MVT::i8);
22148       CC = DAG.getTargetConstant(X86::COND_NE, dl, MVT::i8);
22151       CC = DAG.getTargetConstant(X86::COND_P, dl, MVT::i8);
22176     CC = DAG.getTargetConstant(X86Cond, dl, MVT::i8);
22510                      DAG.getTargetConstant(ShiftAmt, dl, MVT::i8));
22555       SDValue ByteShift = DAG.getTargetConstant(
22793                              DAG.getTargetConstant(RC, dl, MVT::i32));
22825                              DAG.getTargetConstant(RC, dl, MVT::i32));
22863                              DAG.getTargetConstant(RC, dl, MVT::i32));
22888                           Src, DAG.getTargetConstant(RC, dl, MVT::i32)),
22930                             DAG.getTargetConstant(RC, dl, MVT::i32)),
22968                             DAG.getTargetConstant(RC, dl, MVT::i32));
23002                               DAG.getTargetConstant(RC, dl, MVT::i32));
23194                            DAG.getTargetConstant(CondVal, dl, MVT::i8));
23197                            DAG.getTargetConstant(CondVal, dl, MVT::i8), Sae);
23259           DAG.getTargetConstant(Round->getZExtValue() & 0xf, dl, MVT::i32);
23269           DAG.getTargetConstant(Round->getZExtValue() & 0xf, dl, MVT::i32);
23625       ShAmt = DAG.getTargetConstant(C->getZExtValue(), DL, MVT::i32);
23681   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23710   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23746   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23776   SDValue Scale = DAG.getTargetConstant(C->getZExtValue(), dl,
23778   SDValue Disp = DAG.getTargetConstant(0, dl, MVT::i32);
24050                      DAG.getTargetConstant(X86::COND_B, dl, MVT::i8),
24788                      DAG.getTargetConstant(X86::COND_E, dl, MVT::i8),
24818                    DAG.getTargetConstant(X86::COND_E, dl, MVT::i8),
24955     SDValue Ops[] = {N0, Neg, DAG.getTargetConstant(X86::COND_GE, DL, MVT::i8),
26004     SDValue Cst8 = DAG.getTargetConstant(8, dl, MVT::i8);
26276                          DAG.getTargetConstant(RotateAmt, DL, MVT::i8));
26297                          DAG.getTargetConstant(RotateAmt, DL, MVT::i8));
26637     SDValue Zero = DAG.getTargetConstant(0, DL, MVT::i32);
26640       DAG.getTargetConstant(1, DL, MVT::i8),                // Scale
26642       DAG.getTargetConstant(SPOffset, DL, MVT::i32),        // Disp
26651   SDValue Zero = DAG.getTargetConstant(0, DL, MVT::i32);
26654     DAG.getTargetConstant(1, DL, MVT::i8),          // Scale
26656     DAG.getTargetConstant(SPOffset, DL, MVT::i32),  // Disp
26710                     DAG.getTargetConstant(size, DL, MVT::i8),
32373                       DAG.getTargetConstant(PermMask, DL, MVT::i8));
32480                         DAG.getTargetConstant(PermuteImm, DL, MVT::i8));
32510                       DAG.getTargetConstant(PermuteImm, DL, MVT::i8));
32527                         DAG.getTargetConstant(BitLen, DL, MVT::i8),
32528                         DAG.getTargetConstant(BitIdx, DL, MVT::i8));
32538                         DAG.getTargetConstant(BitLen, DL, MVT::i8),
32539                         DAG.getTargetConstant(BitIdx, DL, MVT::i8));
32703                       DAG.getTargetConstant(M2ZImm, DL, MVT::i8));
33556                             DAG.getTargetConstant(BlendMask, DL, MVT::i8)));
33624                          DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
33629                          DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
33641                            DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
33649                          DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
33694                            DAG.getTargetConstant(InsertPSMask, DL, MVT::i8));
33709                            DAG.getTargetConstant(InsertPSMask & 0x3f, DL, MVT::i8));
34338         SDValue NewSA = TLO.DAG.getTargetConstant(Diff, dl, MVT::i8);
34377         SDValue NewSA = TLO.DAG.getTargetConstant(Diff, dl, MVT::i8);
34768                 TLO.DAG.getTargetConstant(std::abs(Diff), SDLoc(Op), MVT::i8));
35432           DAG.getTargetConstant(Intrinsic::x86_sse_pshuf_w, DL, MVT::i32),
35433           Splat, DAG.getTargetConstant(ShufMask, DL, MVT::i8));
37595       SDValue Ops[] = {FalseOp, TrueOp, DAG.getTargetConstant(CC, DL, MVT::i8),
37717                          DAG.getTargetConstant(CC, DL, MVT::i8), Cond};
37752                         DAG.getTargetConstant(CC0, DL, MVT::i8), Flags};
37754       SDValue Ops[] = {LCMOV, TrueOp, DAG.getTargetConstant(CC1, DL, MVT::i8),
37789                       DAG.getTargetConstant(X86::COND_NE, DL, MVT::i8), Cond);
38588                        DAG.getTargetConstant(NewShiftVal, SDLoc(N), MVT::i8));
38708                             DAG.getTargetConstant(x86cc, DL, MVT::i8));
38719                           CMP01, DAG.getTargetConstant(x86cc, DL, MVT::i8));
38913   SDValue ShAmt = DAG.getTargetConstant(EltBitWidth - ShiftVal, DL, MVT::i8);
43093     SDValue Cond = DAG.getTargetConstant(CC, DL, MVT::i8);
43515                                 DAG.getTargetConstant(X86::COND_B, DL, MVT::i8),
43577                          DAG.getTargetConstant(X86::COND_B, DL, MVT::i8),
43595                            DAG.getTargetConstant(X86::COND_B, DL, MVT::i8),
43655                          DAG.getTargetConstant(X86::COND_B, DL, MVT::i8),
43668                          DAG.getTargetConstant(X86::COND_B, DL, MVT::i8), Cmp1);
45628         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45637         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45646         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45656         Result = DAG.getTargetConstant(C->getSExtValue(), SDLoc(Op),
45665         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45674         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45683         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45695         Result = DAG.getTargetConstant(C->getSExtValue(), SDLoc(Op), MVT::i64);
45708         Result = DAG.getTargetConstant(C->getZExtValue(), SDLoc(Op),
45726       Result = DAG.getTargetConstant(ExtVal, SDLoc(Op), MVT::i64);
lib/Target/XCore/XCoreISelDAGToDAG.cpp
   49       return CurDAG->getTargetConstant(Imm, dl, MVT::i32);
   91     Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32);
  101       Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr),