Home
last modified time | relevance | path

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

123

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DIntermediate.cpp158 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
165 … if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath()
293 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath()
943 if (left->isVector()) in promote()
950 if (right->isVector()) { in promote()
959 if (left->isVector() && right->isVector()) { in promote()
961 } else if (left->isVector() || right->isVector()) { in promote()
972 if (left->isVector()) in promote()
978 if (right->isVector()) { in promote()
986 if (left->isVector() && right->isVector()) { in promote()
[all …]
DVariableInfo.cpp28 } else if (type.isVector()) { in getVariableDataType()
41 } else if (type.isVector()) { in getVariableDataType()
54 } else if (type.isVector()) { in getVariableDataType()
Dintermediate.h254 bool isVector() const { return type.isVector(); } in isVector() function
DSymbolTable.cpp27 else if (isVector()) in buildMangledName()
Dglslang.y224 if (!$1->isArray() && !$1->isMatrix() && !$1->isVector()) {
234 } else if ($1->isVector()) { // constant folding for vectors
244 …if (($1->isVector() || $1->isMatrix()) && $1->getType().getNominalSize() <= $3->getAsConstantUnion…
289 else if ($1->isVector() && $1->getType().getQualifier() == EvqConst)
291 else if ($1->isVector())
305 if ($1->isVector()) {
/external/llvm/include/llvm/CodeGen/
DValueTypes.h185 bool isVector() const { in isVector() function
255 return isVector() ? getVectorElementType() : *this; in getScalarType()
634 bool isVector() const { in isVector() function
635 return isSimple() ? V.isVector() : isExtendedVector(); in isVector()
730 return isVector() ? getVectorElementType() : *this; in getScalarType()
736 assert(isVector() && "Invalid vector type!"); in getVectorElementType()
745 assert(isVector() && "Invalid vector type!"); in getVectorNumElements()
774 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
786 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
DSelectionDAG.h613 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
615 assert(LHS.getValueType().isVector() == VT.isVector() &&
/external/llvm/lib/Target/R600/
DAMDILPeepholeOptimizer.cpp466 bool isVector = aType->isVectorTy(); in optimizeBitInsert() local
473 if (isVector) { in optimizeBitInsert()
483 if (isVector) { in optimizeBitInsert()
613 if (isVector) { name += "_v" + itostr(numEle) + "u32"; } else { name += "_u32"; } in optimizeBitInsert()
664 bool isVector = aType->isVectorTy(); in optimizeBitExtract() local
667 if (isVector) { in optimizeBitExtract()
676 if (isVector) { in optimizeBitExtract()
704 if (isVector) { in optimizeBitExtract()
772 if (isVector) { in optimizeBitExtract()
954 bool isVector = aType->isVectorTy(); in expandSigned24BitOps() local
[all …]
DR600InstrInfo.h61 bool isVector(const MachineInstr &MI) const;
DR600ExpandSpecialInstrs.cpp188 bool IsVector = TII->isVector(MI); in runOnMachineFunction()
DR600ISelLowering.cpp751 if (ValueVT.isVector()) { in LowerSTORE()
860 if (!VT.isVector()) { in LowerLOAD()
884 if (VT.isVector()) { in LowerLOAD()
970 if (!VT.isVector()) return MVT::i32; in getSetCCResultType()
/external/llvm/utils/TableGen/
DDAGISelEmitter.cpp87 if (MVT(V1).isVector() != MVT(V2).isVector()) in operator ()()
88 return MVT(V2).isVector(); in operator ()()
DDAGISelMatcher.cpp353 return !MVT(T2).isInteger() || MVT(T2).isVector(); in TypesAreContradictory()
356 return !MVT(T1).isInteger() || MVT(T1).isVector(); in TypesAreContradictory()
/external/clang/utils/ABITest/
DTypeGen.py113 def __init__(self, index, isVector, elementType, size): argument
114 if isVector:
120 self.isVector = isVector
123 if isVector:
131 if self.isVector:
140 if self.isVector:
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp298 assert(N->getValueType(0).isVector() == in ScalarizeVecRes_SETCC()
299 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_SETCC()
302 if (N->getValueType(0).isVector()) return ScalarizeVecRes_VSETCC(N); in ScalarizeVecRes_SETCC()
326 assert(N->getValueType(0).isVector() && in ScalarizeVecRes_VSETCC()
327 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_VSETCC()
841 assert(N->getValueType(0).isVector() && in SplitVecRes_SETCC()
842 N->getOperand(0).getValueType().isVector() && in SplitVecRes_SETCC()
1099 assert(MaskVT.isVector() && "VSELECT without a vector mask?"); in SplitVecOp_VSELECT()
1297 assert(N->getValueType(0).isVector() && in SplitVecOp_VSETCC()
1298 N->getOperand(0).getValueType().isVector() && in SplitVecOp_VSETCC()
[all …]
DLegalizeVectorOps.cpp96 HasVectors |= J->isVector(); in Run()
157 if (LD->getMemoryVT().isVector() && ExtType != ISD::NON_EXTLOAD) { in LegalizeOp()
167 if (StVT.isVector() && ST->isTruncatingStore()) in LegalizeOp()
185 HasVectorValue |= J->isVector(); in LegalizeOp()
327 if (Op.getOperand(j).getValueType().isVector()) in PromoteVectorOp()
366 if (Op.getOperand(j).getValueType().isVector()) in PromoteVectorOpINT_TO_FP()
583 assert(VT.isVector() && !Mask.getValueType().isVector() in ExpandSELECT()
601 assert(MaskTy.isVector() && "Invalid CC type"); in ExpandSELECT()
DSelectionDAG.cpp795 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
808 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifyNodeCommon()
944 assert(!VT.isVector() && in getZeroExtendInReg()
986 if (VT.isVector() && TLI.getTypeAction(*getContext(), EltVT) == in getConstant()
1002 if (!VT.isVector()) in getConstant()
1012 if (VT.isVector()) { in getConstant()
1044 if (!VT.isVector()) in getConstantFP()
1054 if (VT.isVector()) { in getConstantFP()
1305 assert(VT.isVector() && N1.getValueType().isVector() && in getVectorShuffle()
1522 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand()
[all …]
DDAGCombiner.cpp805 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
863 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
907 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
936 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1382 if (VT.isVector()) { in visitADD()
1469 if (!VT.isVector() && SimplifyDemandedBits(SDValue(N, 0))) in visitADD()
1473 if (VT.isInteger() && !VT.isVector()) { in visitADD()
1608 if (!VT.isVector()) { in tryFoldToZero()
1631 if (VT.isVector()) { in visitSUB()
1767 if (VT.isVector()) { in visitMUL()
[all …]
DLegalizeIntegerTypes.cpp218 if (NOutVT.bitsEq(NInVT) && !NOutVT.isVector() && !NInVT.isVector()) in PromoteIntRes_BITCAST()
230 if (!NOutVT.isVector()) in PromoteIntRes_BITCAST()
255 if (NOutVT.bitsEq(NInVT) && !NOutVT.isVector()) in PromoteIntRes_BITCAST()
521 assert(SVT.isVector() == N->getOperand(0).getValueType().isVector() && in PromoteIntRes_SETCC()
536 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SHL()
560 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SRA()
568 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SRL()
589 assert(InVT.isVector() && "Cannot split scalar types"); in PromoteIntRes_TRUNCATE()
2876 assert(NOutVT.isVector() && "This type must be promoted to a vector type"); in PromoteIntRes_EXTRACT_SUBVECTOR()
2924 assert(NOutVT.isVector() && "This type must be promoted to a vector type"); in PromoteIntRes_BUILD_VECTOR()
[all …]
DLegalizeTypesGeneric.cpp94 if (InVT.isVector() && OutVT.isInteger()) { in ExpandRes_BITCAST()
314 if (N->getValueType(0).isVector()) { in ExpandOp_BITCAST()
492 if (Cond.getValueType().isVector()) { in SplitRes_SELECT()
DLegalizeDAG.cpp312 ST->getMemoryVT().isVector()) { in ExpandUnalignedStore()
389 !ST->getMemoryVT().isVector() && in ExpandUnalignedStore()
432 if (VT.isFloatingPoint() || VT.isVector()) { in ExpandUnalignedLoad()
512 assert(LoadedVT.isInteger() && !LoadedVT.isVector() && in ExpandUnalignedLoad()
770 assert(!StVT.isVector() && "Unsupported truncstore!"); in LegalizeStoreOps()
844 assert(!StVT.isVector() && in LegalizeStoreOps()
968 assert(!SrcVT.isVector() && "Unsupported extload!"); in LegalizeLoadOps()
1096 assert(!SrcVT.isVector() && in LegalizeLoadOps()
1280 if (!Node->getOperand(1).getValueType().isVector()) { in LegalizeOp()
1295 if (!Node->getOperand(2).getValueType().isVector()) { in LegalizeOp()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp292 if (vtparts[i].isVector()) { in getPrototype()
320 if (vtparts[i].isVector()) { in getPrototype()
387 if (vtparts[i].isVector()) { in getPrototype()
503 if (vtparts[j].isVector()) { in LowerCall()
536 if (vtparts[j].isVector()) { in LowerCall()
584 if (resvtparts[i].isVector()) { in LowerCall()
752 if (Ins[i].VT.isVector()) { in LowerCall()
772 if (Ins[i].VT.isVector()) in LowerCall()
870 else if (ValVT.isVector()) in LowerSTORE()
883 if (ValVT.isVector()) { in LowerSTOREVector()
[all …]
DNVPTXISelLowering.h104 if (VT.isVector()) in getSetCCResultType()
/external/clang/include/clang/AST/
DAPValue.h181 bool isVector() const { return Kind == Vector; } in isVector() function
253 assert(isVector() && "Invalid accessor"); in getVectorElt()
261 assert(isVector() && "Invalid accessor"); in getVectorLength()
350 assert(isVector() && "Invalid accessor"); in setVector()
/external/llvm/include/llvm/Target/
DTargetLowering.h312 assert(!VT.isVector()); in getTypeToExpandTo()
606 if (VT.isVector()) { in getRegisterType()
632 if (VT.isVector()) { in getNumRegisters()
1472 if (!VT.isVector()) { in getTypeConversion()

123