Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.h116 if (isVector()) in changeTypeToInteger()
151 bool isVector() const { in isVector() function
152 return isSimple() ? V.isVector() : isExtendedVector(); in isVector()
261 return isVector() ? getVectorElementType() : *this; in getScalarType()
266 assert(isVector() && "Invalid vector type!"); in getVectorElementType()
274 assert(isVector() && "Invalid vector type!"); in getVectorNumElements()
282 assert((isVector()) && "Invalid vector type!"); in getVectorElementCount()
318 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
329 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DLowLevelTypeTest.cpp45 ASSERT_FALSE(Ty.isVector()); in TEST()
81 ASSERT_TRUE(VTy.isVector()); in TEST()
120 ASSERT_FALSE(Ty.isVector()); in TEST()
123 ASSERT_TRUE(VTy.isVector()); in TEST()
151 ASSERT_FALSE(Ty.isVector()); in TEST()
DScalableVectorMVTsTest.cpp23 ASSERT_TRUE(VecTy.isVector()); in TEST()
35 ASSERT_TRUE(VecTy.isVector()); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DLowLevelTypeImpl.h68 assert(!ScalarTy.isVector() && "invalid vector element type"); in vector()
74 explicit LLT(bool isPointer, bool isVector, uint16_t NumElements, in LLT() argument
76 init(isPointer, isVector, NumElements, SizeInBits, AddressSpace); in LLT()
88 bool isVector() const { return isValid() && IsVector; } in isVector() function
133 assert(isVector() && "cannot get element type of scalar/aggregate"); in getElementType()
/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/deqp-deps/glslang/glslang/MachineIndependent/
DIntermediate.cpp290 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath()
329 child->isVector()), in addUnaryMath()
1259 } else if (type.isVector()) { in addShapeConversion()
1266 if (sourceType.isVector()) { in addShapeConversion()
1268 if (type.isVector()) in addShapeConversion()
1283 if ((node->getType().isScalarOrVec1() && type.isVector()) || in addShapeConversion()
1284 (node->getType().isVector() && type.isScalar()) || in addShapeConversion()
1285 (node->isVector() && type.isVector() && node->getVectorSize() > type.getVectorSize())) in addShapeConversion()
2531 … (binary->getLeft()->getType().isVector() || binary->getLeft()->getType().isScalar()) && in findLValueBase()
3224 if (left->isVector()) in promoteBinary()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DLowLevelType.cpp20 if (VT.isVector()) { in LLT()
38 if (isVector()) in print()
/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 …]
/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 ()()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp175 getMRI()->getType(Res).isVector()) && in validateBinaryOp()
354 getMRI()->getType(Res).isVector()); in buildExtOrTrunc()
567 assert(getMRI()->getType(Res).isVector() && in buildICmp()
585 getMRI()->getType(Op0).isVector()) && in buildFCmp()
592 assert(getMRI()->getType(Res).isVector() && in buildFCmp()
611 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in buildSelect()
619 (getMRI()->getType(Tst).isVector() && in buildSelect()
640 assert(ResTy.isVector() && ValTy.isVector() && "invalid operand type"); in buildInsertVectorElement()
660 assert(ValTy.isVector() && "invalid operand type"); in buildExtractVectorElement()
827 if (DstTy.isVector()) { in validateTruncExt()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DDAGISelEmitter.cpp88 if (LHSVT.isVector() != RHSVT.isVector()) in operator ()()
89 return RHSVT.isVector(); in operator ()()
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp88 if (LHSVT.isVector() != RHSVT.isVector()) in operator ()()
89 return RHSVT.isVector(); in operator ()()
/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 …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp171 HasVectors |= J->isVector(); in Run()
233 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
266 if (StVT.isVector() && ST->isTruncatingStore()) { in LegalizeOp()
289 HasVectorValue |= J->isVector(); in LegalizeOp()
482 if (Op.getOperand(j).getValueType().isVector()) in Promote()
487 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote()
497 (VT.isVector() && VT.getVectorElementType().isFloatingPoint() && in Promote()
498 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote()
518 if (Op.getOperand(j).getValueType().isVector()) in PromoteINT_TO_FP()
772 assert(VT.isVector() && !Mask.getValueType().isVector() in ExpandSELECT()
[all …]
DLegalizeVectorTypes.cpp172 if (Op.getValueType().isVector() in ScalarizeVecRes_BITCAST()
406 assert(N->getValueType(0).isVector() && in ScalarizeVecRes_SETCC()
407 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_SETCC()
564 assert(N->getValueType(0).isVector() && in ScalarizeVecOp_VSETCC()
565 N->getOperand(0).getValueType().isVector() && in ScalarizeVecOp_VSETCC()
1078 if (InVT.isVector()) { in SplitVecRes_StrictFPOp()
1362 assert(N->getValueType(0).isVector() && in SplitVecRes_SETCC()
1363 N->getOperand(0).getValueType().isVector() && in SplitVecRes_SETCC()
1698 assert(Mask.getValueType().isVector() && "VSELECT without a vector mask?"); in SplitVecOp_VSELECT()
1729 assert(VecVT.isVector() && "Can only split reduce vector operand"); in SplitVecOp_VECREDUCE()
[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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp410 bool IsFPR = Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping()
430 bool OpIsFPR = OpTy.isVector() || isPreISelGenericFloatingPointOpcode(Opc); in getSameKindOfOperandsMapping()
521 bool DstIsGPR = !DstTy.isVector() && DstTy.getSizeInBits() <= 64; in getInstrMapping()
522 bool SrcIsGPR = !SrcTy.isVector() && SrcTy.getSizeInBits() <= 64; in getInstrMapping()
552 if (Ty.isVector() || isPreISelGenericFloatingPointOpcode(Opc) || in getInstrMapping()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallingConv.cpp131 (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) { in CC_X86_64_VectorCall()
183 (ValVT.isVector() && ValVT.getSizeInBits() >= 128))) { in CC_X86_32_VectorCall()

12345678910