Home
last modified time | relevance | path

Searched refs:EVT (Results 1 – 25 of 94) sorted by relevance

1234

/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h356 SDVTList getVTList(EVT VT);
357 SDVTList getVTList(EVT VT1, EVT VT2);
358 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
359 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4);
360 SDVTList getVTList(const EVT *VTs, unsigned NumVTs);
365 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false);
366 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false);
367 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false);
369 SDValue getTargetConstant(uint64_t Val, EVT VT) {
372 SDValue getTargetConstant(const APInt &Val, EVT VT) {
[all …]
DValueTypes.h28 struct EVT;
443 struct EVT { struct
449 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT() argument
451 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT() function
452 EVT(MVT S) : V(S), LLVMTy(0) {} in EVT() function
454 bool operator==(EVT VT) const {
457 bool operator!=(EVT VT) const {
468 static EVT getFloatingPointVT(unsigned BitWidth) { in getFloatingPointVT() argument
474 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() argument
483 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() argument
[all …]
DRuntimeLibcalls.h306 Libcall getFPEXT(EVT OpVT, EVT RetVT);
310 Libcall getFPROUND(EVT OpVT, EVT RetVT);
314 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
318 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
322 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
326 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
DSelectionDAGNodes.h58 const EVT *VTs;
131 inline EVT getValueType() const;
243 EVT getValueType() const { return Val.getValueType(); }
337 const EVT *ValueList;
349 static const EVT *getValueTypeList(EVT VT);
593 EVT getValueType(unsigned ResNo) const {
604 typedef const EVT* value_iterator;
677 static SDVTList getSDVTList(EVT VT) {
777 inline EVT SDValue::getValueType() const {
895 EVT MemoryVT;
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h146 virtual MVT getShiftAmountTy(EVT LHSTy) const;
187 virtual EVT getSetCCResultType(EVT VT) const;
222 virtual const TargetRegisterClass *getRegClassFor(EVT VT) const { in getRegClassFor()
234 virtual const TargetRegisterClass *getRepRegClassFor(EVT VT) const { in getRepRegClassFor()
242 virtual uint8_t getRepRegClassCostFor(EVT VT) const { in getRepRegClassCostFor()
250 bool isTypeLegal(EVT VT) const { in isTypeLegal()
270 void setTypeAction(EVT VT, LegalizeTypeAction Action) { in setTypeAction()
284 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction()
297 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const { in getTypeToTransformTo()
305 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { in getTypeToExpandTo()
[all …]
/external/llvm/utils/TableGen/
DTGValueTypes.cpp45 EVT ElementType;
48 ExtendedVectorType(EVT elty, unsigned num) in ExtendedVectorType()
53 EVT getElementType() const { in getElementType()
66 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint()
72 bool EVT::isExtendedInteger() const { in isExtendedInteger()
77 bool EVT::isExtendedVector() const { in isExtendedVector()
82 bool EVT::isExtended64BitVector() const { in isExtended64BitVector()
87 bool EVT::isExtended128BitVector() const { in isExtended128BitVector()
92 EVT EVT::getExtendedVectorElementType() const { in getExtendedVectorElementType()
97 unsigned EVT::getExtendedVectorNumElements() const { in getExtendedVectorNumElements()
[all …]
/external/llvm/lib/VMCore/
DValueTypes.cpp22 EVT EVT::changeExtendedVectorElementTypeToInteger() const { in changeExtendedVectorElementTypeToInteger()
24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger()
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getExtendedIntegerVT()
29 EVT VT; in getExtendedIntegerVT()
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, in getExtendedVectorVT()
37 EVT ResultVT; in getExtendedVectorVT()
43 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint()
48 bool EVT::isExtendedInteger() const { in isExtendedInteger()
53 bool EVT::isExtendedVector() const { in isExtendedVector()
58 bool EVT::isExtended64BitVector() const { in isExtended64BitVector()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp150 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST()
156 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR()
166 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT()
183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
199 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT()
228 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp()
234 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp()
235 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType(); in ScalarizeVecRes_InregOp()
244 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_SCALAR_TO_VECTOR()
257 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT()
[all …]
DLegalizeTypesGeneric.cpp40 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST()
41 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in ExpandRes_BITCAST()
43 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST()
80 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST()
97 EVT NVT = EVT::getVectorVT(*DAG.getContext(), NOutVT, 2); in ExpandRes_BITCAST()
171 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT()
176 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT()
177 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT()
184 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); in ExpandRes_EXTRACT_VECTOR_ELT()
189 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT()
[all …]
DSelectionDAG.cpp57 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList()
62 static const fltSemantics *EVTToAPFloatSemantics(EVT VT) { in EVTToAPFloatSemantics()
90 bool ConstantFPSDNode::isValueValidForType(EVT VT, in isValueValidForType()
688 EVT VT = cast<VTSDNode>(N)->getVT(); in RemoveNodeFromCSEMaps()
808 EVT VT = N->getValueType(0); in VerifyNodeCommon()
826 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifyNodeCommon()
881 unsigned SelectionDAG::getEVTAlignment(EVT VT) const { in getEVTAlignment()
938 SDValue SelectionDAG::getAnyExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) { in getAnyExtOrTrunc()
944 SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) { in getSExtOrTrunc()
950 SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) { in getZExtOrTrunc()
[all …]
DLegalizeIntegerTypes.cpp168 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0()
208 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST()
209 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); in PromoteIntRes_BITCAST()
210 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST()
211 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in PromoteIntRes_BITCAST()
246 EVT::getIntegerVT(*DAG.getContext(), in PromoteIntRes_BITCAST()
265 EVT OVT = N->getValueType(0); in PromoteIntRes_BSWAP()
266 EVT NVT = Op.getValueType(); in PromoteIntRes_BSWAP()
284 EVT VT = N->getValueType(0); in PromoteIntRes_Constant()
303 EVT OutVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_CONVERT_RNDSAT()
[all …]
DLegalizeVectorOps.cpp144 EVT StVT = ST->getMemoryVT(); in LegalizeOp()
145 EVT ValVT = ST->getValue().getValueType(); in LegalizeOp()
168 EVT QueryType; in LegalizeOp()
294 EVT VT = Op.getValueType(); in PromoteVectorOp()
297 EVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT); in PromoteVectorOp()
316 EVT VT = Op.getOperand(0).getValueType(); in PromoteVectorOpINT_TO_FP()
328 EVT EltVT = VT.getVectorElementType(); in PromoteVectorOpINT_TO_FP()
329 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits()); in PromoteVectorOpINT_TO_FP()
357 EVT SrcVT = LD->getMemoryVT(); in ExpandLoad()
397 EVT StVT = ST->getMemoryVT(); in ExpandStore()
[all …]
DLegalizeFloatTypes.cpp28 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall()
140 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS()
152 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD()
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL()
179 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN()
180 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN()
217 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCOS()
228 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FDIV()
240 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FEXP()
251 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FEXP2()
[all …]
/external/clang/test/CodeGenCXX/
Ddebug-info-byval.cpp10 class EVT { class
22 void foo(EVT e);
23 EVT bar();
25 void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) { in get()
27 EVT e = bar(); in get()
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.h65 EVT ValueType);
67 EVT ValueType);
69 EVT ValueType);
71 EVT ValueType);
73 EVT ValueType);
80 SDValue LowerV2I64Splat(EVT OpVT, SelectionDAG &DAG, uint64_t splat,
109 virtual EVT getSetCCResultType(EVT VT) const;
111 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy()
140 EVT VT) const;
DSPUISelDAGToDAG.cpp80 EVT vt = CN->getValueType(0); in isIntS16Immediate()
97 EVT vt = FPN->getValueType(0); in isFPS16Immediate()
176 EVT vecVT = bvNode->getValueType(0); in emitBuildVector()
227 SDNode *SelectSHLi64(SDNode *N, EVT OpVT);
230 SDNode *SelectSRLi64(SDNode *N, EVT OpVT);
233 SDNode *SelectSRAi64(SDNode *N, EVT OpVT);
236 SDNode *SelectI64Constant(SDNode *N, EVT OpVT, DebugLoc dl);
239 SDNode *SelectI64Constant(uint64_t i64const, EVT OpVT, DebugLoc dl);
317 EVT OffsVT = MVT::i16; in SelectAFormAddr()
402 EVT PtrTy = SPUtli.getPointerTy(); in DFormAddressPredicate()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.h449 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getShiftAmountTy()
486 virtual EVT
493 virtual bool allowsUnalignedMemoryAccesses(EVT VT) const { in allowsUnalignedMemoryAccesses()
514 virtual bool isTypeDesirableForOp(unsigned Opc, EVT VT) const;
520 virtual bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const;
532 virtual EVT getSetCCResultType(EVT VT) const;
562 virtual const char *LowerXConstraint(EVT ConstraintVT) const;
579 EVT VT) const;
601 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
612 virtual bool isZExtFree(EVT VT1, EVT VT2) const;
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonCallingConvLower.cpp41 void Hexagon_CCState::HandleByVal(unsigned ValNo, EVT ValVT, in HandleByVal()
42 EVT LocVT, CCValAssign::LocInfo LocInfo, in HandleByVal()
81 EVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments()
117 EVT VT = Outs[i].VT; in AnalyzeReturn()
147 EVT ArgVT = Outs[i].VT; in AnalyzeCallOperands()
161 Hexagon_CCState::AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs, in AnalyzeCallOperands()
166 EVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands()
185 EVT VT = Ins[i].VT; in AnalyzeCallResult()
197 void Hexagon_CCState::AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn) { in AnalyzeCallResult()
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,
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, in CC_Hexagon32_VarArgs()
30 EVT LocVT, CCValAssign::LocInfo LocInfo, in CC_Hexagon32_VarArgs()
98 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, in RetCC_Hexagon32_VarArgs()
99 EVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_Hexagon32_VarArgs()
DHexagonISelLowering.h83 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
128 virtual EVT getSetCCResultType(EVT VT) const { in getSetCCResultType()
139 EVT VT) const;
150 virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.h94 virtual EVT getSetCCResultType(EVT VT) const { in getSetCCResultType()
100 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
128 virtual MVT getShiftAmountTy(EVT LHSTy) const { in getShiftAmountTy()
135 SDValue getExtSymb(SelectionDAG &DAG, const char *name, int idx, EVT =
137 SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT = MVT::i32) const;
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h76 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getShiftAmountTy()
100 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
106 virtual bool isTruncateFree(EVT VT1, EVT VT2) const;
117 virtual bool isZExtFree(EVT VT1, EVT VT2) const;
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h104 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy()
106 virtual bool allowsUnalignedMemoryAccesses (EVT VT) const;
116 EVT getSetCCResultType(EVT VT) const;
187 EVT VT) const;
200 virtual EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
208 virtual bool isFPImmLegal(const APFloat &Imm, EVT VT) const;
/external/webkit/Source/WebKit/android/plugins/
DPluginDebugAndroid.h40 # define PLUGIN_LOG_EVENT(NPP, EVT, RET, TIME) do { anp_logPluginEvent(NPP, EVT, RET, TIME); } whil… argument
54 # define PLUGIN_LOG_EVENT(NPP, EVT, RET, TIME) do { } while(0) argument

1234