Home
last modified time | relevance | path

Searched refs:callSite (Results 1 – 24 of 24) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DLambdaDescriptor.java58 private LambdaDescriptor(LambdaRewriter rewriter, DexCallSite callSite, in LambdaDescriptor() argument
62 assert callSite != null; in LambdaDescriptor()
70 this.uniqueId = callSite.getHash(); in LambdaDescriptor()
209 static LambdaDescriptor infer(LambdaRewriter rewriter, DexCallSite callSite) { in infer() argument
212 if (!callSite.bootstrapMethod.type.isInvokeStatic()) { in infer()
216 DexMethod bootstrapMethod = callSite.bootstrapMethod.asMethod(); in infer()
226 DexString funcMethodName = callSite.methodName; in infer()
230 getBootstrapArgument(callSite, 0, DexValue.DexValueMethodType.class); in infer()
234 getBootstrapArgument(callSite, 1, DexValue.DexValueMethodHandle.class).value; in infer()
241 getBootstrapArgument(callSite, 2, DexValue.DexValueMethodType.class); in infer()
[all …]
DLambdaRewriter.java214 private LambdaDescriptor inferLambdaDescriptor(DexCallSite callSite) { in inferLambdaDescriptor() argument
219 LambdaDescriptor descriptor = getKnown(knownCallSites, callSite); in inferLambdaDescriptor()
221 : putIfAbsent(knownCallSites, callSite, LambdaDescriptor.infer(this, callSite)); in inferLambdaDescriptor()
DInterfaceMethodRewriter.java101 DexCallSite callSite = instruction.asInvokeCustom().getCallSite(); in rewriteMethodReferences() local
102 reportStaticInterfaceMethodHandle(callSite.bootstrapMethod); in rewriteMethodReferences()
103 for (DexValue arg : callSite.bootstrapArgs) { in rewriteMethodReferences()
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DInvokeCustom.java15 private final DexCallSite callSite; field in InvokeCustom
17 public InvokeCustom(DexCallSite callSite, Value result, List<Value> arguments) { in InvokeCustom() argument
19 assert callSite != null; in InvokeCustom()
20 this.callSite = callSite; in InvokeCustom()
24 return callSite; in getCallSite()
39 return super.toString() + "; call site: " + callSite.toSourceString(); in toString()
74 return other.isInvokeCustom() && callSite == other.asInvokeCustom().callSite; in identicalNonValueParts()
/external/r8/src/main/java/com/android/tools/r8/graph/
DObjectToOffsetMapping.java172 public int getOffsetFor(DexCallSite callSite) { in getOffsetFor() argument
173 assert isContainedInMapping(callSite) : "Missing dependency: " + callSite; in getOffsetFor()
174 return callSite.getVirtualFileIndex(virtualFileId); in getOffsetFor()
DOffsetToObjectMapping.java167 public void setCallSites(int index, DexCallSite callSite) { in setCallSites() argument
169 callSites[index] = callSite; in setCallSites()
DDexItemFactory.java364 DexCallSite callSite = new DexCallSite(methodName, methodProto, bootstrapMethod, bootstrapArgs); in createCallSite() local
365 return canonicalize(callSites, callSite); in createCallSite()
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java70 DexCallSite callSite = invokeCustom.getCallSite(); in rewrite() local
72 callSite.bootstrapMethod); in rewrite()
73 List<DexValue> newArgs = callSite.bootstrapArgs.stream().map( in rewrite()
83 if (newBootstrapMethod != callSite.bootstrapMethod in rewrite()
84 || !newArgs.equals(callSite.bootstrapArgs)) { in rewrite()
86 callSite.methodName, callSite.methodProto, newBootstrapMethod, newArgs); in rewrite()
DIRBuilder.java935 DexCallSite callSite, int argumentRegisterCount, int[] argumentRegisters) {
937 DexMethodHandle bootstrapMethod = callSite.bootstrapMethod;
945 String shorty = callSite.methodProto.shorty.toString();
953 add(new InvokeCustom(callSite, null, arguments));
957 DexCallSite callSite, int argumentCount, int firstArgumentRegister) {
958 DexMethodHandle bootstrapMethod = callSite.bootstrapMethod;
967 String shorty = callSite.methodProto.shorty.toString();
975 add(new InvokeCustom(callSite, null, arguments));
979 DexCallSite callSite, List<MoveType> types, List<Integer> registers) {
985 add(new InvokeCustom(callSite, null, arguments));
DJarSourceCode.java2539 DexCallSite callSite = application in build() local
2544 (types, registers) -> builder.addInvokeCustom(callSite, types, registers)); in build()
/external/r8/src/main/java/com/android/tools/r8/code/
DInvokeCustom.java63 static void registerCallSite(UseRegistry registry, DexCallSite callSite) { in registerCallSite() argument
64 InvokeCustom.registerMethodHandle(registry, callSite.bootstrapMethod); in registerCallSite()
67 for (DexValue arg : callSite.bootstrapArgs) { in registerCallSite()
DInvokeCustomRange.java21 public InvokeCustomRange(int firstArgumentRegister, int argumentCount, DexCallSite callSite) { in InvokeCustomRange() argument
22 super(firstArgumentRegister, argumentCount, callSite); in InvokeCustomRange()
/external/v8/src/js/
Dstring.js261 function StringRaw(callSite) { argument
264 var cooked = TO_OBJECT(callSite);
/external/r8/src/main/java/com/android/tools/r8/dex/
DIndexedItemCollection.java91 boolean addCallSite(DexCallSite callSite); in addCallSite() argument
DVirtualFile.java492 public boolean addCallSite(DexCallSite callSite) { in addCallSite() argument
493 return addItem(callSite, callSites); in addCallSite()
586 public boolean addCallSite(DexCallSite callSite) { in addCallSite() argument
587 return maybeInsert(callSite, callSites); in addCallSite()
DFileWriter.java699 private void writeCallSite(DexCallSite callSite) { in writeCallSite() argument
702 dest.putInt(mixedSectionOffsets.getOffsetFor(callSite.getEncodedArray())); in writeCallSite()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp2749 llvm::CallSite callSite(user); in replaceUsesOfNonProtoConstant() local
2750 if (!callSite) continue; in replaceUsesOfNonProtoConstant()
2751 if (!callSite.isCallee(&*use)) continue; in replaceUsesOfNonProtoConstant()
2755 if (callSite->getType() != newRetTy && !callSite->use_empty()) in replaceUsesOfNonProtoConstant()
2760 llvm::AttributeSet oldAttrs = callSite.getAttributes(); in replaceUsesOfNonProtoConstant()
2770 if (callSite.arg_size() < newNumArgs) continue; in replaceUsesOfNonProtoConstant()
2778 if (callSite.getArgument(argNo)->getType() != ai->getType()) { in replaceUsesOfNonProtoConstant()
2799 newArgs.append(callSite.arg_begin(), callSite.arg_begin() + argNo); in replaceUsesOfNonProtoConstant()
2802 callSite.getOperandBundlesAsDefs(newBundles); in replaceUsesOfNonProtoConstant()
2805 if (callSite.isCall()) { in replaceUsesOfNonProtoConstant()
[all …]
DCGCall.cpp3459 llvm::CallSite callSite = EmitCallOrInvoke(callee, args, name); in EmitRuntimeCallOrInvoke() local
3460 callSite.setCallingConv(getRuntimeCC()); in EmitRuntimeCallOrInvoke()
3461 return callSite; in EmitRuntimeCallOrInvoke()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DMainDexListBuilder.java301 public boolean addCallSite(DexCallSite callSite) { in addCallSite() argument
DEnqueuer.java1283 public boolean addCallSite(DexCallSite callSite) { in addCallSite() argument
/external/swiftshader/src/Shader/
DShader.hpp421 unsigned int callSite; // Call index (per label) member
DVertexProgram.cpp123 ASSERT(callRetBlock[dst.label].size() == dst.callSite); in program()
307 case Shader::OPCODE_CALL: CALL(dst.label, dst.callSite); break; in program()
308 case Shader::OPCODE_CALLNZ: CALLNZ(dst.label, dst.callSite, src0); break; in program()
DPixelProgram.cpp92 ASSERT(callRetBlock[dst.label].size() == dst.callSite); in applyShader()
303 case Shader::OPCODE_CALL: CALL(dst.label, dst.callSite); break; in applyShader()
304 case Shader::OPCODE_CALLNZ: CALLNZ(dst.label, dst.callSite, src0); break; in applyShader()
DShader.cpp1865 instruction[i]->dst.callSite = callSiteIndex[label]++; in analyzeCallSites()