Home
last modified time | relevance | path

Searched refs:constantIndex (Results 1 – 25 of 45) sorted by relevance

12

/external/proguard/src/proguard/classfile/editor/
DConstantAdder.java43 private int constantIndex; field in ConstantAdder
61 public int addConstant(Clazz clazz, int constantIndex) in addConstant() argument
63 clazz.constantPoolEntryAccept(constantIndex, this); in addConstant()
65 return this.constantIndex; in addConstant()
77 return this.constantIndex; in addConstant()
87 return constantIndex; in getConstantIndex()
95 constantIndex = in visitIntegerConstant()
102 constantIndex = in visitLongConstant()
109 constantIndex = in visitFloatConstant()
116 constantIndex = in visitDoubleConstant()
[all …]
DMethodInvocationFixer.java80 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
85 clazz.constantPoolEntryAccept(constantIndex, this); in visitConstantInstruction()
103 constantIndex); in visitConstantInstruction()
124 constantIndex); in visitConstantInstruction()
149 constantIndex, in visitConstantInstruction()
175 constantIndex); in visitConstantInstruction()
DBootstrapMethodRemapper.java78 private int remapConstantIndex(int constantIndex) in remapConstantIndex() argument
80 int remappedConstantIndex = constantIndexMap[constantIndex]; in remapConstantIndex()
83 throw new IllegalArgumentException("Can't remap constant index ["+constantIndex+"]"); in remapConstantIndex()
DMemberReferenceFixer.java54 private int constantIndex; field in MemberReferenceFixer
74 this.constantIndex = index; in visitProgramClass()
195 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitInterfaceMethodrefConstant()
251 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitMethodrefConstant()
DConstantPoolRemapper.java513 int newConstantIndex = remapConstantIndex(constantInstruction.constantIndex); in visitConstantInstruction()
514 if (newConstantIndex != constantInstruction.constantIndex) in visitConstantInstruction()
678 private int remapConstantIndex(int constantIndex) in remapConstantIndex() argument
680 int remappedConstantIndex = constantIndexMap[constantIndex]; in remapConstantIndex()
683 throw new IllegalArgumentException("Can't remap constant index ["+constantIndex+"]"); in remapConstantIndex()
DInstructionWriter.java107 constantInstruction.constantIndex, in visitConstantInstruction()
118 constantInstruction.constantIndex = 0; in visitConstantInstruction()
DInstructionAdder.java70 … constantAdder.addConstant(clazz, constantInstruction.constantIndex), in visitConstantInstruction()
/external/proguard/src/proguard/classfile/
DProgramClass.java74 public Constant getConstant(int constantIndex) in getConstant() argument
76 return constantPool[constantIndex]; in getConstant()
107 public int getTag(int constantIndex) in getTag() argument
109 return constantPool[constantIndex].getTag(); in getTag()
112 public String getString(int constantIndex) in getString() argument
116 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString()
120 …xception)new IllegalStateException("Expected Utf8Constant at index ["+constantIndex+"] in class ["… in getString()
124 public String getStringString(int constantIndex) in getStringString() argument
128 return ((StringConstant)constantPool[constantIndex]).getString(this); in getStringString()
132 …eption)new IllegalStateException("Expected StringConstant at index ["+constantIndex+"] in class ["… in getStringString()
[all …]
DClazz.java66 public int getTag(int constantIndex); in getTag() argument
71 public String getString(int constantIndex); in getString() argument
76 public String getStringString(int constantIndex); in getStringString() argument
81 public String getClassName(int constantIndex); in getClassName() argument
86 public String getName(int constantIndex); in getName() argument
91 public String getType(int constantIndex); in getType() argument
96 public String getRefClassName(int constantIndex); in getRefClassName() argument
101 public String getRefName(int constantIndex); in getRefName() argument
106 public String getRefType(int constantIndex); in getRefType() argument
DLibraryClass.java109 public int getTag(int constantIndex) in getTag() argument
114 public String getString(int constantIndex) in getString() argument
119 public String getStringString(int constantIndex) in getStringString() argument
124 public String getClassName(int constantIndex) in getClassName() argument
129 public String getName(int constantIndex) in getName() argument
134 public String getType(int constantIndex) in getType() argument
140 public String getRefClassName(int constantIndex) in getRefClassName() argument
145 public String getRefName(int constantIndex) in getRefName() argument
150 public String getRefType(int constantIndex) in getRefType() argument
/external/proguard/src/proguard/classfile/instruction/
DConstantInstruction.java39 public int constantIndex; field in ConstantInstruction
58 public ConstantInstruction(byte opcode, int constantIndex) in ConstantInstruction() argument
60 this(opcode, constantIndex, 0); in ConstantInstruction()
68 public ConstantInstruction(byte opcode, int constantIndex, int constant) in ConstantInstruction() argument
71 this.constantIndex = constantIndex; in ConstantInstruction()
84 this.constantIndex = constantInstruction.constantIndex; in copy()
129 constantIndex = readValue(code, offset, constantIndexSize); offset += constantIndexSize; in readInfo()
144 writeValue(code, offset, constantIndex, constantIndexSize); offset += constantIndexSize; in writeInfo()
176 clazz.constantPoolEntryAccept(constantIndex, this); in stackPopCount()
186 clazz.constantPoolEntryAccept(constantIndex, this); in stackPopCount()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java222 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
230 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
232 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
250 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
259 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
265 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
275 constantInstruction.constantIndex)) in visitConstantInstruction()
283 … clazz.getClassName(constantInstruction.constantIndex)+"]"); in visitConstantInstruction()
301 …((ClassConstant)((ProgramClass)clazz).getConstant(constantInstruction.constantIndex)).referencedCl… in visitConstantInstruction()
305 … clazz.getClassName(constantInstruction.constantIndex)+"]"); in visitConstantInstruction()
[all …]
DSimpleEnumUseSimplifier.java260 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
268 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
270 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
293 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
299 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
301 if (isReferencingSimpleEnum(clazz, constantIndex) && in visitConstantInstruction()
302 !ClassUtil.isInternalArrayType(clazz.getClassName(constantIndex))) in visitConstantInstruction()
460 private boolean isReferencingSimpleEnum(Clazz clazz, int constantIndex) in isReferencingSimpleEnum() argument
464 clazz.constantPoolEntryAccept(constantIndex, this); in isReferencingSimpleEnum()
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java182 public int matchedConstantIndex(int constantIndex) in matchedConstantIndex() argument
184 int argumentIndex = constantIndex - X; in matchedConstantIndex()
186 matchedConstantIndices[constantIndex] : in matchedConstantIndex()
274 constantInstruction.constantIndex, in visitConstantInstruction()
275 ((ConstantInstruction)patternInstruction).constantIndex) && in visitConstantInstruction()
632 private void setMatchingConstant(int constantIndex, in setMatchingConstant() argument
635 matchedConstantIndices[constantIndex] = constantIndex1; in setMatchingConstant()
636 matchedConstantFlags[constantIndex / 64] |= 1L << constantIndex; in setMatchingConstant()
643 private boolean isMatchingConstantIndex(int constantIndex) in isMatchingConstantIndex() argument
645 return (matchedConstantFlags[constantIndex / 64] & (1L << constantIndex)) != 0; in isMatchingConstantIndex()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java285 constantInstruction.constantIndex), in visitConstantInstruction()
343 private int matchedConstantIndex(ProgramClass programClass, int constantIndex) in matchedConstantIndex() argument
346 if (constantIndex >= BOOLEAN_A_STRING && in matchedConstantIndex()
347 constantIndex <= (STRING_A_STRING | STRING_B_STRING)) in matchedConstantIndex()
351 argumentAsString(programClass, constantIndex & 0xf, A) + in matchedConstantIndex()
352 argumentAsString(programClass, (constantIndex >>> 4) & 0xf, B), in matchedConstantIndex()
358 instructionSequenceMatcher.matchedConstantIndex(constantIndex); in matchedConstantIndex()
372 return new ConstantAdder(programClass).addConstant(dummyClass, constantIndex); in matchedConstantIndex()
/external/proguard/src/proguard/optimize/info/
DSideEffectInstructionChecker.java183 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
189 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
203 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
218 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
225 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
240 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DReadWriteFieldMarker.java65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DLoopSpecialization.cpp39 if (auto constantIndex = expr.dyn_cast<AffineConstantExpr>()) in specializeParallelLoopForUnrolling() local
40 minConstant = std::min(minConstant, constantIndex.getValue()); in specializeParallelLoopForUnrolling()
74 if (auto constantIndex = expr.dyn_cast<AffineConstantExpr>()) in specializeForLoopForUnrolling() local
75 minConstant = std::min(minConstant, constantIndex.getValue()); in specializeForLoopForUnrolling()
/external/proguard/src/proguard/classfile/io/
DLibraryClassReader.java322 private String getClassName(int constantIndex) in getClassName() argument
324 ClassConstant classEntry = (ClassConstant)constantPool[constantIndex]; in getClassName()
334 private String getString(int constantIndex) in getString() argument
336 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString()
/external/proguard/src/proguard/evaluation/
DConstantValueFactory.java55 int constantIndex) in constantValue() argument
58 clazz.constantPoolEntryAccept(constantIndex, this); in constantValue()
DProcessor.java572 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
579 stack.push(classConstantValueFactory.constantValue(clazz, constantIndex)); in visitConstantInstruction()
595 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
600 …renceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
614 ….isNull() == Value.NEVER ? constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
615 …constantValueFactory.constantValue(clazz, constantIndex).referenceValue().generalize(valueFactory.… in visitConstantInstruction()
621 …renceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
641 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
DBasicInvocationUnit.java140 int constantIndex = constantInstruction.constantIndex; in invokeMember() local
178 clazz.constantPoolEntryAccept(constantIndex, this); in invokeMember()
/external/proguard/src/proguard/classfile/instruction/visitor/
DInstructionConstantVisitor.java60 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm16bitStorageTests.cpp1245 unsigned constantIndex; in addCompute16bitStorageUniform16To32Group() member
1282 specs["constarrayidx"] = de::toString(cTypes[capIdx][tyIdx].constantIndex); in addCompute16bitStorageUniform16To32Group()
1304 …float32DataConstIdx.push_back(float32Data[cTypes[capIdx][tyIdx].constantIndex * numFloats + numIdx… in addCompute16bitStorageUniform16To32Group()
1389 unsigned constantIndex; in addCompute16bitStorageUniform16To32Group() member
1454 …const deInt32 idx = cTypes[capIdx][tyIdx].constantIndex * scalarsPerItem + numIdx % scalarsPerItem; in addCompute16bitStorageUniform16To32Group()
1470 specs["constarrayidx"] = de::toString(cTypes[capIdx][tyIdx].constantIndex); in addCompute16bitStorageUniform16To32Group()
1789 unsigned constantIndex; in addCompute16bitStoragePushConstant16To32Group() member
1820 …float32DataConstIdx.push_back(float32Data[cTypes[tyIdx].constantIndex * numFloats + numIdx % numFl… in addCompute16bitStoragePushConstant16To32Group()
1828 specs["constarrayidx"] = de::toString(cTypes[tyIdx].constantIndex); in addCompute16bitStoragePushConstant16To32Group()
1903 unsigned constantIndex; in addCompute16bitStoragePushConstant16To32Group() member
[all …]
/external/proguard/src/proguard/classfile/visitor/
DDotClassClassVisitor.java73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()

12