Home
last modified time | relevance | path

Searched refs:isVector (Results 1 – 25 of 127) sorted by relevance

123456

/external/llvm/include/llvm/CodeGen/
DValueTypes.h96 if (isVector()) in changeTypeToInteger()
133 bool isVector() const { in isVector() function
134 return isSimple() ? V.isVector() : isExtendedVector(); in isVector()
234 return isVector() ? getVectorElementType() : *this; in getScalarType()
240 assert(isVector() && "Invalid vector type!"); in getVectorElementType()
249 assert(isVector() && "Invalid vector type!"); in getVectorNumElements()
282 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
294 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
DSelectionDAG.h815 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
817 assert(LHS.getValueType().isVector() == VT.isVector() &&
830 assert(VT.isVector() == LHS.getValueType().isVector() &&
832 return getNode(Cond.getValueType().isVector() ? ISD::VSELECT : ISD::SELECT, DL, VT,
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DValueTypes.h158 bool isVector() const { in isVector() function
183 return isVector() ? getVectorElementType() : *this; in getScalarType()
479 bool isVector() const { in isVector() function
480 return isSimple() ? V.isVector() : isExtendedVector(); in isVector()
570 return isVector() ? getVectorElementType() : *this; in getScalarType()
576 assert(isVector() && "Invalid vector type!"); in getVectorElementType()
585 assert(isVector() && "Invalid vector type!"); in getVectorNumElements()
614 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
626 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp343 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
350 if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath()
490 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath()
1018 if (left->isVector()) in promote()
1030 if (right->isVector()) { in promote()
1042 if (left->isVector() && right->isVector()) { in promote()
1044 } else if (left->isVector() || right->isVector()) { in promote()
1061 if (left->isVector()) in promote()
1067 if (right->isVector()) { in promote()
1077 if (left->isVector() && right->isVector()) { in promote()
[all …]
DTypes.h446 bool isVector() const { return primarySize > 1 && !isMatrix(); } in isVector() function
645 bool isVector() const in isVector() function
669 return array || isMatrix() || isVector(); in isAggregate()
DParseHelper.cpp611 if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck()
2473 if(!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression()
2508 else if(baseExpression->isVector()) in addIndexExpression()
2538 else if((baseExpression->isVector() || baseExpression->isMatrix()) && in addIndexExpression()
2615 else if(baseExpression->isVector()) in addIndexExpression()
2639 if(baseExpression->isVector()) in addFieldSelectionExpression()
3069 child->isVector()) in createUnaryMath()
3246 if((left->isMatrix() && right->isVector()) || (left->isVector() && right->isMatrix())) in binaryOpCommonCheck()
3280 init->isVector()) in addSwitch()
3323 condition->isVector()) in addCase()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelEmitter.cpp75 if (MVT(V1).isVector() != MVT(V2).isVector()) in operator ()()
76 return MVT(V2).isVector(); in operator ()()
DDAGISelMatcher.cpp347 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
350 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp88 if (LHSVT.isVector() != RHSVT.isVector()) in operator ()()
89 return RHSVT.isVector(); in operator ()()
DDAGISelMatcher.cpp317 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
320 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/external/clang/utils/ABITest/
DTypeGen.py117 def __init__(self, index, isVector, elementType, size): argument
118 if isVector:
124 self.isVector = isVector
127 if isVector:
135 if self.isVector:
144 if self.isVector:
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp246 assert(N->getValueType(0).isVector() == in ScalarizeVecRes_SETCC()
247 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_SETCC()
250 if (N->getValueType(0).isVector()) return ScalarizeVecRes_VSETCC(N); in ScalarizeVecRes_SETCC()
274 assert(N->getValueType(0).isVector() && in ScalarizeVecRes_VSETCC()
275 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_VSETCC()
742 assert(N->getValueType(0).isVector() && in SplitVecRes_SETCC()
743 N->getOperand(0).getValueType().isVector() && in SplitVecRes_SETCC()
1170 assert(N->getValueType(0).isVector() && in SplitVecOp_VSETCC()
1171 N->getOperand(0).getValueType().isVector() && in SplitVecOp_VSETCC()
1406 int NextSize = VT.isVector() ? VT.getVectorNumElements() : 1; in WidenVecRes_Binary()
[all …]
DSelectionDAG.cpp757 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
770 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifyNodeCommon()
903 assert(!VT.isVector() && in getZeroExtendInReg()
945 if (VT.isVector() && TLI.getTypeAction(*getContext(), EltVT) == in getConstant()
961 if (!VT.isVector()) in getConstant()
971 if (VT.isVector()) { in getConstant()
1003 if (!VT.isVector()) in getConstantFP()
1013 if (VT.isVector()) { in getConstantFP()
1247 assert(VT.isVector() && N1.getValueType().isVector() && in getVectorShuffle()
1447 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand()
[all …]
DDAGCombiner.cpp762 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
820 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
864 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
893 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1323 if (VT.isVector()) { in visitADD()
1404 if (!VT.isVector() && SimplifyDemandedBits(SDValue(N, 0))) in visitADD()
1408 if (VT.isInteger() && !VT.isVector()) { in visitADD()
1547 if (!VT.isVector()) { in tryFoldToZero()
1570 if (VT.isVector()) { in visitSUB()
1656 if (VT.isVector()) { in visitMUL()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp144 HasVectors |= J->isVector(); in Run()
205 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) in LegalizeOp()
234 if (StVT.isVector() && ST->isTruncatingStore()) in LegalizeOp()
254 HasVectorValue |= J->isVector(); in LegalizeOp()
410 if (Op.getOperand(j).getValueType().isVector()) in Promote()
415 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
425 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
426 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
455 if (Op.getOperand(j).getValueType().isVector()) in PromoteINT_TO_FP()
720 assert(VT.isVector() && !Mask.getValueType().isVector() in ExpandSELECT()
DSelectionDAG.cpp681 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifySDNode()
694 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifySDNode()
1029 assert(!VT.isVector() && in getZeroExtendInReg()
1042 assert(VT.isVector() && "This DAG node is restricted to vector types."); in getAnyExtendVectorInReg()
1053 assert(VT.isVector() && "This DAG node is restricted to vector types."); in getSignExtendVectorInReg()
1064 assert(VT.isVector() && "This DAG node is restricted to vector types."); in getZeroExtendVectorInReg()
1123 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
1135 else if (NewNodesMustHaveLegalTypes && VT.isVector() && in getConstant()
1187 if (!VT.isVector()) in getConstant()
1197 if (VT.isVector()) in getConstant()
[all …]
DLegalizeVectorTypes.cpp352 assert(N->getValueType(0).isVector() == in ScalarizeVecRes_SETCC()
353 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_SETCC()
356 if (N->getValueType(0).isVector()) return ScalarizeVecRes_VSETCC(N); in ScalarizeVecRes_SETCC()
380 assert(N->getValueType(0).isVector() && in ScalarizeVecRes_VSETCC()
381 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_VSETCC()
1215 assert(N->getValueType(0).isVector() && in SplitVecRes_SETCC()
1216 N->getOperand(0).getValueType().isVector() && in SplitVecRes_SETCC()
1536 assert(Mask.getValueType().isVector() && "VSELECT without a vector mask?"); in SplitVecOp_VSELECT()
1991 assert(N->getValueType(0).isVector() && in SplitVecOp_VSETCC()
1992 N->getOperand(0).getValueType().isVector() && in SplitVecOp_VSETCC()
[all …]
DDAGCombiner.cpp494 if (LHSTy.isVector()) in getShiftAmountTy()
1032 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
1090 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
1134 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
1166 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1639 if (VT.isVector()) { in visitADD()
1722 if (!VT.isVector() && SimplifyDemandedBits(SDValue(N, 0))) in visitADD()
1727 VT.isInteger() && !VT.isVector() && DAG.haveNoCommonBitsSet(N0, N1)) in visitADD()
1845 if (!VT.isVector()) in tryFoldToZero()
1858 if (VT.isVector()) { in visitSUB()
[all …]
/external/parameter-framework/upstream/parameter/
DElementHandle.cpp155 struct isVector : std::false_type struct
159 struct isVector<std::vector<T>> : std::true_type struct
226 if (not checkGetValidity(isVector<T>::value, error)) { in getAs()
/external/clang/include/clang/AST/
DAPValue.h187 bool isVector() const { return Kind == Vector; } in isVector() function
259 assert(isVector() && "Invalid accessor"); in getVectorElt()
267 assert(isVector() && "Invalid accessor"); in getVectorLength()
356 assert(isVector() && "Invalid accessor"); in setVector()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp74 bool isVector) override;
138 bool isVector) { in emitRegSave() argument
140 if (isVector) in emitRegSave()
370 bool isVector) override;
438 void emitRegSave(const SmallVectorImpl<unsigned> &RegList, bool isVector);
650 bool isVector) { in emitRegSave() argument
651 getStreamer().emitRegSave(RegList, isVector); in emitRegSave()
DARMTargetStreamer.cpp57 bool isVector) {} in emitRegSave() argument
/external/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp59 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode()) || in OccupiedDwords()
77 if (TII->isVector(MI) || TII->isCubeOp(MI.getOpcode())) in isALU()
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp95 const TargetRegisterClass *RC, bool isVector,
230 bool isVector, raw_ostream &O) { in printAsmRegInClass() argument
237 RegToPrint, isVector ? AArch64::vreg : AArch64::NoRegAltName); in printAsmRegInClass()
/external/llvm/lib/Target/SystemZ/
DSystemZCallingConv.h37 return ArgVT.isVector() && ArgVT.getStoreSize() <= 8; in IsShortVectorType()

123456