Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/angle/src/compiler/
DIntermediate.cpp161 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
168 … if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath()
290 …Bool || child->getType().isMatrix() || child->getType().isArray() || child->getType().isVector()) { in addUnaryMath()
988 if (left->isVector()) in promote()
995 if (right->isVector()) { in promote()
1004 if (left->isVector() && right->isVector()) { in promote()
1006 } else if (left->isVector() || right->isVector()) { in promote()
1017 if (left->isVector()) in promote()
1023 if (right->isVector()) { in promote()
1031 if (left->isVector() && right->isVector()) { in promote()
[all …]
DBuiltInFunctionEmulator.cpp348 if (param.isVector()) in IdentifyFunction()
359 if (param1.isVector() != param2.isVector() || in IdentifyFunction()
380 if (param1.isVector()) in IdentifyFunction()
DVariableInfo.cpp30 } else if (type.isVector()) { in getVariableDataType()
43 } else if (type.isVector()) { in getVariableDataType()
56 } else if (type.isVector()) { in getVariableDataType()
DParseContext.cpp588 … if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck()
1452 if (!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression()
1484 else if (baseExpression->isVector()) in addIndexExpression()
1518 …else if ((baseExpression->isVector() || baseExpression->isMatrix()) && baseExpression->getType().g… in addIndexExpression()
1566 else if (baseExpression->isVector()) in addIndexExpression()
/external/llvm/include/llvm/CodeGen/
DValueTypes.h185 bool isVector() const { in isVector() function
255 return isVector() ? getVectorElementType() : *this; in getScalarType()
636 bool isVector() const { in isVector() function
637 return isSimple() ? V.isVector() : isExtendedVector(); in isVector()
732 return isVector() ? getVectorElementType() : *this; in getScalarType()
738 assert(isVector() && "Invalid vector type!"); in getVectorElementType()
747 assert(isVector() && "Invalid vector type!"); in getVectorNumElements()
776 assert(isInteger() && !isVector() && "Invalid integer type!"); in getRoundIntegerType()
788 assert(isInteger() && !isVector() && "Invalid integer type!"); in getHalfSizedIntegerVT()
DSelectionDAG.h609 assert(LHS.getValueType().isVector() == RHS.getValueType().isVector() &&
611 assert(LHS.getValueType().isVector() == VT.isVector() &&
624 assert(VT.isVector() == LHS.getValueType().isVector() &&
626 return getNode(Cond.getValueType().isVector() ? ISD::VSELECT : ISD::SELECT, DL, VT,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp471 bool isVector = aType->isVectorTy(); in optimizeBitInsert() local
478 if (isVector) { in optimizeBitInsert()
488 if (isVector) { in optimizeBitInsert()
659 if (isVector) { name += "_v" + itostr(numEle) + "u32"; } else { name += "_u32"; } in optimizeBitInsert()
711 bool isVector = aType->isVectorTy(); in optimizeBitExtract() local
714 if (isVector) { in optimizeBitExtract()
723 if (isVector) { in optimizeBitExtract()
751 if (isVector) { in optimizeBitExtract()
819 if (isVector) { in optimizeBitExtract()
1007 bool isVector = aType->isVectorTy(); in expandSigned24BitOps() local
[all …]
DR600InstrInfo.h55 bool isVector(const MachineInstr &MI) const;
DR600ExpandSpecialInstrs.cpp64 bool IsVector = TII->isVector(MI); in runOnMachineFunction()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILPeepholeOptimizer.cpp471 bool isVector = aType->isVectorTy(); in optimizeBitInsert() local
478 if (isVector) { in optimizeBitInsert()
488 if (isVector) { in optimizeBitInsert()
659 if (isVector) { name += "_v" + itostr(numEle) + "u32"; } else { name += "_u32"; } in optimizeBitInsert()
711 bool isVector = aType->isVectorTy(); in optimizeBitExtract() local
714 if (isVector) { in optimizeBitExtract()
723 if (isVector) { in optimizeBitExtract()
751 if (isVector) { in optimizeBitExtract()
819 if (isVector) { in optimizeBitExtract()
1007 bool isVector = aType->isVectorTy(); in expandSigned24BitOps() local
[all …]
DR600ExpandSpecialInstrs.cpp64 bool IsVector = TII->isVector(MI); in runOnMachineFunction()
DR600InstrInfo.h55 bool isVector(const MachineInstr &MI) const;
/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.cpp299 assert(N->getValueType(0).isVector() == in ScalarizeVecRes_SETCC()
300 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_SETCC()
303 if (N->getValueType(0).isVector()) return ScalarizeVecRes_VSETCC(N); in ScalarizeVecRes_SETCC()
327 assert(N->getValueType(0).isVector() && in ScalarizeVecRes_VSETCC()
328 N->getOperand(0).getValueType().isVector() && in ScalarizeVecRes_VSETCC()
844 assert(N->getValueType(0).isVector() && in SplitVecRes_SETCC()
845 N->getOperand(0).getValueType().isVector() && in SplitVecRes_SETCC()
1110 assert(MaskVT.isVector() && "VSELECT without a vector mask?"); in SplitVecOp_VSELECT()
1369 assert(N->getValueType(0).isVector() && in SplitVecOp_VSETCC()
1370 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.cpp791 assert(!VT.isVector() && (VT.isInteger() || VT.isFloatingPoint()) && in VerifyNodeCommon()
804 assert(N->getValueType(0).isVector() && "Wrong return type!"); in VerifyNodeCommon()
936 assert(!VT.isVector() && in getZeroExtendInReg()
980 if (VT.isVector() && TLI->getTypeAction(*getContext(), EltVT) == in getConstant()
996 if (!VT.isVector()) in getConstant()
1006 if (VT.isVector()) { in getConstant()
1038 if (!VT.isVector()) in getConstantFP()
1048 if (VT.isVector()) { in getConstantFP()
1302 assert(VT.isVector() && N1.getValueType().isVector() && in getVectorShuffle()
1519 if (OpTy == ShTy || OpTy.isVector()) return Op; in getShiftAmountOperand()
[all …]
DDAGCombiner.cpp330 if (LHSTy.isVector()) in getShiftAmountTy()
814 if (VT.isVector() || !VT.isInteger()) in PromoteIntBinOp()
872 if (VT.isVector() || !VT.isInteger()) in PromoteIntShiftOp()
916 if (VT.isVector() || !VT.isInteger()) in PromoteExtend()
945 if (VT.isVector() || !VT.isInteger()) in PromoteLoad()
1391 if (VT.isVector()) { in visitADD()
1478 if (!VT.isVector() && SimplifyDemandedBits(SDValue(N, 0))) in visitADD()
1482 if (VT.isInteger() && !VT.isVector()) { in visitADD()
1618 if (!VT.isVector()) in tryFoldToZero()
1646 if (VT.isVector()) { in visitSUB()
[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()
528 !LHS.getValueType().isVector()) in PromoteIntRes_SETCC()
531 !RHS.getValueType().isVector()) in PromoteIntRes_SETCC()
547 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SHL()
571 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SRA()
579 Amt = Amt.getValueType().isVector() ? ZExtPromotedInteger(Amt) : Amt; in PromoteIntRes_SRL()
600 assert(InVT.isVector() && "Cannot split scalar types"); in PromoteIntRes_TRUNCATE()
[all …]
/external/clang/include/clang/AST/
DAPValue.h188 bool isVector() const { return Kind == Vector; } in isVector() function
260 assert(isVector() && "Invalid accessor"); in getVectorElt()
268 assert(isVector() && "Invalid accessor"); in getVectorLength()
357 assert(isVector() && "Invalid accessor"); in setVector()
/external/chromium_org/third_party/angle/src/third_party/compiler/
DArrayBoundsClamper.cpp55 if (left->isArray() || left->isVector() || left->isMatrix()) in visitBinary()
/external/llvm/lib/Target/R600/
DR600EmitClauseMarkers.cpp50 if(TII->isVector(*MI) || in OccupiedDwords()
68 if (TII->isVector(*MI) || TII->isCubeOp(MI->getOpcode())) in isALU()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp87 if (VT.isVector()) in ComputePTXValueVTs()
385 if (vtparts[i].isVector()) { in getPrototype()
557 if (vtparts[j].isVector()) { in LowerCall()
788 if (vtparts[j].isVector()) { in LowerCall()
1195 else if (ValVT.isVector()) in LowerSTORE()
1208 if (ValVT.isVector()) { in LowerSTOREVector()
1810 if (TheValType.isVector()) in LowerReturn()
1814 if (TheValType.isVector()) in LowerReturn()
1834 if(TheValType.isVector()) in LowerReturn()
1862 if (VT.isVector()) { in isTypeSupportedInIntrinsic()
[all …]
DNVPTXISelLowering.h106 if (VT.isVector()) in getSetCCResultType()

1234