Home
last modified time | relevance | path

Searched refs:getOp (Results 1 – 25 of 160) sorted by relevance

1234567

/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java215 m_ops.setOp(m_ops.getOp(OpMap.MAPINDEX_LENGTH), OpCodes.ENDOP); in initMatchPattern()
216 m_ops.setOp(OpMap.MAPINDEX_LENGTH, m_ops.getOp(OpMap.MAPINDEX_LENGTH)+1); in initMatchPattern()
749 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in insertOp()
753 m_ops.setOp(i + length, m_ops.getOp(i)); in insertOp()
771 int totalLen = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in appendOp()
805 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in OrExpr()
816 m_ops.getOp(OpMap.MAPINDEX_LENGTH) - opPos); in OrExpr()
832 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in AndExpr()
843 m_ops.getOp(OpMap.MAPINDEX_LENGTH) - opPos); in AndExpr()
865 int opPos = m_ops.getOp(OpMap.MAPINDEX_LENGTH); in EqualityExpr()
[all …]
DCompiler.java117 int op = getOp(opPos); in compile()
191 … new Object[]{ Integer.toString(getOp(opPos)) }); //"ERROR! Unknown op code: "+m_opMap[opPos]); in compile()
508 return (XString) getTokenQueue().elementAt(getOp(opPos)); in literal()
525 return (XNumber) getTokenQueue().elementAt(getOp(opPos)); in numberlit()
544 int nsPos = getOp(opPos); in variable()
549 = (java.lang.String) getTokenQueue().elementAt(getOp(opPos+1)); in variable()
687 for (i = 0; getOp(nextOpPos) == OpCodes.OP_LOCATIONPATHPATTERN; i++) in matchPattern()
698 for (i = 0; getOp(opPos) == OpCodes.OP_LOCATIONPATHPATTERN; i++) in matchPattern()
745 int axesType = getOp(opPos); in getWhatToShow()
746 int testType = getOp(opPos + 3); in getWhatToShow()
[all …]
DOpMap.java174 public int getOp(int opPos) in getOp() method in OpMap
213 int stepType = getOp(opPos); in getNextStepPos()
225 while (OpCodes.OP_PREDICATE == getOp(newOpPos)) in getNextStepPos()
230 stepType = getOp(newOpPos); in getNextStepPos()
/external/angle/src/compiler/translator/tree_util/
DIntermNodePatternMatcher.cpp31 return node->getOp() == EOpIndexIndirect && !node->getLeft()->isArray() && in IsDynamicIndexingOfVectorOrMatrix()
45 if (node->isArray() && node->getOp() == EOpAssign && parentNode != nullptr && in matchInternal()
55 (node->getOp() == EOpLogicalOr || node->getOp() == EOpLogicalAnd)) in matchInternal()
67 if (node->getOp() == EOpArrayLength) in match()
111 (parentBinary->getOp() == EOpAssign || parentBinary->getOp() == EOpInitialize)); in match()
115 (BuiltInGroup::IsBuiltIn(node->getOp()) && in match()
116 !BuiltInGroup::IsMath(node->getOp()))) && in match()
DFindPreciseNodes.cpp99 TOperator op = binary->getOp(); in build()
163 TOperator op = binary->getOp(); in TraverseIndexNodesOnly()
375 if (!IsAssignment(node->getOp())) in visitUnary()
386 if (IsAssignment(node->getOp())) in visitBinary()
407 ASSERT(initNode->getOp() == EOpInitialize); in visitDeclaration()
509 if (IsArithmeticOp(node->getOp())) in visitUnary()
520 if (IsIndexOp(node->getOp())) in visitBinary()
540 if (node->getOp() == EOpComma) in visitBinary()
548 if (IsArithmeticOp(node->getOp())) in visitBinary()
553 if (IsAssignment(node->getOp()) || node->getOp() == EOpInitialize) in visitBinary()
[all …]
/external/angle/src/compiler/translator/tree_ops/hlsl/
DRewriteAtomicFunctionExpressions.cpp84 if (parentBinary && parentBinary->getOp() == EOpInitialize) in rewriteAtomicFunctionCallNode()
118 return (node->getOp() == EOpAtomicExchange || node->getOp() == EOpAtomicCompSwap) && in IsAtomicExchangeOrCompSwapNoReturnValue()
129 if (!BuiltInGroup::IsAtomicMemory(node->getOp()) || parentNode->getAsBlock()) in IsAtomicFunctionInsideExpression()
136 return !parentAsBinary || (parentAsBinary->getOp() != EOpAssign || in IsAtomicFunctionInsideExpression()
144 if (BuiltInGroup::IsAtomicMemory(node->getOp()) && in visitAggregate()
DRecordUniformBlocksWithLargeArrayMember.cpp194 !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitSymbol()
195 accessorAsBinary->getOp() == EOpIndexIndirect))) in visitSymbol()
234 if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitSymbol()
235 accessorAsBinary->getOp() == EOpIndexIndirect)) in visitSymbol()
252 switch (node->getOp()) in visitBinary()
306 !(accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitBinary()
307 accessorAsBinary->getOp() == EOpIndexIndirect))) && in visitBinary()
322 if (accessorAsBinary && (accessorAsBinary->getOp() == EOpIndexDirect || in visitBinary()
323 accessorAsBinary->getOp() == EOpIndexIndirect)) in visitBinary()
DRewriteExpressionsWithShaderStorageBlock.cpp185 if (IsCompoundAssignment(node->getOp())) in visitBinary()
196 new TIntermBinary(node->getOp(), tempSymbol->deepCopy(), rightNode->deepCopy()); in visitBinary()
208 new TIntermBinary(node->getOp(), node->getLeft(), rightNode->deepCopy()); in visitBinary()
220 else if (IsReadonlyBinaryOperatorNotInSSBOAccessChain(node->getOp()) && (leftSSBO || rightSSBO)) in visitBinary()
237 new TIntermBinary(node->getOp(), leftNode->deepCopy(), rightNode->deepCopy()); in visitBinary()
273 if (BuiltInGroup::IsAtomicMemory(node->getOp()) && in visitAggregate()
348 if (node->getOp() == EOpArrayLength) in visitUnary()
363 if (IsIncrementOrDecrementOperator(node->getOp())) in visitUnary()
368 TIntermUnary *newUnary = new TIntermUnary(node->getOp(), temp1->deepCopy(), nullptr); in visitUnary()
DArrayReturnValueToOutParameter.cpp143 ASSERT(!node->isArray() || node->getOp() != EOpCallInternalRawFunction); in visitAggregate()
144 if (visit == PreVisit && node->isArray() && node->getOp() == EOpCallFunctionInAST) in visitAggregate()
211 if (node->getOp() == EOpAssign && node->getLeft()->isArray()) in visitBinary()
214 ASSERT(rightAgg == nullptr || rightAgg->getOp() != EOpCallInternalRawFunction); in visitBinary()
215 if (rightAgg != nullptr && rightAgg->getOp() == EOpCallFunctionInAST) in visitBinary()
DSeparateExpressionsReturningArrays.cpp55 return new TIntermBinary(node->getOp(), node->getLeft(), node->getRight()); in CopyAssignmentNode()
67 ASSERT(node->getOp() == EOpAssign); in visitBinary()
95 ASSERT(node->isConstructor() || node->getOp() == EOpCallFunctionInAST); in visitAggregate()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DpropagateNoContraction.cpp301 if (node->getOp() == glslang::EOpFunction) { in visitAggregate()
336 if (isAssignOperation(node->getOp())) { in visitUnary()
368 if (isAssignOperation(node->getOp())) { in visitBinary()
392 } else if (isDereferenceOperation(node->getOp())) { in visitBinary()
396 if (node->getOp() == glslang::EOpIndexDirectStruct) { in visitBinary()
490 assert(isAssignOperation(node->getOp())); in getPrecisenessAndRemainedAccessChain()
583 assert(isDereferenceOperation(node->getOp())); in visitBinary()
635 assert(isAssignOperation(BN->getOp())); in propagateNoContractionInOneExpression()
637 if (isArithmeticOperation(BN->getOp())) { in propagateNoContractionInOneExpression()
641 assert(isAssignOperation(UN->getOp())); in propagateNoContractionInOneExpression()
[all …]
DLiveTraverser.h76 if (candidate && candidate->getOp() == EOpFunction && candidate->getName() == name) { in pushFunction()
88 if (candidate && candidate->getOp() == EOpSequence && in pushGlobalReference()
110 if (node->getOp() == EOpFunctionCall) in visitAggregate()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DpropagateNoContraction.cpp301 if (node->getOp() == glslang::EOpFunction) { in visitAggregate()
336 if (isAssignOperation(node->getOp())) { in visitUnary()
368 if (isAssignOperation(node->getOp())) { in visitBinary()
392 } else if (isDereferenceOperation(node->getOp())) { in visitBinary()
396 if (node->getOp() == glslang::EOpIndexDirectStruct) { in visitBinary()
490 assert(isAssignOperation(node->getOp())); in getPrecisenessAndRemainedAccessChain()
583 assert(isDereferenceOperation(node->getOp())); in visitBinary()
635 assert(isAssignOperation(BN->getOp())); in propagateNoContractionInOneExpression()
637 if (isArithmeticOperation(BN->getOp())) { in propagateNoContractionInOneExpression()
641 assert(isAssignOperation(UN->getOp())); in propagateNoContractionInOneExpression()
[all …]
DLiveTraverser.h76 if (candidate && candidate->getOp() == EOpFunction && candidate->getName() == name) { in pushFunction()
88 if (candidate && candidate->getOp() == EOpSequence && in pushGlobalReference()
110 if (node->getOp() == EOpFunctionCall) in visitAggregate()
/external/angle/src/compiler/translator/tree_ops/msl/
DRewriteInterpolants.cpp74 if (!BuiltInGroup::IsInterpolationFS(node->getOp())) in visitAggregate()
89 (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect)) in visitAggregate()
107 if (node->getOp() == EOpInterpolateAtOffset) in visitAggregate()
163 if (BuiltInGroup::IsInterpolationFS(callNode->getOp()) && in visitSymbol()
181 if (binaryNode->getOp() == EOpIndexDirect || binaryNode->getOp() == EOpIndexIndirect) in visitSymbol()
DSeparateCompoundExpressions.cpp40 return IsIndex(binary->getOp()); in IsIndex()
72 if (!binary || binary->getOp() != op) in ViewBinaryChain()
96 ViewBinaryChain(node.getOp(), node, chain); in ViewBinaryChain()
114 const TOperator op = node.getOp(); in reassociateRight()
140 const TOperator op = node.getOp(); in visitBinaryPre()
388 pushBinding(node, *new TIntermUnary(node.getOp(), newExpr, node.getFunction())); in visitUnaryPost()
395 const TOperator op = node.getOp(); in visitBinaryPre()
416 const TOperator op = node.getOp(); in visitBinaryPost()
/external/angle/src/compiler/translator/
DValidateLimitations.cpp127 switch (node->getOp()) in visitBinary()
234 if ((declInit == nullptr) || (declInit->getOp() != EOpInitialize)) in validateForLoopInit()
294 switch (binOp->getOp()) in validateForLoopCond()
305 GetOperatorString(binOp->getOp())); in validateForLoopCond()
345 op = unOp->getOp(); in validateForLoopExpr()
351 op = binOp->getOp(); in validateForLoopExpr()
424 ASSERT((node->getOp() == EOpIndexDirect) || (node->getOp() == EOpIndexIndirect)); in validateIndexing()
DOutputTree.cpp119 switch (node->getOp()) in visitBinary()
272 if (node->getOp() == EOpIndexDirectStruct || node->getOp() == EOpIndexDirectInterfaceBlock) in visitBinary()
305 const TOperator op = node->getOp(); in visitUnary()
352 mOut << GetOperatorString(node->getOp()); in visitUnary()
405 const TOperator op = node->getOp(); in visitAggregate()
467 mOut << GetOperatorString(node->getOp()); in visitAggregate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp230 if (Op && Op->getOp() != dwarf::DW_OP_LLVM_fragment) in addMachineRegExpression()
268 return Op.getOp() == dwarf::DW_OP_stack_value; in addMachineRegExpression()
283 if (Op && (Op->getOp() == dwarf::DW_OP_plus_uconst)) { in addMachineRegExpression()
295 if (Op && Op->getOp() == dwarf::DW_OP_constu) { in addMachineRegExpression()
299 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression()
302 } else if (N && N->getOp() == dwarf::DW_OP_minus && in addMachineRegExpression()
321 assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value); in beginEntryValueExpression()
351 switch (Op->getOp()) { in isMemoryLocation()
367 if (SubRegisterSizeInBits && N && (N->getOp() != dwarf::DW_OP_LLVM_fragment)) in addExpression()
374 uint64_t OpNum = Op->getOp(); in addExpression()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DWalkerFactory.java66 int stepType = compiler.getOp(stepOpCodePos); in loadOneWalker()
106 while (OpCodes.ENDOP != (stepType = compiler.getOp(stepOpCodePos))) in loadWalkers()
305 int stepType = compiler.getOp(stepOpCodePos); in getAxisFromStep()
403 int endFunc = opPos + compiler.getOp(opPos + 1) - 1; in functionProximateOrContainsProximate()
405 int funcID = compiler.getOp(opPos); in functionProximateOrContainsProximate()
420 int argOp = compiler.getOp(innerExprOpPos); in functionProximateOrContainsProximate()
432 int op = compiler.getOp(opPos); in isProximateInnerExpr()
495 while (OpCodes.OP_PREDICATE == compiler.getOp(predPos)) in mightBeProximate()
500 int predOp = compiler.getOp(innerExprOpPos); in mightBeProximate()
569 while (OpCodes.ENDOP != (stepType = compiler.getOp(stepOpCodePos))) in isOptimizableForDescendantIterator()
[all …]
/external/angle/src/compiler/translator/tree_ops/spirv/
DRewriteR32fImages.cpp118 if (!BuiltInGroup::IsBuiltIn(node->getOp())) in RewriteBuiltinFunctionCall()
143 ASSERT(asBinary->getOp() == EOpIndexDirect || asBinary->getOp() == EOpIndexIndirect); in RewriteBuiltinFunctionCall()
165 switch (asBinary->getOp()) in RewriteBuiltinFunctionCall()
182 replacementExpression = new TIntermBinary(asBinary->getOp(), replacementExpression, index); in RewriteBuiltinFunctionCall()
/external/angle/src/compiler/translator/tree_ops/
DRewriteDfdy.cpp47 if (node->getOp() != EOpDFdx && node->getOp() != EOpDFdy) in visitAggregate()
52 const bool isDFdx = node->getOp() == EOpDFdx; in visitAggregate()
DRemoveAtomicCounterBuiltins.cpp46 if (node->getOp() == EOpMemoryBarrierAtomicCounter) in visitAggregate()
59 ASSERT(!(BuiltInGroup::IsBuiltIn(node->getOp()) && in visitAggregate()
/external/angle/src/compiler/translator/hlsl/
DASTMetadataHLSL.cpp105 if (node->getOp() == EOpCallFunctionInAST) in visitAggregate()
115 else if (BuiltInGroup::IsBuiltIn(node->getOp()) && !BuiltInGroup::IsMath(node->getOp())) in visitAggregate()
273 if (visit == PreVisit && node->getOp() == EOpCallFunctionInAST) in visitAggregate()
348 switch (node->getOp()) in visitAggregate()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp217 switch (I->getOp()) { in AddMachineRegExpression()
230 if (N != E && N->getOp() == dwarf::DW_OP_deref) { in AddMachineRegExpression()
233 TRI, MachineReg, I->getOp() == dwarf::DW_OP_plus ? Offset : -Offset); in AddMachineRegExpression()
261 switch (I->getOp()) { in AddExpression()

1234567