Home
last modified time | relevance | path

Searched refs:getBasicType (Results 1 – 25 of 28) sorted by relevance

12

/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()
176 if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool) in addBinaryMath()
290 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath()
300 if (child->getType().getBasicType() == EbtStruct || child->getType().isArray()) in addUnaryMath()
414 switch (node->getBasicType()) { in addConversion()
459 if (type.getBasicType() != node->getType().getBasicType()) in addConversion()
481 switch (node->getBasicType()) { in addConversion()
490 switch (node->getBasicType()) { in addConversion()
499 switch (node->getBasicType()) { in addConversion()
[all …]
DOutputHLSL.cpp167 …if (mOutputType == SH_HLSL11_OUTPUT && IsSampler(type.getBasicType())) // Also declare the textu… in header()
1253 else if (node->getLeft()->getBasicType() == EbtStruct) in visitBinary()
1803 … if (mOutputType == SH_HLSL11_OUTPUT && IsSampler((*arg)->getAsTyped()->getBasicType())) in visitAggregate()
2228 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
2250 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
2272 if (constant->getBasicType() == EbtInt && constant->getNominalSize() == 1) in handleExcessiveLoop()
2446 if (mOutputType == SH_HLSL11_OUTPUT && IsSampler(type.getBasicType())) in argumentString()
2471 if (type.getBasicType() == EbtStruct) in typeString()
2508 switch (type.getBasicType()) in typeString()
2553 switch (type.getBasicType()) in textureString()
[all …]
DParseContext.cpp330 switch (node->getBasicType()) { in lValueErrorCheck()
399 if (node->getBasicType() == EbtInt && node->getNominalSize() == 1) in integerErrorCheck()
556 if (op != EOpConstructStruct && IsSampler(typed->getBasicType())) { in constructorErrorCheck()
560 if (typed->getBasicType() == EbtVoid) { in constructorErrorCheck()
588 … if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck()
647 type.getBasicType() != EbtStruct && IsSampler(type.getBasicType())) { in parameterSamplerErrorCheck()
657 if (IsSampler(type.getBasicType())) in containsSampler()
660 if (type.getBasicType() == EbtStruct) { in containsSampler()
679 if (constant == 0 || constant->getBasicType() != EbtInt) { in arraySizeErrorCheck()
1425 if (field.type()->getBasicType() != EbtStruct) { in structNestingErrorCheck()
[all …]
DVariableInfo.cpp21 switch (type.getBasicType()) { in getVariableDataType()
92 if (type.getBasicType() == EbtStruct) { in getVariableInfo()
112 ASSERT(type.getBasicType() != EbtStruct); in getBuiltInVariableInfo()
135 ASSERT(type.getBasicType() == EbtStruct); in getUserDefinedVariableInfo()
DValidateLimitations.cpp78 switch (symbol->getBasicType()) { in visitSymbol()
126 if (IsSampler(symbol->getBasicType()) && symbol->isArray()) { in visitBinary()
271 TBasicType type = symbol->getBasicType(); in validateForLoopInit()
495 if (!index->isScalar() || (index->getBasicType() != EbtInt)) { in validateIndexing()
DOutputGLSLBase.cpp82 if ((type.getBasicType() == EbtStruct) && !structDeclared(type.getStruct())) in writeVariableType()
123 if (type.getBasicType() == EbtStruct) in writeConstantUnion()
275 ASSERT(element->getBasicType() == EbtInt); in visitBinary()
589 ASSERT(type.getBasicType() == EbtStruct); in visitAggregate()
747 switch (type.getBasicType()) in getTypeName()
758 if (type.getBasicType() == EbtStruct) in getTypeName()
DForLoopUnroll.cpp31 TBasicType type = symbol->getBasicType(); in visitLoop()
57 ASSERT(symbol->getBasicType() == EbtInt); in FillLoopIndexInfo()
Dglslang.y281 … $$->setType(TType($1->getBasicType(), $1->getPrecision(), EvqConst, (int) (*$3.string).size()));
286 …$$->setType(TType($1->getBasicType(), $1->getPrecision(), EvqTemporary, (int) vectorString.size())…
305 … $$->setType(TType($1->getBasicType(), $1->getPrecision(),EvqTemporary, $1->getNominalSize()));
311 $$->setType(TType($1->getBasicType(), $1->getPrecision()));
313 } else if ($1->getBasicType() == EbtStruct) {
998 if ($2.param.type->getBasicType() != EbtVoid)
1008 if ($3.param.type->getBasicType() == EbtVoid) {
1845 if (context->currentFunctionType->getBasicType() != EbtVoid) {
1853 if (context->currentFunctionType->getBasicType() == EbtVoid) {
1924 if (function->getReturnType().getBasicType() != EbtVoid) {
[all …]
Dintermediate.h261 TBasicType getBasicType() const { return type.getBasicType(); } in getBasicType() function
549 bool usesTernaryOperator() const { return getBasicType() != EbtVoid; } in usesTernaryOperator()
DSymbolTable.cpp65 if (getBasicType() == EbtStruct) in getObjectSize()
DTypes.h108 TBasicType getBasicType() const { return type; } in getBasicType() function
Dglslang_tab.cpp2376 …mTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) -…
2381 …mTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) -…
2400 …mTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) -…
2406 …mTypedNode)->setType(TType((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType(), (yyvsp[(1) -…
2408 } else if ((yyvsp[(1) - (3)].interm.intermTypedNode)->getBasicType() == EbtStruct) {
3258 if ((yyvsp[(2) - (2)].interm).param.type->getBasicType() != EbtVoid)
3272 if ((yyvsp[(3) - (3)].interm).param.type->getBasicType() == EbtVoid) {
4452 if (context->currentFunctionType->getBasicType() != EbtVoid) {
4464 if (context->currentFunctionType->getBasicType() == EbtVoid) {
4548 if (function->getReturnType().getBasicType() != EbtVoid) {
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DTypedConstant.java36 public final int getBasicType() { in getBasicType() method in TypedConstant
37 return getType().getBasicType(); in getBasicType()
DZeroes.java39 switch (type.getBasicType()) { in zeroFor()
DCstType.java104 switch (primitiveType.getBasicType()) { in forBoxedPrimitiveType()
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DPhiTypeResolver.java74 && (definsn.getResult().getBasicType() == Type.BT_VOID)) { in run()
140 if (rs.getBasicType() != Type.BT_VOID) { in resolveResultType()
162 if (rs.getBasicType() == Type.BT_VOID){ in resolveResultType()
DSCCP.java271 switch (((TypedConstant) cA).getBasicType()) { in simulateBranch()
302 switch (((TypedConstant) cA).getBasicType()) { in simulateBranch()
520 resultConstant = simulateMath(insn, result.getBasicType()); in simulateStmt()
DEscapeAnalysis.java225 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
230 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
236 result.getTypeBearer().getBasicType() == Type.BT_OBJECT) { in processInsn()
420 if (putValue.getTypeBearer().getBasicType() != Type.BT_OBJECT) { in processUse()
DLiteralOpUpgrader.java154 if (type.isConstant() && type.getBasicType() == Type.BT_INT) { in tryReplacingWithConstant()
/external/chromium_org/third_party/angle/src/compiler/timing/
DRestrictVertexShaderTiming.cpp11 if (IsSampler(node->getBasicType())) { in visitSymbol()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DTypeBearer.java50 public int getBasicType(); in getBasicType() method
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopToDop.java502 switch (resultReg.getBasicType()) { in dopFor()
525 int basicType = ref.getBasicType(); in dopFor()
538 int basicType = ref.getBasicType(); in dopFor()
551 int basicType = ref.getBasicType(); in dopFor()
564 int basicType = ref.getBasicType(); in dopFor()
/external/chromium_org/third_party/angle/src/compiler/depgraph/
DDependencyGraph.cpp60 if (IsSampler(intermSymbol->getBasicType())) in getOrCreateSymbol()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRegisterSpec.java307 public final int getBasicType() { in getBasicType() method in RegisterSpec
308 return type.getBasicType(); in getBasicType()
DRops.java1682 switch (type.getBasicType()) { in opCmpl()
1699 switch (type.getBasicType()) { in opCmpg()
1784 switch (type.getBasicType()) { in opAget()
1807 switch (type.getBasicType()) { in opAput()
1833 switch (elementType.getBasicType()) { in opNewArray()
1892 switch (type.getBasicType()) { in opGetField()
1915 switch (type.getBasicType()) { in opPutField()
1938 switch (type.getBasicType()) { in opGetStatic()
1961 switch (type.getBasicType()) { in opPutStatic()

12