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

12345

/freebsd-10.1-release/contrib/llvm/utils/TableGen/
H A DTGValueTypes.cpp10 // The EVT type is used by tablegen as well as in LLVM. In order to handle
11 // extended types, the EVT type uses support functions that call into
64 EVT ElementType;
67 ExtendedVectorType(EVT elty, unsigned num)
75 EVT getElementType() const {
89 bool EVT::isExtendedFloatingPoint() const {
95 bool EVT::isExtendedInteger() const {
100 bool EVT::isExtendedVector() const {
105 bool EVT::isExtended64BitVector() const {
110 bool EVT
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h48 const EVT *VTs;
53 SDVTListNode(const FoldingSetNodeIDRef ID, const EVT *VT, unsigned int Num) :
395 SDVTList getVTList(EVT VT);
396 SDVTList getVTList(EVT VT1, EVT VT2);
397 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
398 SDVTList getVTList(EVT VT1, EVT VT
[all...]
H A DValueTypes.h28 struct EVT;
573 /// EVT - Extended Value Type. Capable of holding value types which are not
576 struct EVT { struct in namespace:llvm
582 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), function in struct:llvm::EVT
584 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } function in struct:llvm::EVT
585 EVT(MVT S) : V(S), LLVMTy(0) {} function in struct:llvm::EVT
587 bool operator==(EVT VT) const {
590 bool operator!=(EVT VT) const {
598 /// getFloatingPointVT - Returns the EVT that represents a floating point
601 static EVT getFloatingPointV
[all...]
H A DRuntimeLibcalls.h393 Libcall getFPEXT(EVT OpVT, EVT RetVT);
397 Libcall getFPROUND(EVT OpVT, EVT RetVT);
401 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
405 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
409 Libcall getSINTTOFP(EVT OpVT, EVT RetV
[all...]
H A DSelectionDAGNodes.h58 const EVT *VTs;
131 inline EVT getValueType() const;
248 EVT getValueType() const { return Val.getValueType(); }
336 const EVT *ValueList;
355 static const EVT *getValueTypeList(EVT VT);
609 EVT getValueType(unsigned ResNo) const {
626 typedef const EVT* value_iterator;
696 static SDVTList getSDVTList(EVT VT) {
843 inline EVT SDValu
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/
H A DSIISelLowering.h24 SDValue LowerParameter(SelectionDAG &DAG, EVT VT, EVT MemVT, SDLoc DL,
52 bool allowsUnalignedMemoryAccesses(EVT VT, bool *IsFast) const;
53 virtual bool shouldSplitVectorElementType(EVT VT) const;
63 virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const;
64 virtual MVT getScalarShiftAmountTy(EVT VT) const;
65 virtual bool isFMAFasterThanFMulAndFAdd(EVT VT) const;
74 unsigned Reg, EVT VT) const;
H A DR600ISelLowering.h41 virtual EVT getSetCCResultType(LLVMContext &, EVT VT) const;
48 SDValue LowerImplicitParameter(SelectionDAG &DAG, EVT VT,
H A DAMDGPUISelLowering.h51 unsigned Reg, EVT VT) const;
77 virtual bool isFAbsFree(EVT VT) const;
78 virtual bool isFNegFree(EVT VT) const;
80 virtual bool isLoadBitCastBeneficial(EVT, EVT) const LLVM_OVERRIDE;
118 bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
121 bool ShouldShrinkFPConstant(EVT VT) const;
135 EVT genIntType(uint32_t size = 32, uint32_t numEle = 1) const;
/freebsd-10.1-release/contrib/llvm/lib/IR/
H A DValueTypes.cpp1 //===----------- ValueTypes.cpp - Implementation of EVT methods -----------===//
22 EVT EVT::changeExtendedVectorElementTypeToInteger() const {
24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) {
29 EVT VT;
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT V
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h100 /// LegalizeKind holds the legalization kind that needs to happen to EVT
102 typedef std::pair<LegalizeTypeAction, EVT> LegalizeKind;
158 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const;
160 EVT getShiftAmountTy(EVT LHSTy) const;
179 virtual bool shouldSplitVectorElementType(EVT /*VT*/) const { return false; }
214 virtual bool isLoadBitCastBeneficial(EVT /* Load */, EVT /* Bitcast */) const {
222 virtual EVT getSetCCResultType(LLVMContext &Context, EVT V
[all...]
H A DTargetCallingConv.h116 EVT ArgVT;
128 InputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool used,
143 EVT ArgVT;
157 OutputArg(ArgFlagsTy flags, EVT vt, EVT argvt, bool isfixed,
/freebsd-10.1-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp152 EVT NewVT = N->getValueType(0).getVectorElementType();
158 EVT EltVT = N->getValueType(0).getVectorElementType();
168 EVT NewVT = N->getValueType(0).getVectorElementType();
185 EVT NewVT = N->getValueType(0).getVectorElementType();
201 EVT EltVT = N->getValueType(0).getVectorElementType();
231 EVT DestVT = N->getValueType(0).getVectorElementType();
237 EVT EltVT = N->getValueType(0).getVectorElementType();
238 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType();
247 EVT EltVT = N->getValueType(0).getVectorElementType();
260 EVT CondV
[all...]
H A DLegalizeTypesGeneric.cpp40 EVT OutVT = N->getValueType(0);
41 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
43 EVT InVT = InOp.getValueType();
80 EVT LoVT, HiVT;
95 EVT ElemVT = NOutVT;
96 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems);
105 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits);
106 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems);
130 EVT
[all...]
H A DLegalizeVectorOps.cpp165 EVT StVT = ST->getMemoryVT();
189 EVT QueryType;
344 EVT VT = Op.getOperand(0).getValueType();
356 EVT EltVT = VT.getVectorElementType();
357 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits());
385 EVT SrcVT = LD->getMemoryVT();
392 EVT SrcEltVT = SrcVT.getScalarType();
393 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
401 EVT WideVT = TLI.getPointerTy();
425 EVT LoadV
[all...]
H A DLegalizeIntegerTypes.cpp168 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
208 EVT InVT = InOp.getValueType();
209 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT);
210 EVT OutVT = N->getValueType(0);
211 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT);
246 EVT::getIntegerVT(*DAG.getContext(),
265 EVT OVT = N->getValueType(0);
266 EVT NVT = Op.getValueType();
284 EVT VT = N->getValueType(0);
303 EVT OutV
1667 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
1688 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
2210 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCallingConvLower.h36 typedef bool Hexagon_CCAssignFn(unsigned ValNo, EVT ValVT,
37 EVT LocVT, CCValAssign::LocInfo LocInfo,
95 void AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs,
106 void AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn);
175 void HandleByVal(unsigned ValNo, EVT ValVT,
176 EVT LocVT, CCValAssign::LocInfo LocInfo,
H A DHexagonVarargsCallingConvention.h20 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT,
21 EVT LocVT, CCValAssign::LocInfo LocInfo,
29 static bool CC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT,
30 EVT LocVT, CCValAssign::LocInfo LocInfo,
98 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT,
99 EVT LocVT, CCValAssign::LocInfo LocInfo,
H A DHexagonCallingConvLower.cpp40 void Hexagon_CCState::HandleByVal(unsigned ValNo, EVT ValVT,
41 EVT LocVT, CCValAssign::LocInfo LocInfo,
81 EVT ArgVT = Ins[i].VT;
117 EVT VT = Outs[i].VT;
147 EVT ArgVT = Outs[i].VT;
161 Hexagon_CCState::AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs,
166 EVT ArgVT = ArgVTs[i];
185 EVT VT = Ins[i].VT;
197 void Hexagon_CCState::AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn) {
H A DHexagonRemoveSZExtArgs.cpp67 assert (EVT::getEVT(SI->getType()) ==
68 (EVT::getEVT(Use->getType())));
/freebsd-10.1-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h76 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; }
108 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
119 virtual bool isZExtFree(EVT VT1, EVT VT2) const;
120 virtual bool isZExtFree(SDValue Val, EVT VT2) const;
/freebsd-10.1-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h106 virtual EVT getSetCCResultType(LLVMContext &, EVT VT) const {
142 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i32; }
144 virtual bool shouldSplitVectorElementType(EVT VT) const;
150 EVT = MVT::i32) const;
151 SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT) const;
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.h531 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; }
561 /// It returns EVT::Other if the type should be determined using generic
563 virtual EVT
579 virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const;
598 virtual bool isTypeDesirableForOp(unsigned Opc, EVT VT) const;
604 virtual bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const;
616 virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const;
646 virtual const char *LowerXConstraint(EVT ConstraintVT) const;
685 virtual bool isTruncateFree(EVT VT
[all...]
H A DX86SelectionDAGInfo.cpp54 EVT IntPtr = TLI.getPointerTy();
81 EVT AVT;
147 EVT CVT = Count.getValueType();
160 EVT AddrVT = Dst.getValueType();
161 EVT SizeVT = Size.getValueType();
252 EVT DstVT = Dst.getValueType();
253 EVT SrcVT = Src.getValueType();
254 EVT SizeVT = Size.getValueType();
/freebsd-10.1-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h198 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const LLVM_OVERRIDE {
201 virtual EVT getSetCCResultType(LLVMContext &, EVT) const LLVM_OVERRIDE;
202 virtual bool isFMAFasterThanFMulAndFAdd(EVT VT) const LLVM_OVERRIDE;
203 virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const LLVM_OVERRIDE;
206 virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const
209 virtual bool isTruncateFree(EVT, EVT) const LLVM_OVERRIDE;
/freebsd-10.1-release/contrib/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.h27 EVT Ty, bool HasLo, bool HasHi);

Completed in 124 milliseconds

12345