/external/llvm/lib/Target/X86/Utils/ |
H A D | X86ShuffleDecode.h | 38 void DecodePSHUFMask(EVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 44 /// DecodeSHUFPMask - This decodes the shuffle masks for shufp*. VT indicates 47 void DecodeSHUFPMask(EVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask); 50 /// and punpckh*. VT indicates the type of the vector allowing it to handle 52 void DecodeUNPCKHMask(EVT VT, SmallVectorImpl<int> &ShuffleMask); 55 /// and punpckl*. VT indicates the type of the vector allowing it to handle 57 void DecodeUNPCKLMask(EVT VT, SmallVectorImpl<int> &ShuffleMask); 60 void DecodeVPERM2X128Mask(EVT VT, unsigned Imm,
|
H A D | X86ShuffleDecode.cpp | 65 /// VT indicates the type of the vector allowing it to handle different 67 void DecodePSHUFMask(EVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { argument 68 unsigned NumElts = VT.getVectorNumElements(); 70 unsigned NumLanes = VT.getSizeInBits() / 128; 105 /// DecodeSHUFPMask - This decodes the shuffle masks for shufp*. VT indicates 108 void DecodeSHUFPMask(EVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { argument 109 unsigned NumElts = VT.getVectorNumElements(); 111 unsigned NumLanes = VT.getSizeInBits() / 128; 131 /// and punpckh*. VT indicates the type of the vector allowing it to handle 133 void DecodeUNPCKHMask(EVT VT, SmallVectorImp argument 153 DecodeUNPCKLMask(EVT VT, SmallVectorImpl<int> &ShuffleMask) argument 170 DecodeVPERM2X128Mask(EVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) argument [all...] |
/external/llvm/include/llvm/Target/ |
H A D | TargetLowering.h | 158 virtual EVT getSetCCResultType(EVT VT) const; 193 virtual const TargetRegisterClass *getRegClassFor(EVT VT) const { 194 assert(VT.isSimple() && "getRegClassFor called on illegal type!"); 195 const TargetRegisterClass *RC = RegClassForVT[VT.getSimpleVT().SimpleTy]; 205 virtual const TargetRegisterClass *getRepRegClassFor(EVT VT) const { 206 assert(VT.isSimple() && "getRepRegClassFor called on illegal type!"); 207 const TargetRegisterClass *RC = RepRegClassForVT[VT.getSimpleVT().SimpleTy]; 213 virtual uint8_t getRepRegClassCostFor(EVT VT) const { 214 assert(VT.isSimple() && "getRepRegClassCostFor called on illegal type!"); 215 return RepRegClassCostForVT[VT 241 setTypeAction(EVT VT, LegalizeTypeAction Action) argument 1034 addRegisterClass(EVT VT, const TargetRegisterClass *RC) argument 1051 setOperationAction(unsigned Op, MVT VT, LegalizeAction Action) argument [all...] |
H A D | TargetCallingConv.h | 113 MVT VT; member in struct:llvm::ISD::InputArg 116 InputArg() : VT(MVT::Other), Used(false) {} 119 VT = vt.getSimpleVT(); 129 MVT VT; member in struct:llvm::ISD::OutputArg 137 VT = vt.getSimpleVT();
|
/external/llvm/lib/CodeGen/ |
H A D | CallingConvLower.cpp | 74 MVT ArgVT = Ins[i].VT; 92 MVT VT = Outs[i].VT; local 94 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) 106 MVT VT = Outs[i].VT; local 108 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) { 111 << EVT(VT) 160 MVT VT = Ins[i].VT; local 174 AnalyzeCallResult(MVT VT, CCAssignFn Fn) argument [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 62 static const fltSemantics *EVTToAPFloatSemantics(EVT VT) { argument 63 switch (VT.getSimpleVT().SimpleTy) { 88 bool ConstantFPSDNode::isValueValidForType(EVT VT, argument 90 assert(VT.isFloatingPoint() && "Can only convert between FP types"); 93 if (VT == MVT::ppcf128 || 100 (void) Val2.convert(*EVTToAPFloatSemantics(VT), APFloat::rmNearestTiesToEven, 651 EVT VT = cast<VTSDNode>(N)->getVT(); local 652 if (VT.isExtended()) { 653 Erased = ExtendedValueTypeNodes.erase(VT); 655 Erased = ValueTypeNodes[VT 773 EVT VT = N->getValueType(0); local 902 getAnyExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) argument 908 getSExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) argument 914 getZExtOrTrunc(SDValue Op, DebugLoc DL, EVT VT) argument 920 getZeroExtendInReg(SDValue Op, DebugLoc DL, EVT VT) argument 934 getNOT(DebugLoc DL, SDValue Val, EVT VT) argument 941 getConstant(uint64_t Val, EVT VT, bool isT) argument 949 getConstant(const APInt &Val, EVT VT, bool isT) argument 953 getConstant(const ConstantInt &Val, EVT VT, bool isT) argument 1002 getConstantFP(const APFloat& V, EVT VT, bool isTarget) argument 1006 getConstantFP(const ConstantFP& V, EVT VT, bool isTarget) argument 1040 getConstantFP(double Val, EVT VT, bool isTarget) argument 1056 getGlobalAddress(const GlobalValue *GV, DebugLoc DL, EVT VT, int64_t Offset, bool isTargetGA, unsigned char TargetFlags) argument 1098 getFrameIndex(int FI, EVT VT, bool isTarget) argument 1113 getJumpTable(int JTI, EVT VT, bool isTarget, unsigned char TargetFlags) argument 1133 getConstantPool(const Constant *C, EVT VT, unsigned Alignment, int Offset, bool isTarget, unsigned char TargetFlags) argument 1160 getConstantPool(MachineConstantPoolValue *C, EVT VT, unsigned Alignment, int Offset, bool isTarget, unsigned char TargetFlags) argument 1200 getValueType(EVT VT) argument 1214 getExternalSymbol(const char *Sym, EVT VT) argument 1222 getTargetExternalSymbol(const char *Sym, EVT VT, unsigned char TargetFlags) argument 1260 getVectorShuffle(EVT VT, DebugLoc dl, SDValue N1, SDValue N2, const int *Mask) argument 1350 getConvertRndSat(EVT VT, DebugLoc dl, SDValue Val, SDValue DTy, SDValue STy, SDValue Rnd, SDValue Sat, ISD::CvtCode Code) argument 1374 getRegister(unsigned RegNo, EVT VT) argument 1418 getBlockAddress(const BlockAddress *BA, EVT VT, bool isTarget, unsigned char TargetFlags) argument 1485 CreateStackTemporary(EVT VT, unsigned minAlign) argument 1512 FoldSetCC(EVT VT, SDValue N1, SDValue N2, ISD::CondCode Cond, DebugLoc dl) argument 1880 EVT VT = LD->getMemoryVT(); local 1948 EVT VT = cast<VTSDNode>(Op.getOperand(1))->getVT(); local 2085 EVT VT = Op.getValueType(); local 2361 getNode(unsigned Opcode, DebugLoc DL, EVT VT) argument 2378 getNode(unsigned Opcode, DebugLoc DL, EVT VT, SDValue Operand) argument 2627 FoldConstantArithmetic(unsigned Opcode, EVT VT, ConstantSDNode *Cst1, ConstantSDNode *Cst2) argument 2663 getNode(unsigned Opcode, DebugLoc DL, EVT VT, SDValue N1, SDValue N2) argument 3107 getNode(unsigned Opcode, DebugLoc DL, EVT VT, SDValue N1, SDValue N2, SDValue N3) argument 3197 getNode(unsigned Opcode, DebugLoc DL, EVT VT, SDValue N1, SDValue N2, SDValue N3, SDValue N4) argument 3204 getNode(unsigned Opcode, DebugLoc DL, EVT VT, SDValue N1, SDValue N2, SDValue N3, SDValue N4, SDValue N5) argument 3247 getMemsetValue(SDValue Value, EVT VT, SelectionDAG &DAG, DebugLoc dl) argument 3273 getMemsetStringVal(EVT VT, DebugLoc dl, SelectionDAG &DAG, const TargetLowering &TLI, StringRef Str) argument 3311 EVT VT = Base.getValueType(); local 3355 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign, local 3461 EVT VT = MemOps[i]; local 3552 EVT VT = MemOps[i]; local 3568 EVT VT = MemOps[i]; local 3633 EVT VT = MemOps[i]; local 3870 EVT VT = Cmp.getValueType(); local 3941 EVT VT = Val.getValueType(); local 3962 getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, EVT VT, SDValue Chain, SDValue Ptr, const Value* PtrVal, unsigned Alignment, AtomicOrdering Ordering, SynchronizationScope SynchScope) argument 3992 getAtomic(unsigned Opcode, DebugLoc dl, EVT MemVT, EVT VT, SDValue Chain, SDValue Ptr, MachineMemOperand *MMO, AtomicOrdering Ordering, SynchronizationScope SynchScope) argument 4134 getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, DebugLoc dl, SDValue Chain, SDValue Ptr, SDValue Offset, MachinePointerInfo PtrInfo, EVT MemVT, bool isVolatile, bool isNonTemporal, bool isInvariant, unsigned Alignment, const MDNode *TBAAInfo, const MDNode *Ranges) argument 4167 getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType, EVT VT, DebugLoc dl, SDValue Chain, SDValue Ptr, SDValue Offset, EVT MemVT, MachineMemOperand *MMO) argument 4213 getLoad(EVT VT, DebugLoc dl, SDValue Chain, SDValue Ptr, MachinePointerInfo PtrInfo, bool isVolatile, bool isNonTemporal, bool isInvariant, unsigned Alignment, const MDNode *TBAAInfo, const MDNode *Ranges) argument 4226 getExtLoad(ISD::LoadExtType ExtType, DebugLoc dl, EVT VT, SDValue Chain, SDValue Ptr, MachinePointerInfo PtrInfo, EVT MemVT, bool isVolatile, bool isNonTemporal, unsigned Alignment, const MDNode *TBAAInfo) argument 4281 EVT VT = Val.getValueType(); local 4332 EVT VT = Val.getValueType(); local 4394 getVAArg(EVT VT, DebugLoc dl, SDValue Chain, SDValue Ptr, SDValue SV, unsigned Align) argument 4402 getNode(unsigned Opcode, DebugLoc DL, EVT VT, const SDUse *Ops, unsigned NumOps) argument 4418 getNode(unsigned Opcode, DebugLoc DL, EVT VT, const SDValue *Ops, unsigned NumOps) argument 4591 getVTList(EVT VT) argument 4804 SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT) argument 4810 SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT, SDValue Op1) argument 4817 SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT, SDValue Op1, SDValue Op2) argument 4825 SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT, SDValue Op1, SDValue Op2, SDValue Op3) argument 4833 SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT, const SDValue *Ops, unsigned NumOps) argument 5022 getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT) argument 5028 getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT, SDValue Op1) argument 5035 getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT, SDValue Op1, SDValue Op2) argument 5043 getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT, SDValue Op1, SDValue Op2, SDValue Op3) argument 5051 getMachineNode(unsigned Opcode, DebugLoc dl, EVT VT, const SDValue *Ops, unsigned NumOps) argument 5181 getTargetExtractSubreg(int SRIdx, DebugLoc DL, EVT VT, SDValue Operand) argument 5192 getTargetInsertSubreg(int SRIdx, DebugLoc DL, EVT VT, SDValue Operand, SDValue Subreg) argument 5684 GlobalAddressSDNode(unsigned Opc, DebugLoc DL, const GlobalValue *GA, EVT VT, int64_t o, unsigned char TF) argument 5737 getValueTypeList(EVT VT) argument 5888 EVT VT = N->getValueType(0); local 6057 EVT VT = getValueType(0); local 6117 isSplatMask(const int *Mask, EVT VT) argument [all...] |
H A D | LegalizeDAG.cpp | 86 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl, 90 void LegalizeSetCCCondCode(EVT VT, SDValue &LHS, SDValue &RHS, SDValue &CC, 178 SelectionDAGLegalize::ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl, argument 181 unsigned NumMaskElts = VT.getVectorNumElements(); 251 EVT VT = CFP->getValueType(0); local 254 assert((VT == MVT::f64 || VT == MVT::f32) && "Invalid type expansion"); 256 (VT == MVT::f64) ? MVT::i64 : MVT::i32); 259 EVT OrigVT = VT; 260 EVT SVT = VT; 301 EVT VT = Val.getValueType(); local 422 EVT VT = LD->getValueType(0); local 576 EVT VT = Tmp1.getValueType(); local 913 EVT VT = Node->getValueType(0); local 1191 EVT VT = Tmp3.getValueType(); local [all...] |
H A D | DAGCombiner.cpp | 253 SDValue SimplifySetCC(EVT VT, SDValue N0, SDValue N1, ISD::CondCode Cond, 257 SDValue CombineConsecutiveLoads(SDNode *N, EVT VT); 316 /// legalization or if the specified VT is legal. 317 bool isTypeLegal(const EVT &VT) { argument 319 return TLI.isTypeLegal(VT); 568 EVT VT = N0.getValueType(); local 573 DAG.FoldConstantArithmetic(Opc, VT, 576 return DAG.getNode(Opc, DL, VT, N0.getOperand(0), OpNode); 580 SDValue OpNode = DAG.getNode(Opc, N0.getDebugLoc(), VT, 583 return DAG.getNode(Opc, DL, VT, OpNod 701 EVT VT = Load->getValueType(0); local 1341 EVT VT = N0.getValueType(); local 1365 EVT VT = N0.getValueType(); local 1529 EVT VT = N0.getValueType(); local 1586 tryFoldToZero(DebugLoc DL, const TargetLowering &TLI, EVT VT, SelectionDAG &DAG, bool LegalOperations) argument 1608 EVT VT = N0.getValueType(); local 1694 EVT VT = N0.getValueType(); local 1739 EVT VT = N0.getValueType(); local 1833 EVT VT = N->getValueType(0); local 1917 EVT VT = N->getValueType(0); local 1969 EVT VT = N->getValueType(0); local 2011 EVT VT = N->getValueType(0); local 2063 EVT VT = N->getValueType(0); local 2101 EVT VT = N->getValueType(0); local 2287 EVT VT = N0.getValueType(); local 2406 EVT VT = N1.getValueType(); local 2492 EVT VT = Vector->getValueType(0); local 2960 EVT VT = N1.getValueType(); local 3119 EVT VT = LHS.getValueType(); local 3280 EVT VT = N0.getValueType(); local 3470 EVT VT = N0.getValueType(); local 3600 EVT VT = N0.getValueType(); local 3745 EVT VT = N0.getValueType(); local 3935 EVT VT = N->getValueType(0); local 3945 EVT VT = N->getValueType(0); local 3955 EVT VT = N->getValueType(0); local 3965 EVT VT = N->getValueType(0); local 3975 EVT VT = N->getValueType(0); local 3990 EVT VT = N->getValueType(0); local 4199 EVT VT = N->getValueType(0); local 4459 EVT VT = N->getValueType(0); local 4729 EVT VT = N->getValueType(0); local 4934 EVT VT = N->getValueType(0); local 5064 EVT VT = N->getValueType(0); local 5173 EVT VT = N->getValueType(0); local 5277 CombineConsecutiveLoads(SDNode *N, EVT VT) argument 5311 EVT VT = N->getValueType(0); local 5458 EVT VT = N->getValueType(0); local 5478 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, local 5555 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, Ops.size()); local 5564 EVT VT = EVT::getVectorVT(*DAG.getContext(), DstEltVT, local 5602 EVT VT = N->getValueType(0); local 5647 EVT VT = N->getValueType(0); local 5700 EVT VT = N->getValueType(0); local 5761 EVT VT = N->getValueType(0); local 5815 EVT VT = N->getValueType(0); local 5829 EVT VT = N->getValueType(0); local 5877 EVT VT = N->getValueType(0); local 5902 EVT VT = N->getValueType(0); local 5927 EVT VT = N->getValueType(0); local 5939 EVT VT = N->getValueType(0); local 5952 EVT VT = N->getValueType(0); local 5985 EVT VT = N->getValueType(0); local 6001 EVT VT = N->getValueType(0); local 6048 EVT VT = N->getValueType(0); local 6077 EVT VT = N->getValueType(0); local 6288 EVT VT; local 6335 EVT VT; local 6466 EVT VT; local 6857 EVT VT = Value.getValueType(); local 6980 EVT VT = LD->getMemoryVT(); local 7283 EVT VT = InVec.getValueType(); local 7491 EVT VT = N->getValueType(0); local 7748 EVT VT = N->getValueType(0); local 7942 EVT VT = N->getValueType(0); local 8027 EVT VT = LHSOp.getValueType(); local 8482 SimplifySetCC(EVT VT, SDValue N0, SDValue N1, ISD::CondCode Cond, DebugLoc DL, bool foldBooleans) argument [all...] |
H A D | TargetLowering.cpp | 534 for (unsigned VT = 0; VT != (unsigned)MVT::LAST_VALUETYPE; ++VT) { 538 setIndexedLoadAction(IM, (MVT::SimpleValueType)VT, Expand); 539 setIndexedStoreAction(IM, (MVT::SimpleValueType)VT, Expand); 543 setOperationAction(ISD::FGETSIGN, (MVT::SimpleValueType)VT, Expand); 544 setOperationAction(ISD::CONCAT_VECTORS, (MVT::SimpleValueType)VT, Expand); 636 /// VT must be a legal type. 637 bool TargetLowering::canOpTrap(unsigned Op, EVT VT) const { 638 assert(isTypeLegal(VT)); 653 getVectorTypeBreakdownMVT(MVT VT, MVT &IntermediateVT, unsigned &NumIntermediates, EVT &RegisterVT, TargetLowering *TLI) argument 829 MVT VT = (MVT::SimpleValueType)i; local 936 getVectorTypeBreakdown(LLVMContext &Context, EVT VT, EVT &IntermediateVT, unsigned &NumIntermediates, EVT &RegisterVT) const argument 1012 EVT VT = ValueVTs[j]; local 1145 EVT VT = Op.getValueType(); local 1373 EVT VT = Op.getValueType(); local 1388 EVT VT = Op.getValueType(); local 1464 EVT VT = Op.getValueType(); local 1503 EVT VT = Op.getValueType(); local 1556 EVT VT = Op.getValueType(); local 1791 EVT VT = cast<VTSDNode>(Op.getOperand(1))->getVT(); local 1927 SimplifySetCC(EVT VT, SDValue N0, SDValue N1, ISD::CondCode Cond, bool foldBooleans, DAGCombinerInfo &DCI, DebugLoc dl) const argument 3286 EVT VT = N->getValueType(0); local 3346 EVT VT = N->getValueType(0); local [all...] |
H A D | LegalizeVectorOps.cpp | 277 EVT VT = Op.getValueType(); local 280 EVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT); 293 return DAG.getNode(ISD::BITCAST, dl, VT, Op); 390 EVT VT = Op.getOperand(0).getValueType(); local 401 if (TLI.getOperationAction(ISD::AND, VT) == TargetLowering::Expand || 402 TLI.getOperationAction(ISD::XOR, VT) == TargetLowering::Expand || 403 TLI.getOperationAction(ISD::OR, VT) == TargetLowering::Expand) 406 assert(VT.getSizeInBits() == Op.getOperand(1).getValueType().getSizeInBits() 411 Op1 = DAG.getNode(ISD::BITCAST, DL, VT, Op1); 412 Op2 = DAG.getNode(ISD::BITCAST, DL, VT, Op 425 EVT VT = Op.getOperand(0).getValueType(); local 474 EVT VT = Op.getValueType(); local [all...] |
H A D | FastISel.cpp | 130 MVT VT = RealVT.getSimpleVT(); 131 if (!TLI.isTypeLegal(VT)) { 133 if (VT == MVT::i1 || VT == MVT::i8 || VT == MVT::i16) 134 VT = TLI.getTypeToTransformTo(V->getContext(), VT).getSimpleVT(); 155 Reg = materializeRegForValue(V, VT); 165 unsigned FastISel::materializeRegForValue(const Value *V, MVT VT) { argument 170 Reg = FastEmit_i(VT, V 340 EVT VT = EVT::getEVT(I->getType(), /*HandleUnknown=*/true); local 461 MVT VT = TLI.getPointerTy(); local 847 EVT VT = TLI.getValueType(I->getType()); local 1107 FastEmit_ri_(MVT VT, unsigned Opcode, unsigned Op0, bool Op0IsKill, uint64_t Imm, MVT ImmType) argument 1356 FastEmitZExtFromI1(MVT VT, unsigned Op0, bool Op0IsKill) argument 1400 EVT VT = TLI.getValueType(PN->getType(), /*AllowUnknown=*/true); local [all...] |
H A D | ResourcePriorityQueue.cpp | 97 EVT VT = ScegN->getValueType(i); local 98 if (TLI->isTypeLegal(VT) 99 && (TLI->getRegClassFor(VT)->getID() == RCId)) { 135 EVT VT = Op.getNode()->getValueType(Op.getResNo()); local 136 if (TLI->isTypeLegal(VT) 137 && (TLI->getRegClassFor(VT)->getID() == RCId)) { 335 EVT VT = SU->getNode()->getValueType(i); local 336 if (TLI->isTypeLegal(VT) 337 && TLI->getRegClassFor(VT) 338 && TLI->getRegClassFor(VT) 344 EVT VT = Op.getNode()->getValueType(Op.getResNo()); local 488 EVT VT = ScegN->getValueType(i); local 499 EVT VT = Op.getNode()->getValueType(Op.getResNo()); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 318 SDVTList getVTList(EVT VT); 327 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false); 328 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false); 329 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false); 331 SDValue getTargetConstant(uint64_t Val, EVT VT) { argument 332 return getConstant(Val, VT, true); 334 SDValue getTargetConstant(const APInt &Val, EVT VT) { argument 335 return getConstant(Val, VT, true); 337 SDValue getTargetConstant(const ConstantInt &Val, EVT VT) { argument 338 return getConstant(Val, VT, tru 345 getTargetConstantFP(double Val, EVT VT) argument 348 getTargetConstantFP(const APFloat& Val, EVT VT) argument 351 getTargetConstantFP(const ConstantFP &Val, EVT VT) argument 357 getTargetGlobalAddress(const GlobalValue *GV, DebugLoc DL, EVT VT, int64_t offset = 0, unsigned char TargetFlags = 0) argument 363 getTargetFrameIndex(int FI, EVT VT) argument 368 getTargetJumpTable(int JTI, EVT VT, unsigned char TargetFlags = 0) argument 374 getTargetConstantPool(const Constant *C, EVT VT, unsigned Align = 0, int Offset = 0, unsigned char TargetFlags = 0) argument 382 getTargetConstantPool(MachineConstantPoolValue *C, EVT VT, unsigned Align = 0, int Offset = 0, unsigned char TargetFlags=0) argument 425 getCopyFromReg(SDValue Chain, DebugLoc dl, unsigned Reg, EVT VT) argument 434 getCopyFromReg(SDValue Chain, DebugLoc dl, unsigned Reg, EVT VT, SDValue Glue) argument 500 getUNDEF(EVT VT) argument 506 getGLOBAL_OFFSET_TABLE(EVT VT) argument 568 getSetCC(DebugLoc DL, EVT VT, SDValue LHS, SDValue RHS, ISD::CondCode Cond) argument [all...] |
H A D | ValueTypes.h | 350 static MVT getVectorVT(MVT VT, unsigned NumElements) { argument 351 switch (VT.SimpleTy) { 410 bool operator==(EVT VT) const { 411 return !(*this != VT); 413 bool operator!=(EVT VT) const { 414 if (V.SimpleTy != VT.V.SimpleTy) 417 return LLVMTy != VT.LLVMTy; 438 /// length, where each element is of type VT. 439 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { argument 440 MVT M = MVT::getVectorVT(VT [all...] |
H A D | FastISel.h | 160 virtual unsigned FastEmit_(MVT VT, 168 virtual unsigned FastEmit_r(MVT VT, 177 virtual unsigned FastEmit_rr(MVT VT, 187 virtual unsigned FastEmit_ri(MVT VT, 197 virtual unsigned FastEmit_rf(MVT VT, 207 virtual unsigned FastEmit_rri(MVT VT, 218 unsigned FastEmit_ri_(MVT VT, 226 virtual unsigned FastEmit_i(MVT VT, 234 virtual unsigned FastEmit_f(MVT VT, 321 unsigned FastEmitZExtFromI1(MVT VT, [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonCallingConvLower.cpp | 84 EVT ArgVT = Ins[i].VT; 120 EVT VT = Outs[i].VT; local 122 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this, -1, -1, false)){ 124 << VT.getEVTString() << "\n"; 150 EVT ArgVT = Outs[i].VT; 188 EVT VT = Ins[i].VT; local 190 if (Fn(i, VT, V 200 AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn) argument [all...] |
/external/llvm/utils/TableGen/ |
H A D | IntrinsicEmitter.cpp | 177 static void EmitTypeForValueType(raw_ostream &OS, MVT::SimpleValueType VT) { argument 178 if (EVT(VT).isInteger()) { 179 unsigned BitWidth = EVT(VT).getSizeInBits(); 181 } else if (VT == MVT::Other) { 184 } else if (VT == MVT::f16) { 186 } else if (VT == MVT::f32) { 188 } else if (VT == MVT::f64) { 190 } else if (VT == MVT::f80) { 192 } else if (VT == MVT::f128) { 194 } else if (VT 232 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); local 368 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); local 396 MVT::SimpleValueType VT = getValueType(ArgType->getValueAsDef("VT")); local [all...] |
H A D | CodeGenTarget.cpp | 432 MVT::SimpleValueType VT; local 437 VT = OverloadedVTs[MatchTy]; 443 VT == MVT::iAny || VT == MVT::vAny) && 446 VT = getValueType(TyEl->getValueAsDef("VT")); 448 if (EVT(VT).isOverloaded()) { 449 OverloadedVTs.push_back(VT); 454 if (VT == MVT::isVoid) 457 IS.RetVTs.push_back(VT); 466 MVT::SimpleValueType VT; local [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 58 static SDValue getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, 70 EVT VT = Vec.getValueType(); local 71 assert(VT.getSizeInBits() == 256 && "Unexpected vector size!"); 72 EVT ElVT = VT.getVectorElementType(); 73 int Factor = VT.getSizeInBits()/128; 75 VT.getVectorNumElements()/Factor); 114 EVT VT = Vec.getValueType(); local 115 assert(VT.getSizeInBits() == 128 && "Unexpected vector size!"); 117 EVT ElVT = VT.getVectorElementType(); 350 MVT VT local 497 MVT VT = IntVTs[i]; local 879 EVT VT = (MVT::SimpleValueType)i; local 909 EVT VT = SVT; local 1128 EVT VT = SVT; local 1150 EVT VT = SVT; local 1189 MVT VT = IntVTs[i]; local 1615 getTypeForExtArgOrReturn(LLVMContext &Context, EVT VT, ISD::NodeType ExtendKind) const argument 2101 EVT VT = getPointerTy(); local 2122 EVT VT = Is64Bit ? MVT::i64 : MVT::i32; local 2919 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SelectionDAG &DAG) argument 2930 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, unsigned TargetMask, SelectionDAG &DAG) argument 2944 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SDValue V2, unsigned TargetMask, SelectionDAG &DAG) argument 2957 getTargetShuffleNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue V1, SDValue V2, SelectionDAG &DAG) argument 3188 isPSHUFDMask(ArrayRef<int> Mask, EVT VT) argument 3198 isPSHUFHWMask(ArrayRef<int> Mask, EVT VT) argument 3216 isPSHUFLWMask(ArrayRef<int> Mask, EVT VT) argument 3234 isPALIGNRMask(ArrayRef<int> Mask, EVT VT, const X86Subtarget *Subtarget) argument 3324 isSHUFPMask(ArrayRef<int> Mask, EVT VT, bool HasAVX, bool Commuted = false) argument 3377 isMOVHLPSMask(ArrayRef<int> Mask, EVT VT) argument 3396 isMOVHLPS_v_undef_Mask(ArrayRef<int> Mask, EVT VT) argument 3413 isMOVLPMask(ArrayRef<int> Mask, EVT VT) argument 3435 isMOVLHPSMask(ArrayRef<int> Mask, EVT VT) argument 3455 isUNPCKLMask(ArrayRef<int> Mask, EVT VT, bool HasAVX2, bool V2IsSplat = false) argument 3494 isUNPCKHMask(ArrayRef<int> Mask, EVT VT, bool HasAVX2, bool V2IsSplat = false) argument 3532 isUNPCKL_v_undef_Mask(ArrayRef<int> Mask, EVT VT, bool HasAVX2) argument 3575 isUNPCKH_v_undef_Mask(ArrayRef<int> Mask, EVT VT, bool HasAVX2) argument 3607 isMOVLMask(ArrayRef<int> Mask, EVT VT) argument 3631 isVPERM2X128Mask(ArrayRef<int> Mask, EVT VT, bool HasAVX) argument 3663 EVT VT = SVOp->getValueType(0); local 3691 isVPERMILPMask(ArrayRef<int> Mask, EVT VT, bool HasAVX) argument 3722 isCommutedMOVLMask(ArrayRef<int> Mask, EVT VT, bool V2IsSplat = false, bool V2IsUndef = false) argument 3745 isMOVSHDUPMask(ArrayRef<int> Mask, EVT VT, const X86Subtarget *Subtarget) argument 3768 isMOVSLDUPMask(ArrayRef<int> Mask, EVT VT, const X86Subtarget *Subtarget) argument 3791 isMOVDDUPYMask(ArrayRef<int> Mask, EVT VT, bool HasAVX) argument 3809 isMOVDDUPMask(ArrayRef<int> Mask, EVT VT) argument 3865 EVT VT = N->getValueType(0); local 3926 EVT VT = SVOp->getValueType(0); local 3985 EVT VT = N->getValueType(0); local 4015 EVT VT = SVOp->getValueType(0); local 4036 ShouldXformToMOVHLPS(ArrayRef<int> Mask, EVT VT) argument 4092 ShouldXformToMOVLP(SDNode *V1, SDNode *V2, ArrayRef<int> Mask, EVT VT) argument 4160 getZeroVector(EVT VT, const X86Subtarget *Subtarget, SelectionDAG &DAG, DebugLoc dl) argument 4195 getOnesVector(EVT VT, bool HasAVX2, SelectionDAG &DAG, DebugLoc dl) argument 4233 getMOVL(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument 4244 getUnpackl(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument 4256 getUnpackh(SelectionDAG &DAG, DebugLoc dl, EVT VT, SDValue V1, SDValue V2) argument 4273 EVT VT = V.getValueType(); local 4291 EVT VT = V.getValueType(); local 4367 EVT VT = V2.getValueType(); local 4381 getTargetShuffleMask(SDNode *N, EVT VT, SmallVectorImpl<int> &Mask, bool &IsUnary) argument 4459 EVT VT = V.getValueType(); local 4727 getVShift(bool isLeft, EVT VT, SDValue SrcOp, unsigned NumBits, SelectionDAG &DAG, const TargetLowering &TLI, DebugLoc dl) argument 4741 LowerAsSplatVectorLoad(SDValue SrcOp, EVT VT, DebugLoc dl, SelectionDAG &DAG) const argument 4824 EltsFromConsecutiveLoads(EVT VT, SmallVectorImpl<SDValue> &Elts, DebugLoc &DL, SelectionDAG &DAG) argument 5020 EVT VT = Op.getValueType(); local 5418 EVT VT = Op.getValueType(); local 5900 EVT VT = SVOp->getValueType(0); local 5940 getVZextMovL(EVT VT, EVT OpVT, SDValue SrcOp, SelectionDAG &DAG, const X86Subtarget *Subtarget, DebugLoc dl) argument 5977 EVT VT = SVOp->getValueType(0); local 6065 EVT VT = SVOp->getValueType(0); local 6706 EVT VT = Op.getValueType(); local 6796 EVT VT = Op.getValueType(); local 6852 EVT VT = Op.getValueType(); local 6903 EVT VT = Op.getValueType(); local 7459 EVT VT = Op.getValueType(); local 7929 EVT VT = Op.getValueType(); local 7951 EVT VT = Op.getValueType(); local 7985 EVT VT = Op.getValueType(); local 8056 EVT VT = Op.getValueType(); local 8352 EVT VT = Op.getValueType(); local 8387 EVT VT = Op.getValueType(); local 8610 EVT VT = Op.getValueType(); local 9199 getTargetVShiftNode(unsigned Opc, DebugLoc dl, EVT VT, SDValue SrcOp, SDValue ShAmt, SelectionDAG &DAG) argument 9764 EVT VT = Op.getValueType(); local 9802 EVT VT = Op.getValueType(); local 10023 EVT VT = Op.getValueType(); local 10069 EVT VT = Op.getValueType(); local 10104 EVT VT = Op.getValueType(); local 10129 EVT VT = Op.getValueType(); local 10151 EVT VT = Op.getValueType(); local 10194 EVT VT = Op.getValueType(); local 10244 EVT VT = Op.getValueType(); local 10547 EVT VT = Op.getValueType(); local 10772 EVT VT = cast<AtomicSDNode>(Node)->getMemoryVT(); local 10795 EVT VT = Op.getNode()->getValueType(0); local 10900 EVT VT = cast<AtomicSDNode>(Node)->getMemoryVT(); local 10967 EVT VT = N->getValueType(0); local 12873 EVT VT = SVOp->getValueType(0); local 12889 EVT VT = SVOp->getValueType(0); local 12909 EVT VT = SVOp->getValueType(0); local 12991 EVT VT = N->getValueType(0); local 13287 EVT VT = LHS.getValueType(); local 13767 EVT VT = N0.getValueType(); local 13812 EVT VT = N->getValueType(0); local 13956 EVT VT = CMP00.getValueType(); local 14014 EVT VT = N->getValueType(0); local 14384 EVT VT = St->getValue().getValueType(); local 14729 EVT VT = N->getValueType(0); local 14744 EVT VT = N->getValueType(0); local 14807 EVT VT = N->getValueType(0), OpVT = Op.getValueType(); local 14874 EVT VT = N->getValueType(0); local 14951 EVT VT = Ld->getValueType(0); local 14977 EVT VT = N->getValueType(0); local 15033 EVT VT = N->getValueType(0); local 15060 EVT VT = Op0.getValueType(); local 15070 EVT VT = N->getValueType(0); local 15165 EVT VT = Op.getValueType(); local [all...] |
H A D | X86FastISel.cpp | 79 bool X86FastEmitCompare(const Value *LHS, const Value *RHS, EVT VT); 81 bool X86FastEmitLoad(EVT VT, const X86AddressMode &AM, unsigned &RR); 83 bool X86FastEmitStore(EVT VT, const Value *Val, const X86AddressMode &AM); 84 bool X86FastEmitStore(EVT VT, unsigned Val, const X86AddressMode &AM); 133 bool isScalarFPTypeInSSEReg(EVT VT) const { 134 return (VT == MVT::f64 && X86ScalarSSEf64) || // f64 is when SSE2 135 (VT == MVT::f32 && X86ScalarSSEf32); // f32 is when SSE1 138 bool isTypeLegal(Type *Ty, MVT &VT, bool AllowI1 = false); 148 bool X86FastISel::isTypeLegal(Type *Ty, MVT &VT, bool AllowI1) { argument 154 VT 176 X86FastEmitLoad(EVT VT, const X86AddressMode &AM, unsigned &ResultReg) argument 235 X86FastEmitStore(EVT VT, unsigned Val, const X86AddressMode &AM) argument 280 X86FastEmitStore(EVT VT, const Value *Val, const X86AddressMode &AM) argument 838 X86ChooseCmpOpcode(EVT VT, const X86Subtarget *Subtarget) argument 859 X86ChooseCmpImmediateOpcode(EVT VT, const ConstantInt *RHSC) argument 875 X86FastEmitCompare(const Value *Op0, const Value *Op1, EVT VT) argument 911 MVT VT; local 1028 EVT VT = TLI.getValueType(CI->getOperand(0)->getType()); local 1188 MVT VT; local 1215 MVT VT; local 1351 MVT VT; local 1465 MVT VT; local 1871 EVT VT = RetTys[i]; local 1993 MVT VT; local 2115 MVT VT; local [all...] |
/external/llvm/lib/Target/PTX/ |
H A D | PTXSelectionDAGInfo.cpp | 54 EVT VT = MVT::i32; local 69 Loads[i] = DAG.getLoad(VT, dl, Chain, 101 VT = MVT::i16; 104 VT = MVT::i8; 108 Loads[i] = DAG.getLoad(VT, dl, Chain, 124 VT = MVT::i16; 127 VT = MVT::i8;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 92 void ARMTargetLowering::addTypeForNEON(EVT VT, EVT PromotedLdStVT, argument 94 if (VT != PromotedLdStVT) { 95 setOperationAction(ISD::LOAD, VT.getSimpleVT(), Promote); 96 AddPromotedToType (ISD::LOAD, VT.getSimpleVT(), 99 setOperationAction(ISD::STORE, VT.getSimpleVT(), Promote); 100 AddPromotedToType (ISD::STORE, VT.getSimpleVT(), 104 EVT ElemTy = VT.getVectorElementType(); 106 setOperationAction(ISD::SETCC, VT.getSimpleVT(), Custom); 107 setOperationAction(ISD::INSERT_VECTOR_ELT, VT.getSimpleVT(), Custom); 108 setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT 155 addDRTypeForNEON(EVT VT) argument 160 addQRTypeForNEON(EVT VT) argument 1055 EVT VT = N->getValueType(i); local 2859 EVT VT = Op.getValueType(); local 2880 EVT VT = Op.getValueType(); local 3115 EVT VT = Op.getValueType(); local 3134 EVT VT = Op.getValueType(); local 3155 EVT VT = Op.getValueType(); local 3188 EVT VT = Op.getValueType(); local 3214 EVT VT = Op.getValueType(); local 3296 EVT VT = Op.getValueType(); local 3316 EVT VT = Op.getValueType(); local 3373 getZeroVector(EVT VT, SelectionDAG &DAG, DebugLoc dl) argument 3387 EVT VT = Op.getValueType(); local 3423 EVT VT = Op.getValueType(); local 3472 EVT VT = N->getValueType(0); local 3484 EVT VT = N->getValueType(0); local 3519 EVT VT = N->getValueType(0); local 3564 EVT VT = Op.getValueType(); local 3689 isNEONModifiedImm(uint64_t SplatBits, uint64_t SplatUndef, unsigned SplatBitSize, SelectionDAG &DAG, EVT &VT, bool is128Bits, NEONModImmType type) argument 3874 isVEXTMask(ArrayRef<int> M, EVT VT, bool &ReverseVEXT, unsigned &Imm) argument 3913 isVREVMask(ArrayRef<int> M, EVT VT, unsigned BlockSize) argument 3939 isVTBLMask(ArrayRef<int> M, EVT VT) argument 3946 isVTRNMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 3964 isVTRN_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 3979 isVUZPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 4002 isVUZP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 4026 isVZIPMask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 4051 isVZIP_v_undef_Mask(ArrayRef<int> M, EVT VT, unsigned &WhichResult) argument 4099 EVT VT = Op.getValueType(); local 4225 EVT VT = Op.getValueType(); local 4440 EVT VT = OpLHS.getValueType(); local 4509 EVT VT = Op.getValueType(); local 4696 EVT VT = N->getValueType(0); local 4786 EVT VT = N->getValueType(0); local 4825 EVT VT = Op.getValueType(); local 4963 EVT VT = Op.getValueType(); local 4998 EVT VT = Op.getValueType(); local 5072 EVT VT = Op.getNode()->getValueType(0); local 6654 EVT VT = N->getValueType(0); local 6879 EVT VT = N->getValueType(0); local 7022 EVT VT = N->getValueType(0); local 7065 EVT VT = N->getValueType(0); local 7249 EVT VT = N->getValueType(0); local 7360 EVT VT = StVal.getValueType(); local 7518 EVT VT = N->getValueType(0); local 7541 EVT VT = N->getValueType(0); local 7588 EVT VT = N->getValueType(0); local 7752 EVT VT = N->getValueType(0); local 7852 EVT VT = N->getValueType(0); local 7980 isVShiftLImm(SDValue Op, EVT VT, bool isLong, int64_t &Cnt) argument 7994 isVShiftRImm(SDValue Op, EVT VT, bool isNarrow, bool isIntrinsic, int64_t &Cnt) argument 8035 EVT VT = N->getOperand(1).getValueType(); local 8140 EVT VT = N->getOperand(1).getValueType(); local 8173 EVT VT = N->getValueType(0); local 8229 EVT VT = N->getValueType(0); local 8519 isLegalT1AddressImmediate(int64_t V, EVT VT) argument 8546 isLegalT2AddressImmediate(int64_t V, EVT VT, const ARMSubtarget *Subtarget) argument 8579 isLegalAddressImmediate(int64_t V, EVT VT, const ARMSubtarget *Subtarget) argument 8653 EVT VT = getValueType(Ty, true); local 8732 getARMIndexedAddressParts(SDNode *Ptr, EVT VT, bool isSEXTLoad, SDValue &Base, SDValue &Offset, bool &isInc, SelectionDAG &DAG) argument 8791 getT2IndexedAddressParts(SDNode *Ptr, EVT VT, bool isSEXTLoad, SDValue &Base, SDValue &Offset, bool &isInc, SelectionDAG &DAG) argument [all...] |
H A D | ARMSelectionDAGInfo.cpp | 52 EVT VT = MVT::i32; local 66 Loads[i] = DAG.getLoad(VT, dl, Chain, 98 VT = MVT::i16; 101 VT = MVT::i8; 105 Loads[i] = DAG.getLoad(VT, dl, Chain, 121 VT = MVT::i16; 124 VT = MVT::i8;
|
H A D | ARMFastISel.cpp | 178 bool isTypeLegal(Type *Ty, MVT &VT); 179 bool isLoadTypeLegal(Type *Ty, MVT &VT); 182 bool ARMEmitLoad(EVT VT, unsigned &ResultReg, Address &Addr, 186 bool ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr, 189 void ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3); 193 unsigned ARMMaterializeFP(const ConstantFP *CFP, EVT VT); 194 unsigned ARMMaterializeInt(const Constant *C, EVT VT); 195 unsigned ARMMaterializeGV(const GlobalValue *GV, EVT VT); 196 unsigned ARMMoveToFPReg(EVT VT, unsigned SrcReg); 197 unsigned ARMMoveToIntReg(EVT VT, unsigne 486 ARMMoveToFPReg(EVT VT, unsigned SrcReg) argument 496 ARMMoveToIntReg(EVT VT, unsigned SrcReg) argument 509 ARMMaterializeFP(const ConstantFP *CFP, EVT VT) argument 553 ARMMaterializeInt(const Constant *C, EVT VT) argument 613 ARMMaterializeGV(const GlobalValue *GV, EVT VT) argument 700 EVT VT = TLI.getValueType(C->getType(), true); local 743 isTypeLegal(Type *Ty, MVT &VT) argument 755 isLoadTypeLegal(Type *Ty, MVT &VT) argument 879 ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3) argument 934 AddLoadStoreOperands(EVT VT, Address &Addr, const MachineInstrBuilder &MIB, unsigned Flags, bool useAM3) argument 983 ARMEmitLoad(EVT VT, unsigned &ResultReg, Address &Addr, unsigned Alignment, bool isZExt, bool allocReg) argument 1101 ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr, unsigned Alignment) argument 1623 MVT VT; local 1683 MVT VT; local 1711 MVT VT; local 1771 EVT VT = TLI.getValueType(I->getType(), true); local 2355 MVT VT; local 2597 MVT VT; local [all...] |
/external/llvm/lib/Target/CellSPU/ |
H A D | SPUISelLowering.cpp | 39 int prefslotOffset(EVT VT) { argument 41 if (VT==MVT::i1) retval=3; 42 if (VT==MVT::i8) retval=3; 43 if (VT==MVT::i16) retval=2; 133 MVT::SimpleValueType VT = (MVT::SimpleValueType)sctype; local 135 setOperationAction(ISD::LOAD, VT, Custom); 136 setOperationAction(ISD::STORE, VT, Custom); 137 setLoadExtAction(ISD::EXTLOAD, VT, Custom); 138 setLoadExtAction(ISD::ZEXTLOAD, VT, Custom); 139 setLoadExtAction(ISD::SEXTLOAD, VT, Custo 149 MVT::SimpleValueType VT = (MVT::SimpleValueType) sctype; local 369 MVT::SimpleValueType VT = (MVT::SimpleValueType)sctype; local 409 MVT::SimpleValueType VT = (MVT::SimpleValueType)i; local 770 EVT VT = Value.getValueType(); local 1094 EVT VT = Op.getValueType(); local 1652 EVT VT = Op.getValueType(); local 1960 EVT VT; local 1997 EVT VT = Op.getValueType(); local 2164 EVT VT = Op.getValueType(); local 2298 EVT VT = Op.getValueType(); local 2349 EVT VT = Op.getValueType(); local 2642 EVT VT = Op.getValueType(); local 2671 EVT VT = Op.getValueType(); local 2775 EVT VT = Op.getValueType(); local 3198 EVT VT = Op.getValueType(); local [all...] |