Searched refs:EVT (Results 1 - 25 of 133) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h37 Libcall getFPEXT(EVT OpVT, EVT RetVT);
41 Libcall getFPROUND(EVT OpVT, EVT RetVT);
45 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
49 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
53 Libcall getSINTTOFP(EVT OpVT, EVT RetV
[all...]
H A DValueTypes.h34 struct EVT { struct in namespace:llvm
40 constexpr EVT() = default;
41 constexpr EVT(MVT::SimpleValueType SVT) : V(SVT) {} function in struct:llvm::EVT
42 constexpr EVT(MVT S) : V(S) {} function in struct:llvm::EVT
44 bool operator==(EVT VT) const {
47 bool operator!=(EVT VT) const {
55 /// Returns the EVT that represents a floating-point type with the given
58 static EVT getFloatingPointVT(unsigned BitWidth) {
62 /// Returns the EVT that represents an integer with the given number of
64 static EVT getIntegerV
[all...]
H A DSelectionDAG.h95 const EVT *VTs;
102 SDVTListNode(const FoldingSetNodeIDRef ID, const EVT *VT, unsigned int Num) :
378 SDVTList VTs, EVT MemoryVT,
571 SDVTList getVTList(EVT VT);
572 SDVTList getVTList(EVT VT1, EVT VT2);
573 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
574 SDVTList getVTList(EVT VT
[all...]
H A DTargetLowering.h137 /// LegalizeKind holds the legalization kind that needs to happen to EVT
139 using LegalizeKind = std::pair<LegalizeTypeAction, EVT>;
273 /// EVT is not used in-tree, but is used by out-of-tree target.
275 virtual MVT getScalarShiftAmountTy(const DataLayout &, EVT) const;
277 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
295 virtual bool reduceSelectOfFPConstantLoads(EVT CmpOpVT) const {
330 shouldExpandBuildVectorWithShuffles(EVT /* VT */,
339 virtual bool isIntDivCheap(EVT VT, AttributeList Attr) const { return false; }
342 virtual bool hasStandaloneRem(EVT V
1453 allowsMisalignedMemoryAccesses( EVT, unsigned AddrSpace = 0, unsigned Align = 1, MachineMemOperand::Flags Flags = MachineMemOperand::MONone, bool * = nullptr) const argument
[all...]
H A DAnalysis.h37 struct EVT;
73 SmallVectorImpl<EVT> &ValueVTs,
79 SmallVectorImpl<EVT> &ValueVTs,
80 SmallVectorImpl<EVT> *MemVTs,
H A DTargetCallingConv.h160 EVT ArgVT;
174 InputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool used,
198 EVT ArgVT;
212 OutputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool isfixed,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp1 //===----------- ValueTypes.cpp - Implementation of EVT methods -----------===//
17 EVT EVT::changeExtendedTypeToInteger() const {
22 EVT EVT::changeExtendedVectorElementTypeToInteger() const {
24 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) {
29 EVT VT;
35 EVT EV
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.h38 unsigned ArgLocsStartIndex, const EVT &VT);
46 bool assign(Register VReg, const CCValAssign &VA, const EVT &VT);
52 const EVT &VT) = 0;
60 const EVT &VT) = 0;
H A DMipsISelLowering.h278 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override {
282 EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
293 EVT VT) const override;
299 EVT VT) const override;
303 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
337 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
338 EVT VT) const override;
385 SDValue getGlobalReg(SelectionDAG &DAG, EVT T
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h78 bool shouldCombineMemoryType(EVT VT) const;
104 static EVT getEquivalentMemType(LLVMContext &Context, EVT VT);
118 std::pair<EVT, EVT> getSplitDestVTs(const EVT &VT, SelectionDAG &DAG) const;
123 const EVT &LoVT, const EVT &HighVT,
166 bool isFAbsFree(EVT VT) const override;
167 bool isFNegFree(EVT V
[all...]
H A DSIISelLowering.h30 EVT VT) const override;
33 EVT VT) const override;
36 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
43 SDValue lowerKernargMemParameter(SelectionDAG &DAG, EVT VT, EVT MemVT,
53 EVT VT,
62 SDValue lowerSBuffer(EVT VT, SDLoc DL, SDValue Rsrc, SDValue Offset,
103 ArrayRef<SDValue> Ops, EVT MemVT,
113 EVT V
[all...]
H A DR600ISelLowering.h46 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &,
47 EVT VT) const override;
49 bool canMergeStoresTo(unsigned AS, EVT MemVT,
53 EVT VT, unsigned AS, unsigned Align,
63 SDValue LowerImplicitParameter(SelectionDAG &DAG, EVT VT, const SDLoc &DL,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp203 EVT VT = N->getValueType(0).getVectorElementType();
206 EVT ValueVTs[] = {VT, MVT::Other};
235 EVT ResVT = N->getValueType(0);
236 EVT OvVT = N->getValueType(1);
257 EVT OtherVT = N->getValueType(OtherNo);
281 EVT NewVT = N->getValueType(0).getVectorElementType();
287 EVT EltVT = N->getValueType(0).getVectorElementType();
303 EVT NewVT = N->getValueType(0).getVectorElementType();
319 EVT EltVT = N->getValueType(0).getVectorElementType();
345 EVT DestV
[all...]
H A DLegalizeTypesGeneric.cpp41 EVT OutVT = N->getValueType(0);
42 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
44 EVT InVT = InOp.getValueType();
88 EVT LoVT, HiVT;
103 EVT ElemVT = NOutVT;
104 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems);
113 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits);
114 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems);
139 EVT
[all...]
H A DLegalizeFloatTypes.cpp29 static RTLIB::Libcall GetFPLibCall(EVT VT,
145 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
152 EVT OpVT = N->getOperand(0 + Offset).getValueType();
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
172 EVT OpsVT[2] = { N->getOperand(0 + Offset).getValueType(),
234 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
295 EVT LVT = LHS.getValueType();
296 EVT RVT = RHS.getValueType();
412 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
419 EVT OpsV
[all...]
H A DLegalizeIntegerTypes.cpp229 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
256 EVT SVT = getSetCCResultType(N->getOperand(2).getValueType());
257 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1));
301 EVT InVT = InOp.getValueType();
302 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT);
303 EVT OutVT = N->getValueType(0);
304 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
346 EVT::getIntegerVT(*DAG.getContext(),
365 EVT ShiftAmtTy = TLI.getShiftAmountTy(NOutVT, DAG.getDataLayout());
380 EVT WideOutV
2543 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
2565 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
3463 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h736 MVT getScalarShiftAmountTy(const DataLayout &, EVT VT) const override {
768 /// It returns EVT::Other if the type should be determined using generic
770 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
784 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, unsigned Align,
819 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const override;
825 bool isTypeDesirableForOp(unsigned Opc, EVT VT) const override;
831 bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const override;
853 bool mergeStoresAfterLegalization(EVT MemVT) const override {
857 bool canMergeStoresTo(unsigned AddressSpace, EVT MemV
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h61 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
62 EVT VT) const override;
64 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override;
102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
122 EVT NewVT) const override {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h74 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
75 bool isZExtFree(SDValue Val, EVT VT2) const override;
76 bool isSExtCheaperThanZExt(EVT SrcVT, EVT DstVT) const override;
78 bool hasBitPreservingFPLogic(EVT VT) const override;
111 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
112 EVT VT) const override;
114 bool convertSetCCLogicToBitwiseLogic(EVT VT) const override {
148 bool shouldExtendTypeInLibCall(EVT Typ
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.h42 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
43 EVT VT) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h57 MVT getScalarShiftAmountTy(const DataLayout &DL, EVT) const override;
70 bool allowsMisalignedMemoryAccesses(EVT, unsigned AddrSpace, unsigned Align,
73 bool isIntDivCheap(EVT VT, AttributeList Attr) const override;
75 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
76 EVT VT) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h331 MVT getScalarShiftAmountTy(const DataLayout &DL, EVT) const override;
336 EVT VT, unsigned AddrSpace = 0, unsigned Align = 1,
364 bool isFPImmLegal(const APFloat &Imm, EVT VT,
369 bool isShuffleMaskLegal(ArrayRef<int> M, EVT VT) const override;
372 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
373 EVT VT) const override;
395 EVT NewVT) const override;
398 bool isTruncateFree(EVT VT1, EVT VT2) const override;
403 bool isZExtFree(EVT VT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h78 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override {
113 bool isTruncateFree(EVT VT1, EVT VT2) const override;
124 bool isZExtFree(EVT VT1, EVT VT2) const override;
125 bool isZExtFree(SDValue Val, EVT VT2) const override;
128 bool shouldAvoidTransformToShift(EVT VT, unsigned Amount) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h397 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override {
423 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &,
424 EVT) const override;
426 EVT VT) const override;
427 bool isFPImmLegal(const APFloat &Imm, EVT VT,
434 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS,
439 bool isTruncateFree(EVT, EVT) const override;
551 const SDLoc &DL, EVT VT,
554 EVT V
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h323 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
324 EVT VT) const override;
338 bool isDesirableToTransformToIntegerOp(unsigned Opc, EVT VT) const override;
343 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
348 EVT getOptimalMemOpType(uint64_t Size,
355 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
356 bool isZExtFree(SDValue Val, EVT VT2) const override;
360 bool isFNegFree(EVT VT) const override;
380 bool isLegalT2ScaledAddressingMode(const AddrMode &AM, EVT V
[all...]

Completed in 317 milliseconds

123456