Lines Matching defs:condition
3878 // emit the condition before doing anything with selection
3880 spv::Id condition = accessChainLoad(node->getCondition()->getType());
3903 // smear condition to vector, if necessary (AST is always scalar)
3906 condition = builder.smearScalar(spv::NoPrecision, condition,
3922 result = builder.createTriOp(spv::OpSelect, resultType, condition, trueValue, falseValue);
3935 // make an "if" based on the value created by the condition
3936 spv::Builder::If ifBuilder(condition, control, builder);
3957 // Execute the one side needed, as per the condition
3968 // make an "if" based on the value created by the condition
3969 spv::Builder::If ifBuilder(condition, control, builder);
4019 // emit and get the condition before doing anything with switch
4107 spv::Id condition = accessChainLoad(node->getTest()->getType());
4108 builder.createConditionalBranch(condition, &blocks.body, &blocks.merge);
4137 spv::Id condition =
4139 builder.createConditionalBranch(condition, &blocks.head, &blocks.merge);