/external/swiftshader/src/Pipeline/ |
D | SpirvShaderSpec.cpp | 78 auto sel = cond.constantValue[condIsScalar ? 0 : i]; in EvalSpecConstantOp() 79 result.constantValue[i] = sel ? left.constantValue[i] : right.constantValue[i]; in EvalSpecConstantOp() 92 result.constantValue[i] = compositeObject.constantValue[firstComponent + i]; in EvalSpecConstantOp() 107 result.constantValue[i] = oldObject.constantValue[i]; in EvalSpecConstantOp() 112 result.constantValue[firstNewComponent + i] = newPart.constantValue[i]; in EvalSpecConstantOp() 117 result.constantValue[i] = oldObject.constantValue[i]; in EvalSpecConstantOp() 134 result.constantValue[i] = 0; in EvalSpecConstantOp() 138 result.constantValue[i] = firstHalf.constantValue[selector]; in EvalSpecConstantOp() 142 …result.constantValue[i] = secondHalf.constantValue[selector - getType(firstHalf.type).sizeInCompon… in EvalSpecConstantOp() 166 auto &v = result.constantValue[i]; in EvalSpecConstantUnaryOp() [all …]
|
D | SpirvShader.hpp | 252 std::unique_ptr<uint32_t[]> constantValue = nullptr; member in sw::SpirvShader::Object 982 auto constantValue = reinterpret_cast<uint32_t *>(obj.constantValue.get()); in Float() local 983 return As<SIMD::Float>(SIMD::UInt(constantValue[i])); in Float() 993 auto constantValue = reinterpret_cast<int *>(obj.constantValue.get()); in Int() local 994 return SIMD::Int(constantValue[i]); in Int() 1004 auto constantValue = reinterpret_cast<uint32_t *>(obj.constantValue.get()); in UInt() local 1005 return SIMD::UInt(constantValue[i]); in UInt()
|
D | SpirvShader.cpp | 295 CreateConstant(insn).constantValue[0] = insn.word(3); 299 CreateConstant(insn).constantValue[0] = 0; // Represent Boolean false as zero. 303 CreateConstant(insn).constantValue[0] = ~0u; // Represent Boolean true as all bits set. 314 object.constantValue[i] = 0; 329 object.constantValue[offset++] = constituent.constantValue[j]; 347 modes.WorkgroupSizeX = object.constantValue[0]; 348 modes.WorkgroupSizeY = object.constantValue[1]; 349 modes.WorkgroupSizeZ = object.constantValue[2]; 806 object.constantValue = std::unique_ptr<uint32_t[]>(new uint32_t[objectTy.sizeInComponents]); in CreateConstant() 2209 …auto memorySemantics = static_cast<spv::MemorySemanticsMask>(getObject(semanticsId).constantValue[… in EmitAtomicOp() [all …]
|
D | SpirvShaderMemory.cpp | 51 …auto memorySemantics = static_cast<spv::MemorySemanticsMask>(getObject(semanticsId).constantValue[… in EmitLoad() 83 …auto memorySemantics = static_cast<spv::MemorySemanticsMask>(getObject(semanticsId).constantValue[… in EmitStore() 102 const uint32_t *src = object.constantValue.get(); in EmitStore()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | SyntheticAccessorFSM.java | 234 long constantValue = 0; in test() local 336 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); in test() 344 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); in test() 472 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); in test() 478 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); in test() 513 … private static int getIncrementType(int mathOp, int mathType, long constantValue, int putRegister, in getIncrementType() argument 522 if (constantValue == 1) { in getIncrementType() 524 } else if (constantValue == -1) { in getIncrementType() 532 float val = Float.intBitsToFloat((int)constantValue); in getIncrementType() 543 double val = Double.longBitsToDouble(constantValue); in getIncrementType()
|
/external/smali/dexlib2/src/main/ragel/ |
D | SyntheticAccessorFSM.rl | 85 long constantValue = 0; 108 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); 114 constantValue = ((WideLiteralInstruction)instructions.get(p)).getWideLiteral(); 181 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); 185 … accessorType = getIncrementType(mathOp, mathType, constantValue, putRegister, returnRegister); 210 … private static int getIncrementType(int mathOp, int mathType, long constantValue, int putRegister, 219 if (constantValue == 1) { 221 } else if (constantValue == -1) { 229 float val = Float.intBitsToFloat((int)constantValue); 240 double val = Double.longBitsToDouble(constantValue);
|
/external/antlr/tool/src/main/java/org/antlr/analysis/ |
D | SemanticContext.java | 113 protected int constantValue = INVALID_PRED_VALUE; field in SemanticContext.Predicate 115 public Predicate(int constantValue) { in Predicate() argument 117 this.constantValue=constantValue; in Predicate() 134 this.constantValue = p.constantValue; in Predicate() 149 if (this.constantValue != other.constantValue){ in equals() 153 if (this.constantValue != INVALID_PRED_VALUE){ in equals() 162 if (constantValue != INVALID_PRED_VALUE){ in hashCode() 163 return constantValue; in hashCode()
|
/external/doclava/src/com/google/doclava/ |
D | FieldInfo.java | 37 boolean isSynthetic, TypeInfo type, String rawCommentText, Object constantValue, in FieldInfo() argument 40 …gePrivate, isPrivate, isFinal, isStatic, isSynthetic, chooseKind(isFinal, isStatic, constantValue), in FieldInfo() 45 mConstantValue = constantValue; in FieldInfo() 58 static String chooseKind(boolean isFinal, boolean isStatic, Object constantValue) in chooseKind() argument 60 return isConstant(isFinal, isStatic, constantValue) ? "constant" : "field"; in chooseKind() 108 static boolean isConstant(boolean isFinal, boolean isStatic, Object constantValue) in isConstant() argument 118 return isFinal && isStatic && (constantValue != null); in isConstant() 133 public Object constantValue() { in constantValue() method in FieldInfo
|
D | AndroidAuxSource.java | 56 if (String.valueOf(field.constantValue()).equals(expected)) { in classAuxTags() 173 if (String.valueOf(field.constantValue()).equals(expected)) { in auxTags() 205 if (String.valueOf(field.constantValue()).equals(expected)) { in auxTags() 248 if (String.valueOf(field.constantValue()).equals(value)) { in auxTags() 317 candidates.put(String.valueOf(field.constantValue()), field); in auxTags() 322 candidates.put(String.valueOf(field.constantValue()), field); in auxTags()
|
D | InfoBuilder.java | 165 if (f.constantValue() != null) { in printClassInfo() 166 System.out.println(": " + f.constantValue()); in printClassInfo() 187 if (f.constantValue() != null) { in printClassInfo() 188 System.out.println(": " + f.constantValue()); in printClassInfo() 688 Object constantValue = null; in buildFields() local 748 constantValue = parseExpression(tmp); in buildFields() 759 newType, commentAndPosition.getCommentText(), constantValue, in buildFields() 777 Object constantValue = null; in parseExpression() local 785 return constantValue; in parseExpression() 792 return constantValue; in parseExpression() [all …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_assembler.cpp | 50 unsigned offset = instr->operands[0].constantValue(); in emit_instruction() 183 if (!instr->operands[1].isConstant() || instr->operands[1].constantValue() >= 1024) { in emit_instruction() 186 encoding |= instr->operands[1].constantValue() >> 2; in emit_instruction() 192 …rands.size() >= 2 && instr->operands[1].isConstant() && instr->operands[1].constantValue() >= 1024) in emit_instruction() 193 out.push_back(instr->operands[1].constantValue() >> 2); in emit_instruction() 235 offset = op_off1.isConstant() ? op_off1.constantValue() : op_off1.physReg(); in emit_instruction() 239 offset = op_off1.constantValue(); in emit_instruction() 329 encoding |= (0x3 & instr->operands[0].constantValue()); in emit_instruction() 590 encoding = 0x3 & instr->operands[0].constantValue(); in emit_instruction() 701 out.push_back(op.constantValue()); in emit_instruction()
|
D | aco_optimizer.cpp | 219 val = Operand(constant).constantValue(); in set_constant() 711 if (!literal32.isUndefined() && literal32.constantValue() != op.constantValue()) in check_vop3_operands() 713 if (!literal64.isUndefined() && literal64.constantValue() != op.constantValue()) in check_vop3_operands() 764 *offset = add_instr->operands[i].constantValue(); in parse_base_offset() 1195 const unsigned index = instr->operands[1].constantValue(); in label_instruction() 1286 if (instr->operands[!i].constantValue() == (fp16 ? 0x4000 : 0x40000000)) { /* 2.0 */ in label_instruction() 1288 … } else if (instr->operands[!i].constantValue() == (fp16 ? 0x4400 : 0x40800000)) { /* 4.0 */ in label_instruction() 1290 … } else if (instr->operands[!i].constantValue() == (fp16 ? 0x3800 : 0x3f000000)) { /* 0.5 */ in label_instruction() 1292 } else if (instr->operands[!i].constantValue() == (fp16 ? 0x3c00 : 0x3f800000) && in label_instruction() 2191 instr->operands[!i].constantValue() != op2_instr->operands[0].constantValue()) in combine_salu_n2() [all …]
|
D | aco_lower_to_hw_instr.cpp | 698 …if (!identity[i].isConstant() || identity[i].constantValue()) { /* bound_ctrl should take care of … in emit_reduction() 988 uint32_t imm = op.constantValue(); in copy_constant() 1017 uint8_t val = op.constantValue(); in copy_constant() 1031 if (op.constantValue() >= 0xfff0 || op.constantValue() <= 64) { in copy_constant() 1034 uint32_t val32 = (int32_t)(int16_t)op.constantValue(); in copy_constant() 1045 bld.vop2(aco_opcode::v_or_b32, dst, Operand(op.constantValue() << offset), def_op); in copy_constant() 1224 copy_constant(ctx, bld, def, Operand(lo.constantValue() | (hi.constantValue() << 16))); in do_pack_2x16() 1242 (!hi.isConstant() || !Operand(hi.constantValue()).isLiteral() || in do_pack_2x16() 1257 bld.vop2(aco_opcode::v_or_b32, def, Operand(lo.constantValue()), Operand(def.physReg(), v1)); in do_pack_2x16() 1266 …bld.vop2(aco_opcode::v_or_b32, def, Operand(hi.constantValue() << 16u), Operand(def.physReg(), v1)… in do_pack_2x16() [all …]
|
D | aco_opt_value_numbering.cpp | 53 hash = murmur_32_scramble(hash, op.constantValue()); in hash_murmur_32() 136 if (a->operands[i].constantValue() != b->operands[i].constantValue()) in operator ()()
|
D | aco_print_ir.cpp | 158 fprintf(output, "0x%.2x", operand->constantValue()); in print_operand() 160 fprintf(output, "0x%.4x", operand->constantValue()); in print_operand() 162 fprintf(output, "0x%x", operand->constantValue()); in print_operand()
|
D | aco_ir.h | 634 constexpr uint32_t constantValue() const noexcept in constantValue() function 641 return isConstant() && constantValue() == cmp; in constantEquals() 741 return other.isLiteral() && other.constantValue() == constantValue();
|
D | aco_validate.cpp | 246 …l.isUndefined() || (literal.size() == op.size() && literal.constantValue() == op.constantValue()),… in validate_ir() 372 …check((instr->operands[1].constantValue() + 1) * instr->definitions[0].bytes() <= instr->operands[… in validate_ir()
|
/external/proguard/src/proguard/evaluation/ |
D | Processor.java | 579 stack.push(classConstantValueFactory.constantValue(clazz, constantIndex)); in visitConstantInstruction() 595 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction() 600 …ReferenceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).reference… in visitConstantInstruction() 614 …castValue.isNull() == Value.NEVER ? constantValueFactory.constantValue(clazz, constantIndex).refe… in visitConstantInstruction() 615 …constantValueFactory.constantValue(clazz, constantIndex).referenceValue().generalize(valueFactory.… in visitConstantInstruction() 621 …ReferenceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).reference… in visitConstantInstruction() 641 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
|
D | ConstantValueFactory.java | 54 public Value constantValue(Clazz clazz, in constantValue() method in ConstantValueFactory
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlFormatOutputBuilder.kt | 930 node.constantValue()?.let { value -> in <lambda>() 1034 val constants = node.members.filter { it.constantValue() != null } in <lambda>() 1035 …val inheritedConstants = allInheritedMembers.filter { it.constantValue() != null }.groupBy { it.ow… in <lambda>() 1053 it.kind == propertyKind && it.constantValue() == null in <lambda>() 1058 it == NodeKind.Field && it.constantValue() != null in <lambda>() 1097 val constants = node.members(NodeKind.Property).filter { it.constantValue() != null } in <lambda>() 1147 fun DocumentationNode.constantValue(): String? = in DocumentationNode() method
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RewriteAtomicCounters.cpp | 58 TConstantUnion *constantValue = new TConstantUnion; in CreateUIntConstant() local 59 constantValue->setUConst(value); in CreateUIntConstant() 60 return new TIntermConstantUnion(constantValue, *constantType); in CreateUIntConstant()
|
/external/proguard/src/proguard/optimize/info/ |
D | FieldOptimizationInfo.java | 168 … value = CONSTANT_VALUE_FACTORY.constantValue(clazz, constantValueAttribute.u2constantValueIndex); in visitConstantValueAttribute()
|
/external/doclava/res/assets/templates-sdk/ |
D | class.cs | 179 <?cs if:subcount(field.constantValue) ?> 181 <?cs if:field.constantValue.isString ?> 182 <?cs var:field.constantValue.str ?> 184 <?cs var:field.constantValue.dec ?> 185 (<?cs var:field.constantValue.hex ?>)
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 136 const glw::GLuint* constantIndex, const glw::GLuint* constantValue) in specialize() argument 144 …l.specializeShader(m_shader, entryPoint, numSpecializationConstants, constantIndex, constantValue); in specialize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVNExpression.h | 591 ConstantExpression(Constant *constantValue) in ConstantExpression() argument 592 : Expression(ET_Constant), ConstantValue(constantValue) {} in ConstantExpression()
|