/third_party/glslang/glslang/MachineIndependent/ |
D | IntermTraverse.cpp | 206 if (trueBlock) in traverse() 207 trueBlock->traverse(it); in traverse() 211 if (trueBlock) in traverse() 212 trueBlock->traverse(it); in traverse()
|
D | Intermediate.cpp | 2452 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument 2456 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection() 2457 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection() 2468 auto children = addPairConversion(EOpSequence, trueBlock, falseBlock); in addSelection() 2469 trueBlock = std::get<0>(children); in addSelection() 2472 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection() 2477 TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary, in addSelection() 2480 trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock); in addSelection() 2484 if (falseBlock->getType() != trueBlock->getType()) in addSelection() 2490 mix = growAggregate(mix, trueBlock); in addSelection() [all …]
|
D | localintermediate.h | 539 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | IntermTraverse.cpp | 205 if (trueBlock) in traverse() 206 trueBlock->traverse(it); in traverse() 210 if (trueBlock) in traverse() 211 trueBlock->traverse(it); in traverse()
|
D | intermediate.h | 613 …TIntermTyped(TType(EbtVoid, EbpUndefined)), condition(cond), trueBlock(trueB), falseBlock(falseB) … in TIntermSelection() 615 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB) in TIntermSelection() 624 TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock() 630 TIntermNode* trueBlock; variable
|
D | localintermediate.h | 43 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
|
D | OutputASM.cpp | 1745 TIntermNode *trueBlock = node->getTrueBlock(); in visitSelection() local 1759 trueBlock->traverse(this); in visitSelection() 1760 copy(node, trueBlock); in visitSelection() 1770 trueBlock->traverse(this); in visitSelection() 1772 emit(sw::Shader::OPCODE_SELECT, node, condition, trueBlock, falseBlock); in visitSelection() 1778 if(trueBlock) in visitSelection() 1780 trueBlock->traverse(this); in visitSelection() 1781 copy(node, trueBlock); in visitSelection() 1802 if(trueBlock) in visitSelection() 1804 trueBlock->traverse(this); in visitSelection() [all …]
|
D | Intermediate.cpp | 659 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument 661 if (trueBlock->getType() != falseBlock->getType()) in addSelection() 670 …if (cond->getAsConstantUnion() && trueBlock->getAsConstantUnion() && falseBlock->getAsConstantUnio… in addSelection() 672 return trueBlock; in addSelection() 680 TIntermSelection* node = new TIntermSelection(cond, trueBlock, falseBlock, trueBlock->getType()); in addSelection()
|
D | ParseHelper.cpp | 3719 TIntermTyped *TParseContext::addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TInte… in addTernarySelection() argument 3724 if(trueBlock->getType() != falseBlock->getType()) in addTernarySelection() 3726 binaryOpError(loc, ":", trueBlock->getCompleteString(), falseBlock->getCompleteString()); in addTernarySelection() 3733 if(trueBlock->isArray() || trueBlock->getBasicType() == EbtStruct) in addTernarySelection() 3739 return intermediate.addSelection(cond, trueBlock, falseBlock, loc); in addTernarySelection()
|
D | ParseHelper.h | 240 …TIntermTyped *addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *false…
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | RewriteSampleMaskVariable.cpp | 153 TIntermBlock *trueBlock = new TIntermBlock(); in RewriteSampleMask() local 160 trueBlock->appendStatement(assignment); in RewriteSampleMask() 162 TIntermIfElse *multiSampleOrNot = new TIntermIfElse(equalTo, trueBlock, nullptr); in RewriteSampleMask()
|
D | ReplaceClipCullDistanceVariable.cpp | 230 TIntermBlock *trueBlock = new TIntermBlock(); in assignFuncWithEnableFlags() local 231 trueBlock->appendStatement(assignment); in assignFuncWithEnableFlags() 238 return new TIntermIfElse(nonZero, trueBlock, falseBlock); in assignFuncWithEnableFlags()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/ |
D | UnfoldShortCircuitToIf.cpp | 151 TIntermBlock *trueBlock = new TIntermBlock(); in visitTernary() local 154 trueBlock->getSequence()->push_back(trueAssignment); in visitTernary() 162 new TIntermIfElse(node->getCondition()->getAsTyped(), trueBlock, falseBlock); in visitTernary()
|
/third_party/glslang/glslang/Include/ |
D | intermediate.h | 1730 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection() 1734 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection() 1740 virtual TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock() 1741 virtual void setTrueBlock(TIntermTyped* tb) { trueBlock = tb; } in setTrueBlock() 1757 TIntermNode* trueBlock; variable
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | BuildSPIRV.h | 365 spirv::IdRef trueBlock,
|
D | BuildSPIRV.cpp | 1788 spirv::IdRef trueBlock, in writeBranchConditional() argument 1799 spirv::WriteBranchConditional(getSpirvCurrentFunctionBlock(), conditionValue, trueBlock, in writeBranchConditional()
|
D | OutputSPIRV.cpp | 1963 const spirv::IdRef trueBlock = node->getOp() == EOpLogicalAnd ? ifBlock : mergeBlock; in startShortCircuit() local 1968 mBuilder.writeBranchConditional(left, trueBlock, falseBlock, mergeBlock); in startShortCircuit() 5250 spirv::IdRef trueBlock = mergeBlock; in visitIfElse() local 5256 trueBlock = conditional->blockIds[nextBlockIndex++]; in visitIfElse() 5263 mBuilder.writeBranchConditional(conditionValue, trueBlock, falseBlock, mergeBlock); in visitIfElse()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | VertexProgram.cpp | 1349 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() local 1352 branch(condition, trueBlock, falseBlock); in IFb() 1398 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() local 1403 branch(notAllFalse, trueBlock, falseBlock); in IF()
|
D | PixelProgram.cpp | 1665 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IFb() local 1668 branch(condition, trueBlock, falseBlock); in IFb() 1714 BasicBlock *trueBlock = Nucleus::createBasicBlock(); in IF() local 1719 branch(notAllFalse, trueBlock, falseBlock); in IF()
|