/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypes.h | 82 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), VT); 83 return VT == NVT && isSimpleLegalType(VT); [all...] |
LegalizeDAG.cpp | 105 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, const SDLoc &dl, 215 EVT NVT, EVT VT, const SDLoc &dl, SDValue N1, SDValue N2, 218 unsigned NumDestElts = NVT.getVectorNumElements(); 224 return DAG.getVectorShuffle(NVT, dl, N1, N2, Mask); 237 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); 238 return DAG.getVectorShuffle(NVT, dl, N1, N2, NewMask); 486 MVT NVT = TLI.getTypeToPromoteTo(ISD::STORE, VT); 487 assert(NVT.getSizeInBits() == VT.getSizeInBits() && 489 Value = DAG.getNode(ISD::BITCAST, dl, NVT, Value); 511 EVT NVT = EVT::getIntegerVT(*DAG.getContext() [all...] |
LegalizeTypes.cpp | [all...] |
LegalizeTypesGeneric.cpp | 111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 114 while (!isTypeLegal(NVT)) { 121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 124 if (isTypeLegal(NVT)) { 125 SDValue CastInOp = DAG.getNode(ISD::BITCAST, dl, NVT, InOp); 262 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), ValueVT); 271 assert(NVT.isByteSized() && "Expanded type not byte sized!"); 273 Lo = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(), 278 unsigned IncrementSize = NVT.getSizeInBits() / 8; 281 Hi = DAG.getLoad(NVT, dl, Chain, Ptr [all...] |
LegalizeVectorOps.cpp | 405 MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT); 415 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) 416 Operands[j] = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Op.getOperand(j)); 418 Operands[j] = DAG.getNode(ISD::BITCAST, dl, NVT, Op.getOperand(j)); 423 Op = DAG.getNode(Op.getOpcode(), dl, NVT, Operands, Op.getNode()->getFlags()); 424 if ((VT.isFloatingPoint() && NVT.isFloatingPoint()) || 426 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) 447 EVT NVT = VT.widenIntegerVectorElementType(*DAG.getContext()) [all...] |
LegalizeFloatTypes.cpp | 185 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 186 unsigned Size = NVT.getSizeInBits(); 191 SDValue Mask = DAG.getConstant(API, SDLoc(N), NVT); 193 return DAG.getNode(ISD::AND, SDLoc(N), NVT, Op, Mask); 197 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 206 NVT, Ops, false, SDLoc(N)).first; 210 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 219 NVT, Ops, false, SDLoc(N)).first; 223 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 232 NVT, Ops, false, SDLoc(N)).first [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
LegalizeVectorOps.cpp | 249 EVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT); 255 Operands[j] = DAG.getNode(ISD::BITCAST, dl, NVT, Op.getOperand(j)); 260 Op = DAG.getNode(Op.getOpcode(), dl, NVT, &Operands[0], Operands.size());
|
LegalizeTypesGeneric.cpp | 100 EVT NVT = EVT::getVectorVT(*DAG.getContext(), NOutVT, 2); 102 if (isTypeLegal(NVT)) { 103 SDValue CastInOp = DAG.getNode(ISD::BITCAST, dl, NVT, InOp); 209 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), LD->getValueType(0)); 216 assert(NVT.isByteSized() && "Expanded type not byte sized!"); 218 Lo = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(), 222 unsigned IncrementSize = NVT.getSizeInBits() / 8; 225 Hi = DAG.getLoad(NVT, dl, Chain, Ptr, 246 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), OVT); 252 Lo = DAG.getVAArg(NVT, dl, Chain, Ptr, N->getOperand(2), Align) [all...] |
LegalizeTypes.cpp | [all...] |
LegalizeDAG.cpp | 106 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl, 165 SelectionDAGLegalize::ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl, 169 unsigned NumDestElts = NVT.getVectorNumElements(); 175 return DAG.getVectorShuffle(NVT, dl, N1, N2, &Mask[0]); 188 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); 189 return DAG.getVectorShuffle(NVT, dl, N1, N2, &NewMask[0]); [all...] |
LegalizeFloatTypes.cpp | 140 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 141 unsigned Size = NVT.getSizeInBits(); 146 SDValue Mask = DAG.getConstant(API, NVT); 148 return DAG.getNode(ISD::AND, N->getDebugLoc(), NVT, Op, Mask); 152 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 160 NVT, Ops, 2, false, N->getDebugLoc()); 164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 171 NVT, &Op, 1, false, N->getDebugLoc()); 217 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 224 NVT, &Op, 1, false, N->getDebugLoc()) [all...] |
TargetLowering.cpp | 844 for (unsigned nVT = i+1; nVT <= MVT::LAST_VECTOR_VALUETYPE; ++nVT) { 845 EVT SVT = (MVT::SimpleValueType)nVT; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypes.h | 82 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), VT); 83 return VT == NVT && isSimpleLegalType(VT); [all...] |
LegalizeDAG.cpp | 132 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, const SDLoc &dl, 246 EVT NVT, EVT VT, const SDLoc &dl, SDValue N1, SDValue N2, 249 unsigned NumDestElts = NVT.getVectorNumElements(); 255 return DAG.getVectorShuffle(NVT, dl, N1, N2, Mask); 268 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); 269 return DAG.getVectorShuffle(NVT, dl, N1, N2, NewMask); 512 MVT NVT = TLI.getTypeToPromoteTo(ISD::STORE, VT); 513 assert(NVT.getSizeInBits() == VT.getSizeInBits() && 515 Value = DAG.getNode(ISD::BITCAST, dl, NVT, Value); 536 EVT NVT = EVT::getIntegerVT(*DAG.getContext() [all...] |
LegalizeTypesGeneric.cpp | 111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 114 while (!isTypeLegal(NVT)) { 121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 124 if (isTypeLegal(NVT)) { 125 SDValue CastInOp = DAG.getNode(ISD::BITCAST, dl, NVT, InOp); 259 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), ValueVT); 265 assert(NVT.isByteSized() && "Expanded type not byte sized!"); 267 Lo = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(), Alignment, 271 unsigned IncrementSize = NVT.getSizeInBits() / 8; 274 Hi = DAG.getLoad(NVT, dl, Chain, Ptr [all...] |
LegalizeTypes.cpp | [all...] |
LegalizeVectorOps.cpp | 477 MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT); 487 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) 488 Operands[j] = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Op.getOperand(j)); 490 Operands[j] = DAG.getNode(ISD::BITCAST, dl, NVT, Op.getOperand(j)); 495 Op = DAG.getNode(Op.getOpcode(), dl, NVT, Operands, Op.getNode()->getFlags()); 496 if ((VT.isFloatingPoint() && NVT.isFloatingPoint()) || 498 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) 508 MVT NVT = TLI.getTypeToPromoteTo(Op.getOpcode(), VT) [all...] |
LegalizeFloatTypes.cpp | 188 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 189 unsigned Size = NVT.getSizeInBits(); 194 SDValue Mask = DAG.getConstant(API, SDLoc(N), NVT); 196 return DAG.getNode(ISD::AND, SDLoc(N), NVT, Op, Mask); 200 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 209 NVT, Ops, false, SDLoc(N)).first; 213 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 222 NVT, Ops, false, SDLoc(N)).first; 226 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 235 NVT, Ops, false, SDLoc(N)).first [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
SystemZISelDAGToDAG.cpp | 588 EVT NVT = Node->getValueType(0); 610 switch (NVT.getSimpleVT().SimpleTy) { 658 dl, NVT, 672 dl, NVT, 690 switch (NVT.getSimpleVT().SimpleTy) { 743 dl, NVT, 756 dl, NVT,
|
/external/llvm/lib/CodeGen/ |
TargetLoweringBase.cpp | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
TargetLoweringBase.cpp | 729 MVT NVT = TransformToType[SVT.SimpleTy]; 733 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger) && 742 return LegalizeKind(LA, NVT); 751 EVT NVT = VT.getRoundIntegerType(Context); 752 assert(NVT != VT && "Unable to round integer VT"); 753 LegalizeKind NextStep = getTypeConversion(Context, NVT); 758 return LegalizeKind(TypePromoteInteger, NVT); 781 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); 782 return LegalizeKind(TypeWidenVector, NVT); 813 MVT NVT = MVT::getVectorVT(EltVT.getSimpleVT(), NumElts) [all...] |
/external/llvm/include/llvm/Target/ |
TargetLowering.h | 781 MVT NVT = VT; 783 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); 784 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && 786 } while (!isTypeLegal(NVT) || 787 getOperationAction(Op, NVT) == Promote); 788 return NVT; [all...] |
/external/llvm/lib/Target/X86/ |
X86ISelDAGToDAG.cpp | [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
X86ISelDAGToDAG.cpp | 192 SDNode *SelectAtomicLoadAdd(SDNode *Node, EVT NVT); 193 SDNode *SelectAtomicLoadArith(SDNode *Node, EVT NVT); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
X86ISelDAGToDAG.cpp | [all...] |