Home
last modified time | relevance | path

Searched refs:trueBlock (Results 1 – 19 of 19) sorted by relevance

/external/angle/third_party/glslang/src/glslang/MachineIndependent/
DIntermTraverse.cpp199 if (trueBlock) in traverse()
200 trueBlock->traverse(it); in traverse()
204 if (trueBlock) in traverse()
205 trueBlock->traverse(it); in traverse()
DIntermediate.cpp2450 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument
2454 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2455 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2466 auto children = addConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2467 trueBlock = std::get<0>(children); in addSelection()
2470 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2475 TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary, in addSelection()
2478 trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock); in addSelection()
2482 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2488 mix = growAggregate(mix, trueBlock); in addSelection()
[all …]
Dlocalintermediate.h431 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
/external/deqp-deps/glslang/glslang/MachineIndependent/
DIntermTraverse.cpp199 if (trueBlock) in traverse()
200 trueBlock->traverse(it); in traverse()
204 if (trueBlock) in traverse()
205 trueBlock->traverse(it); in traverse()
DIntermediate.cpp2475 TIntermTyped* TIntermediate::addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped… in addSelection() argument
2479 if (trueBlock->getBasicType() == EbtVoid && falseBlock->getBasicType() == EbtVoid) { in addSelection()
2480 TIntermNodePair pair = { trueBlock, falseBlock }; in addSelection()
2491 auto children = addConversion(EOpSequence, trueBlock, falseBlock); in addSelection()
2492 trueBlock = std::get<0>(children); in addSelection()
2495 if (trueBlock == nullptr || falseBlock == nullptr) in addSelection()
2500 TType targetVectorType(trueBlock->getType().getBasicType(), EvqTemporary, in addSelection()
2503 trueBlock = addUniShapeConversion(EOpMix, targetVectorType, trueBlock); in addSelection()
2507 if (falseBlock->getType() != trueBlock->getType()) in addSelection()
2513 mix = growAggregate(mix, trueBlock); in addSelection()
[all …]
Dlocalintermediate.h438 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
/external/swiftshader/src/OpenGL/compiler/
DIntermTraverse.cpp205 if (trueBlock) in traverse()
206 trueBlock->traverse(it); in traverse()
210 if (trueBlock) in traverse()
211 trueBlock->traverse(it); in traverse()
Dintermediate.h613 …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
Dlocalintermediate.h43 …TIntermTyped* addSelection(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, …
DOutputASM.cpp1745 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 …]
DIntermediate.cpp659 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()
DParseHelper.cpp3719 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()
DParseHelper.h240 …TIntermTyped *addTernarySelection(TIntermTyped *cond, TIntermTyped *trueBlock, TIntermTyped *false…
/external/angle/src/compiler/translator/tree_ops/
DUnfoldShortCircuitToIf.cpp151 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()
/external/skqp/src/sksl/
DSkSLJIT.cpp328 LLVMBasicBlockRef trueBlock = LLVMAppendBasicBlockInContext( in getLValue() local
339 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
340 fJIT.setBlock(builder, trueBlock); in getLValue()
350 LLVMBasicBlockRef incomingBlocks[2] = { trueBlock, falseBlock }; in getLValue()
356 LLVMBasicBlockRef trueBlock = LLVMAppendBasicBlockInContext( in getLValue() local
367 LLVMBuildCondBr(builder, fTest, trueBlock, falseBlock); in getLValue()
368 fJIT.setBlock(builder, trueBlock); in getLValue()
1000 LLVMBasicBlockRef trueBlock = LLVMAppendBasicBlockInContext(fContext, fCurrentFunction, in compileTernary() local
1006 LLVMBuildCondBr(builder, test, trueBlock, falseBlock); in compileTernary()
1007 this->setBlock(builder, trueBlock); in compileTernary()
[all …]
/external/angle/third_party/glslang/src/glslang/Include/
Dintermediate.h1651 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1655 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1660 virtual TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock()
1675 TIntermNode* trueBlock; variable
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1651 TIntermTyped(EbtVoid), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1655 TIntermTyped(type), condition(cond), trueBlock(trueB), falseBlock(falseB), in TIntermSelection()
1660 virtual TIntermNode* getTrueBlock() const { return trueBlock; } in getTrueBlock()
1675 TIntermNode* trueBlock; variable
/external/swiftshader/src/Shader/
DVertexProgram.cpp1349 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()
DPixelProgram.cpp1665 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()