Lines Matching defs:insn
518 static bool AddDependencyByIndex(MethodItem *method, const Ins &insn,
521 if (idx >= insn.ids.size()) {
524 const auto &id = insn.ids[idx];
536 for (const auto &insn : func.ins) {
537 if (insn.opcode == Opcode::INVALID) {
541 if (insn.opcode == Opcode::DEFINECLASSWITHBUFFER) {
542 if (!AddDependencyByIndex(method, insn, entities.method_items)) {
545 if (!AddDependencyByIndex(method, insn, entities.literalarray_items, 1)) {
551 if (insn.opcode == Opcode::CALLRUNTIME_DEFINESENDABLECLASS) {
552 if (!AddDependencyByIndex(method, insn, entities.method_items)) {
555 if (!AddDependencyByIndex(method, insn, entities.literalarray_items, 1)) {
561 if (insn.HasFlag(InstFlags::METHOD_ID)) {
562 if (!AddDependencyByIndex(method, insn, entities.method_items)) {
568 if (insn.HasFlag(InstFlags::STRING_ID)) {
569 if (!AddDependencyByIndex(method, insn, entities.string_items)) {
575 if (insn.HasFlag(InstFlags::LITERALARRAY_ID)) {
576 if (!AddDependencyByIndex(method, insn, entities.literalarray_items)) {
1601 for (const auto &insn : ins) {
1602 if (insn.set_label) {
1603 labels.insert_or_assign(insn.label, emitter.CreateLabel());
1607 for (const auto &insn : ins) {
1608 if (insn.set_label) {
1609 auto search = labels.find(insn.label);
1614 if (insn.opcode != Opcode::INVALID) {
1615 if (!insn.Emit(emitter, method, methods, fields, classes, strings, literalarrays, labels)) {