/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 246 for (MVT RegVT : RegParmTypes) { in analyzeMustTailForwardedRegisters() local 248 getRemainingRegParmsForType(RemainingRegs, RegVT, Fn); in analyzeMustTailForwardedRegisters() 250 const TargetRegisterClass *RC = TL->getRegClassFor(RegVT); in analyzeMustTailForwardedRegisters() 253 Forwards.push_back(ForwardedRegister(VReg, PReg, RegVT)); in analyzeMustTailForwardedRegisters()
|
/openbsd/gnu/llvm/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 323 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 324 MVT::SimpleValueType SimpleTy = RegVT.getSimpleVT().SimpleTy; in LowerFormalArguments() 328 << RegVT.getEVTString() << '\n'; in LowerFormalArguments() 336 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT); in LowerFormalArguments() 341 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue, in LowerFormalArguments() 344 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue, in LowerFormalArguments()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | SwitchLoweringUtils.h | 213 MVT RegVT; member 227 RegVT(RgVT), Emitted(E), ContiguousRange(CR), Parent(P), Default(D), in BitTestBlock()
|
/openbsd/gnu/llvm/llvm/lib/Target/ARC/ |
H A D | ARCISelLowering.cpp | 521 EVT RegVT = VA.getLocVT(); in LowerCallArguments() local 522 switch (RegVT.getSimpleVT().SimpleTy) { in LowerCallArguments() 525 << (unsigned)RegVT.getSimpleVT().SimpleTy << "\n"); in LowerCallArguments() 531 ArgIn = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerCallArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/AVR/ |
H A D | AVRISelLowering.cpp | 1347 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 1349 if (RegVT == MVT::i8) { in LowerFormalArguments() 1351 } else if (RegVT == MVT::i16) { in LowerFormalArguments() 1358 ArgValue = DAG.getCopyFromReg(Chain, dl, Reg, RegVT); in LowerFormalArguments() 1375 ArgValue = DAG.getNode(ISD::AssertSext, dl, RegVT, ArgValue, in LowerFormalArguments() 1380 ArgValue = DAG.getNode(ISD::AssertZext, dl, RegVT, ArgValue, in LowerFormalArguments() 1480 EVT RegVT = VA.getLocVT(); in LowerCall() local 1490 Arg = DAG.getNode(ISD::SIGN_EXTEND, DL, RegVT, Arg); in LowerCall() 1493 Arg = DAG.getNode(ISD::ZERO_EXTEND, DL, RegVT, Arg); in LowerCall() 1496 Arg = DAG.getNode(ISD::ANY_EXTEND, DL, RegVT, Arg); in LowerCall() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 456 EVT RegVT = VA.getLocVT(); in LowerCCCArguments() local 457 switch (RegVT.getSimpleVT().SimpleTy) { in LowerCCCArguments() 461 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, VReg, RegVT); in LowerCCCArguments() 467 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue, in LowerCCCArguments() 470 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue, in LowerCCCArguments() 481 << RegVT.getEVTString() << "\n"); in LowerCCCArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 642 EVT RegVT = VA.getLocVT(); in LowerCCCArguments() local 643 switch (RegVT.getSimpleVT().SimpleTy) { in LowerCCCArguments() 648 << RegVT.getEVTString() << "\n"; in LowerCCCArguments() 655 SDValue ArgValue = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerCCCArguments() 661 ArgValue = DAG.getNode(ISD::AssertSext, dl, RegVT, ArgValue, in LowerCCCArguments() 664 ArgValue = DAG.getNode(ISD::AssertZext, dl, RegVT, ArgValue, in LowerCCCArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/M68k/ |
H A D | M68kISelLowering.cpp | 627 EVT RegVT = VA.getLocVT(); in LowerCall() local 638 Arg = DAG.getNode(ISD::SIGN_EXTEND, DL, RegVT, Arg); in LowerCall() 641 Arg = DAG.getNode(ISD::ZERO_EXTEND, DL, RegVT, Arg); in LowerCall() 644 Arg = DAG.getNode(ISD::ANY_EXTEND, DL, RegVT, Arg); in LowerCall() 647 Arg = DAG.getBitcast(RegVT, Arg); in LowerCall() 927 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 929 if (RegVT == MVT::i32) in LowerFormalArguments() 935 ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, RegVT); in LowerFormalArguments() 941 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue, in LowerFormalArguments() 944 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue, in LowerFormalArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 838 MVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 840 RegVT = VA.getValVT(); in LowerFormalArguments() 842 const TargetRegisterClass *RC = getRegClassFor(RegVT); in LowerFormalArguments() 844 SDValue Copy = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerFormalArguments() 850 assert(RegVT.getSizeInBits() <= 32); in LowerFormalArguments() 851 SDValue T = DAG.getNode(ISD::AND, dl, RegVT, in LowerFormalArguments() 852 Copy, DAG.getConstant(1, dl, RegVT)); in LowerFormalArguments() 853 Copy = DAG.getSetCC(dl, MVT::i1, T, DAG.getConstant(0, dl, RegVT), in LowerFormalArguments() 857 unsigned RegSize = RegVT.getSizeInBits(); in LowerFormalArguments() 859 Subtarget.isHVXVectorType(RegVT)); in LowerFormalArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/XCore/ |
H A D | XCoreISelLowering.cpp | 1296 EVT RegVT = VA.getLocVT(); in LowerCCCArguments() local 1297 switch (RegVT.getSimpleVT().SimpleTy) { in LowerCCCArguments() 1302 << RegVT.getEVTString() << "\n"; in LowerCCCArguments() 1309 ArgIn = DAG.getCopyFromReg(Chain, dl, VReg, RegVT); in LowerCCCArguments()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | CallLowering.cpp | 963 MVT RegVT = TLI->getRegisterTypeForCallingConv(Context, CallConv, VT); in getReturnInfo() local 964 Type *PartTy = EVT(RegVT).getTypeForEVT(Context); in getReturnInfo()
|
H A D | IRTranslator.cpp | 1038 B.RegVT = getMVTForLLT(MaskTy); in emitBitTestHeader() 1070 LLT SwitchTy = getLLTForMVT(BB.RegVT); in emitBitTestCase()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2855 B.RegVT = VT.getSimpleVT(); in visitBitTestHeader() 2856 B.Reg = FuncInfo.CreateReg(B.RegVT); in visitBitTestHeader() 2894 MVT VT = BB.RegVT; in visitBitTestCase() 8700 const MVT RegVT = *TRI.legalclasstypes_begin(*RC); in getRegistersForValue() local 8723 OpInfo.ConstraintVT = RegVT; in getRegistersForValue() 8744 ValueVT = RegVT; in getRegistersForValue() 8777 OpInfo.AssignedRegs = RegsForValue(Regs, RegVT, ValueVT); in getRegistersForValue() 9114 MVT RegVT = R->getSimpleValueType(0); in visitInlineAsm() local 9117 : RegVT != MVT::Untyped ? TLI.getRegClassFor(RegVT) in visitInlineAsm() 10728 MVT RegVT = TLI->getRegisterType(*CurDAG->getContext(), VT); in LowerArguments() local [all …]
|
H A D | TargetLowering.cpp | 8971 EVT RegVT = Value.getValueType(); in scalarizeVectorStore() local 8972 EVT RegSclVT = RegVT.getScalarType(); in scalarizeVectorStore() 9069 MVT RegVT = getRegisterType(*DAG.getContext(), intVT); in expandUnalignedLoad() local 9071 unsigned RegBytes = RegVT.getSizeInBits() / 8; in expandUnalignedLoad() 9075 SDValue StackBase = DAG.CreateStackTemporary(LoadedVT, RegVT); in expandUnalignedLoad() 9109 DAG.getExtLoad(ISD::EXTLOAD, dl, RegVT, Chain, Ptr, in expandUnalignedLoad() 9219 MVT RegVT = getRegisterType( in expandUnalignedStore() local 9224 unsigned RegBytes = RegVT.getSizeInBits() / 8; in expandUnalignedStore() 9228 SDValue StackPtr = DAG.CreateStackTemporary(StoreMemVT, RegVT); in expandUnalignedStore() 9247 RegVT, dl, Store, StackPtr, in expandUnalignedStore() [all …]
|
H A D | LegalizeIntegerTypes.cpp | 1575 MVT RegVT = TLI.getRegisterType(*DAG.getContext(), VT); in PromoteIntRes_VAARG() local 1581 Parts[i] = DAG.getVAArg(RegVT, dl, Chain, Ptr, N->getOperand(2), in PromoteIntRes_VAARG() 1597 DAG.getConstant(i * RegVT.getSizeInBits(), dl, in PromoteIntRes_VAARG()
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.cpp | 3681 MVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 3683 const TargetRegisterClass *RC = getRegClassFor(RegVT); in LowerFormalArguments() 3688 SDValue ArgValue = DAG.getCopyFromReg(Chain, DL, Reg, RegVT); in LowerFormalArguments() 3695 if ((RegVT == MVT::i32 && ValVT == MVT::f32) || in LowerFormalArguments() 3696 (RegVT == MVT::i64 && ValVT == MVT::f64) || in LowerFormalArguments() 3697 (RegVT == MVT::f64 && ValVT == MVT::i64)) in LowerFormalArguments() 3699 else if (ABI.IsO32() && RegVT == MVT::i32 && in LowerFormalArguments() 3705 SDValue ArgValue2 = DAG.getCopyFromReg(Chain, DL, Reg2, RegVT); in LowerFormalArguments()
|
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 5449 const MVT RegVT = Subtarget.isPPC64() ? MVT::i64 : MVT::i32; in prepareDescriptorIndirectCall() local 5453 SDValue LoadFuncPtr = DAG.getLoad(RegVT, dl, LDChain, Callee, MPI, in prepareDescriptorIndirectCall() 5459 SDValue AddTOC = DAG.getNode(ISD::ADD, dl, RegVT, Callee, TOCOff); in prepareDescriptorIndirectCall() 5461 DAG.getLoad(RegVT, dl, LDChain, AddTOC, in prepareDescriptorIndirectCall() 5466 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, RegVT, Callee, PtrOff); in prepareDescriptorIndirectCall() 5468 DAG.getLoad(RegVT, dl, LDChain, AddPtr, in prepareDescriptorIndirectCall() 5501 const MVT RegVT = IsPPC64 ? MVT::i64 : MVT::i32; in buildCallOperands() local 5524 SDValue StackPtr = DAG.getRegister(StackPtrReg, RegVT); in buildCallOperands() 5534 RegVT)); in buildCallOperands() 6600 const MVT RegVT = IsPPC64 ? MVT::i64 : MVT::i32; in CC_AIX() local [all …]
|
H A D | PPCISelDAGToDAG.cpp | 719 EVT RegVT = ST->getValue().getValueType(); in tryTLSXFormStore() local 726 Opcode = (RegVT == MVT::i32) ? PPC::STBXTLS_32 : PPC::STBXTLS; in tryTLSXFormStore() 730 Opcode = (RegVT == MVT::i32) ? PPC::STHXTLS_32 : PPC::STHXTLS; in tryTLSXFormStore() 734 Opcode = (RegVT == MVT::i32) ? PPC::STWXTLS_32 : PPC::STWXTLS; in tryTLSXFormStore() 764 EVT RegVT = LD->getValueType(0); in tryTLSXFormLoad() local 770 Opcode = (RegVT == MVT::i32) ? PPC::LBZXTLS_32 : PPC::LBZXTLS; in tryTLSXFormLoad() 774 Opcode = (RegVT == MVT::i32) ? PPC::LHZXTLS_32 : PPC::LHZXTLS; in tryTLSXFormLoad() 778 Opcode = (RegVT == MVT::i32) ? PPC::LWZXTLS_32 : PPC::LWZXTLS; in tryTLSXFormLoad()
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 4144 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 4156 if (RegVT == MVT::i8) in LowerFormalArguments() 4158 else if (RegVT == MVT::i16) in LowerFormalArguments() 4160 else if (RegVT == MVT::i32) in LowerFormalArguments() 4164 else if (RegVT == MVT::f16) in LowerFormalArguments() 4166 else if (RegVT == MVT::f32) in LowerFormalArguments() 4168 else if (RegVT == MVT::f64) in LowerFormalArguments() 4170 else if (RegVT == MVT::f80) in LowerFormalArguments() 4574 EVT RegVT = VA.getLocVT(); in LowerCall() local 26197 assert(RegVT.isInteger() && in LowerLoad() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 3079 EVT RegVT = VA.getLocVT(); in IsEligibleForTailCallOptimization() local 3084 if (VA.needsCustom() && (RegVT == MVT::f64 || RegVT == MVT::v2f64)) { in IsEligibleForTailCallOptimization() 3093 if (RegVT == MVT::v2f64) { in IsEligibleForTailCallOptimization() 4528 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 4556 if (RegVT == MVT::f16 || RegVT == MVT::bf16) in LowerFormalArguments() 4558 else if (RegVT == MVT::f32) in LowerFormalArguments() 4560 else if (RegVT == MVT::f64 || RegVT == MVT::v4f16 || in LowerFormalArguments() 4561 RegVT == MVT::v4bf16) in LowerFormalArguments() 4563 else if (RegVT == MVT::v2f64 || RegVT == MVT::v8f16 || in LowerFormalArguments() 4564 RegVT == MVT::v8bf16) in LowerFormalArguments() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 6369 EVT RegVT = VA.getLocVT(); in LowerFormalArguments() local 6372 if (RegVT == MVT::i32) in LowerFormalArguments() 6374 else if (RegVT == MVT::i64) in LowerFormalArguments() 6376 else if (RegVT == MVT::f16 || RegVT == MVT::bf16) in LowerFormalArguments() 6378 else if (RegVT == MVT::f32) in LowerFormalArguments() 6380 else if (RegVT == MVT::f64 || RegVT.is64BitVector()) in LowerFormalArguments() 6382 else if (RegVT == MVT::f128 || RegVT.is128BitVector()) in LowerFormalArguments() 6384 else if (RegVT.isScalableVector() && in LowerFormalArguments() 6385 RegVT.getVectorElementType() == MVT::i1) { in LowerFormalArguments() 6388 } else if (RegVT.isScalableVector()) { in LowerFormalArguments() [all …]
|