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

12345

/freebsd-10.0-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
60 EVT ElementType;
63 ExtendedVectorType(EVT elty, unsigned num)
71 EVT getElementType() const {
84 bool EVT::isExtendedFloatingPoint() const {
90 bool EVT::isExtendedInteger() const {
95 bool EVT::isExtendedVector() const {
100 bool EVT::isExtended64BitVector() const {
105 bool EVT
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h353 SDVTList getVTList(EVT VT);
354 SDVTList getVTList(EVT VT1, EVT VT2);
355 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
356 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT
[all...]
H A DValueTypes.h28 struct EVT;
546 /// EVT - Extended Value Type. Capable of holding value types which are not
549 struct EVT { struct in namespace:llvm
555 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), function in struct:llvm::EVT
557 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } function in struct:llvm::EVT
558 EVT(MVT S) : V(S), LLVMTy(0) {} function in struct:llvm::EVT
560 bool operator==(EVT VT) const {
563 bool operator!=(EVT VT) const {
571 /// getFloatingPointVT - Returns the EVT that represents a floating point
574 static EVT getFloatingPointV
[all...]
H A DRuntimeLibcalls.h357 Libcall getFPEXT(EVT OpVT, EVT RetVT);
361 Libcall getFPROUND(EVT OpVT, EVT RetVT);
365 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
369 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
373 Libcall getSINTTOFP(EVT OpVT, EVT RetV
[all...]
H A DAnalysis.h56 SmallVectorImpl<EVT> &ValueVTs,
/freebsd-10.0-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.0-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;
153 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const;
155 EVT getShiftAmountTy(EVT LHSTy) const;
166 virtual bool shouldSplitVectorElementType(EVT VT) const { return false; }
201 virtual EVT getSetCCResultType(EVT VT) const;
261 bool isTypeLegal(EVT VT) const {
295 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT V
[all...]
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp150 EVT NewVT = N->getValueType(0).getVectorElementType();
156 EVT EltVT = N->getValueType(0).getVectorElementType();
166 EVT NewVT = N->getValueType(0).getVectorElementType();
183 EVT NewVT = N->getValueType(0).getVectorElementType();
199 EVT EltVT = N->getValueType(0).getVectorElementType();
228 EVT DestVT = N->getValueType(0).getVectorElementType();
234 EVT EltVT = N->getValueType(0).getVectorElementType();
235 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType();
244 EVT EltVT = N->getValueType(0).getVectorElementType();
257 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 InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(),
98 EVT ElemVT = NOutVT;
99 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems);
108 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits);
109 NVT = EVT
[all...]
H A DSelectionDAG.cpp58 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) {
79 bool ConstantFPSDNode::isValueValidForType(EVT VT,
673 EVT VT = cast<VTSDNode>(N)->getVT();
793 EVT VT = N->getValueType(0);
811 EVT EltVT = N->getValueType(0).getVectorElementType();
866 unsigned SelectionDAG::getEVTAlignment(EVT VT) const {
925 SDValue SelectionDAG::getAnyExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) {
931 SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) {
937 SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) {
943 SDValue SelectionDAG::getZeroExtendInReg(SDValue Op, DebugLoc DL, EVT V
1873 EVT EVT = cast<VTSDNode>(Op.getOperand(1))->getVT(); local
2938 EVT EVT = cast<VTSDNode>(N2)->getVT(); local
2962 EVT EVT = cast<VTSDNode>(N2)->getVT(); local
2974 EVT EVT = cast<VTSDNode>(N2)->getVT(); local
[all...]
H A DLegalizeVectorOps.cpp165 EVT StVT = ST->getMemoryVT();
189 EVT QueryType;
341 EVT VT = Op.getOperand(0).getValueType();
353 EVT EltVT = VT.getVectorElementType();
354 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits());
382 EVT SrcVT = LD->getMemoryVT();
389 EVT SrcEltVT = SrcVT.getScalarType();
390 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType();
398 EVT WideVT = TLI.getPointerTy();
421 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
1651 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
1672 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
2188 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h76 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; }
101 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
107 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
118 virtual bool isZExtFree(EVT VT1, EVT VT2) const;
119 virtual bool isZExtFree(SDValue Val, EVT VT2) const;
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h103 virtual EVT getSetCCResultType(EVT VT) const {
111 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
138 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i32; }
140 virtual bool shouldSplitVectorElementType(EVT VT) const;
146 EVT = MVT::i32) const;
147 SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT = MVT::i32) const;
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.h481 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; }
511 /// It returns EVT::Other if the type should be determined using generic
513 virtual EVT
529 virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const;
548 virtual bool isTypeDesirableForOp(unsigned Opc, EVT VT) const;
554 virtual bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const;
566 virtual EVT getSetCCResultType(EVT VT) const;
596 virtual const char *LowerXConstraint(EVT ConstraintVT) const;
613 EVT V
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCallingConvLower.h36 typedef bool Hexagon_CCAssignFn(unsigned ValNo, EVT ValVT,
37 EVT LocVT, CCValAssign::LocInfo LocInfo,
96 void AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs,
107 void AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn);
176 void HandleByVal(unsigned ValNo, EVT ValVT,
177 EVT LocVT, CCValAssign::LocInfo LocInfo,
H A DHexagonISelLowering.h96 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
142 virtual EVT getSetCCResultType(EVT VT) const {
153 EVT VT) const;
164 virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
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.cpp41 void Hexagon_CCState::HandleByVal(unsigned ValNo, EVT ValVT,
42 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.0-release/contrib/llvm/lib/Target/R600/
H A DR600ISelLowering.h41 virtual EVT getSetCCResultType(EVT VT) const;
49 SDValue LowerImplicitParameter(SelectionDAG &DAG, EVT VT,
H A DSIISelLowering.h51 virtual EVT getSetCCResultType(EVT VT) const;
52 virtual MVT getScalarShiftAmountTy(EVT VT) const;
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelLowering.h25 virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const;
35 EVT VT) const {
H A DMips16ISelDAGToDAG.h27 EVT Ty, bool HasLo, bool HasHi);
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/
H A DMBlazeISelLowering.h105 EVT getSetCCResultType(EVT VT) const;
168 EVT VT) const;
175 virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const;

Completed in 307 milliseconds

12345