Home
last modified time | relevance | path

Searched refs:callNode (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DAddExplicitTypeCasts.cpp25 PostResult visitAggregatePost(TIntermAggregate &callNode) override in visitAggregatePost() argument
27 const size_t argCount = callNode.getChildCount(); in visitAggregatePost()
28 const TType &retType = callNode.getType(); in visitAggregatePost()
30 if (callNode.isConstructor()) in visitAggregatePost()
36 TIntermTyped &arg = GetArg(callNode, 0); in visitAggregatePost()
48 TIntermTyped &arg = GetArg(callNode, 0); in visitAggregatePost()
57 TIntermTyped &arg = GetArg(callNode, i); in visitAggregatePost()
58 SetArg(callNode, i, CoerceSimple(retType.getBasicType(), arg)); in visitAggregatePost()
65 TIntermTyped &arg = GetArg(callNode, 0); in visitAggregatePost()
81 return callNode; in visitAggregatePost()
DRewritePipelines.cpp621 PostResult visitAggregatePost(TIntermAggregate &callNode) override in visitAggregatePost() argument
623 if (callNode.isConstructor()) in visitAggregatePost()
625 return callNode; in visitAggregatePost()
629 const TFunction &oldCalledFunc = *callNode.getFunction(); in visitAggregatePost()
632 return callNode; in visitAggregatePost()
642 *callNode.getSequence(), in visitAggregatePost()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp1874 …emanticsCheck(const TSourceLoc& loc, const TFunction& fnCandidate, const TIntermOperator& callNode) in memorySemanticsCheck() argument
1876 const TIntermSequence* argp = &callNode.getAsAggregate()->getSequence(); in memorySemanticsCheck()
1900 switch (callNode.getOp()) { in memorySemanticsCheck()
1959 (callNode.getOp() == EOpAtomicStore || callNode.getOp() == EOpImageAtomicStore)) { in memorySemanticsCheck()
1964 (callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpImageAtomicLoad)) { in memorySemanticsCheck()
1969 (callNode.getOp() == EOpAtomicStore || callNode.getOp() == EOpImageAtomicStore || in memorySemanticsCheck()
1970 callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpImageAtomicLoad)) { in memorySemanticsCheck()
1989 if (callNode.getOp() == EOpMemoryBarrier) { in memorySemanticsCheck()
2008 if (callNode.getOp() == EOpMemoryBarrier) { in memorySemanticsCheck()
2013 if (callNode.getOp() == EOpBarrier && semantics != 0 && storageClassSemantics == 0) { in memorySemanticsCheck()
[all …]
DParseHelper.h363 void memorySemanticsCheck(const TSourceLoc&, const TFunction&, const TIntermOperator& callNode);
/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.cpp1702 …emanticsCheck(const TSourceLoc& loc, const TFunction& fnCandidate, const TIntermOperator& callNode) in memorySemanticsCheck() argument
1704 const TIntermSequence* argp = &callNode.getAsAggregate()->getSequence(); in memorySemanticsCheck()
1728 switch (callNode.getOp()) { in memorySemanticsCheck()
1786 (callNode.getOp() == EOpAtomicStore || callNode.getOp() == EOpImageAtomicStore)) { in memorySemanticsCheck()
1791 (callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpImageAtomicLoad)) { in memorySemanticsCheck()
1796 (callNode.getOp() == EOpAtomicStore || callNode.getOp() == EOpImageAtomicStore || in memorySemanticsCheck()
1797 callNode.getOp() == EOpAtomicLoad || callNode.getOp() == EOpImageAtomicLoad)) { in memorySemanticsCheck()
1816 if (callNode.getOp() == EOpMemoryBarrier) { in memorySemanticsCheck()
1835 if (callNode.getOp() == EOpMemoryBarrier) { in memorySemanticsCheck()
1840 if (callNode.getOp() == EOpBarrier && semantics != 0 && storageClassSemantics == 0) { in memorySemanticsCheck()
[all …]
DParseHelper.h341 void memorySemanticsCheck(const TSourceLoc&, const TFunction&, const TIntermOperator& callNode);
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.cpp3528 TIntermTyped *callNode = nullptr; in addFunctionCallOrMethod() local
3555callNode = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), lo… in addFunctionCallOrMethod()
3570 callNode = addConstructor(paramNode, &type, op, fnCall, loc); in addFunctionCallOrMethod()
3573 if(callNode == nullptr) in addFunctionCallOrMethod()
3576 callNode = intermediate.setAggregateOperator(nullptr, op, loc); in addFunctionCallOrMethod()
3609 callNode = createUnaryMath(op, operand->getAsTyped(), loc, &fnCandidate->getReturnType()); in addFunctionCallOrMethod()
3611 if(callNode == nullptr) in addFunctionCallOrMethod()
3630 callNode = aggregate; in addFunctionCallOrMethod()
3649 callNode = typedReturnNode; in addFunctionCallOrMethod()
3669 callNode = typedReturnNode; in addFunctionCallOrMethod()
[all …]
/external/angle/src/compiler/translator/
DParseContext.cpp6889 TIntermAggregate *callNode = in addNonConstructorFunctionCall() local
6891 callNode->setLine(loc); in addNonConstructorFunctionCall()
6892 checkImageMemoryAccessForUserDefinedFunctions(fnCandidate, callNode); in addNonConstructorFunctionCall()
6893 functionCallRValueLValueErrorCheck(fnCandidate, callNode); in addNonConstructorFunctionCall()
6894 return callNode; in addNonConstructorFunctionCall()
6924 TIntermTyped *callNode = in addNonConstructorFunctionCall() local
6926 ASSERT(callNode != nullptr); in addNonConstructorFunctionCall()
6927 return callNode; in addNonConstructorFunctionCall()
6930 TIntermAggregate *callNode = in addNonConstructorFunctionCall() local
6932 callNode->setLine(loc); in addNonConstructorFunctionCall()
[all …]
/external/skia/src/sksl/
DSkSLIRGenerator.cpp1736 std::unique_ptr<Expression> IRGenerator::convertCallExpression(const ASTNode& callNode) { in convertCallExpression() argument
1737 SkASSERT(callNode.fKind == ASTNode::Kind::kCall); in convertCallExpression()
1738 auto iter = callNode.begin(); in convertCallExpression()
1744 for (; iter != callNode.end(); ++iter) { in convertCallExpression()
1751 return this->call(callNode.fOffset, std::move(base), std::move(arguments)); in convertCallExpression()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp5955 …ext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCandidate, TIntermOperator& callNode) in builtInOpCheck() argument
5963 if (callNode.getAsAggregate()) { in builtInOpCheck()
5964 argp = &callNode.getAsAggregate()->getSequence(); in builtInOpCheck()
5968 assert(callNode.getAsUnaryNode()); in builtInOpCheck()
5969 unaryArg = callNode.getAsUnaryNode()->getOperand(); in builtInOpCheck()
5974 switch (callNode.getOp()) { in builtInOpCheck()
5985 switch (callNode.getOp()) { in builtInOpCheck()
6031 switch (callNode.getOp()) { in builtInOpCheck()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp5955 …ext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCandidate, TIntermOperator& callNode) in builtInOpCheck() argument
5963 if (callNode.getAsAggregate()) { in builtInOpCheck()
5964 argp = &callNode.getAsAggregate()->getSequence(); in builtInOpCheck()
5968 assert(callNode.getAsUnaryNode()); in builtInOpCheck()
5969 unaryArg = callNode.getAsUnaryNode()->getOperand(); in builtInOpCheck()
5974 switch (callNode.getOp()) { in builtInOpCheck()
5985 switch (callNode.getOp()) { in builtInOpCheck()
6031 switch (callNode.getOp()) { in builtInOpCheck()