Lines Matching refs:dwarf
30 emitOp(dwarf::DW_OP_lit0 + Value); in emitConstu()
34 emitOp(dwarf::DW_OP_lit0); in emitConstu()
35 emitOp(dwarf::DW_OP_not); in emitConstu()
37 emitOp(dwarf::DW_OP_constu); in emitConstu()
48 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); in addReg()
50 emitOp(dwarf::DW_OP_regx, Comment); in addReg()
59 emitOp(dwarf::DW_OP_breg0 + DwarfReg); in addBReg()
61 emitOp(dwarf::DW_OP_bregx); in addBReg()
68 emitOp(dwarf::DW_OP_fbreg); in addFBReg()
78 emitOp(dwarf::DW_OP_bit_piece); in addOpPiece()
82 emitOp(dwarf::DW_OP_piece); in addOpPiece()
91 emitOp(dwarf::DW_OP_shr); in addShr()
96 emitOp(dwarf::DW_OP_and); in addAnd()
187 emitOp(dwarf::DW_OP_stack_value); in addStackValue()
193 emitOp(dwarf::DW_OP_consts); in addSignedConstant()
229 emitOp(dwarf::DW_OP_implicit_value); in addConstantFP()
262 if (Op && Op->getOp() != dwarf::DW_OP_LLVM_fragment) in addMachineRegExpression()
309 emitOp(dwarf::DW_OP_stack_value); in addMachineRegExpression()
317 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
325 return Op.getOp() == dwarf::DW_OP_stack_value; in addMachineRegExpression()
349 if (Op && (Op->getOp() == dwarf::DW_OP_plus_uconst)) { in addMachineRegExpression()
361 if (Op && Op->getOp() == dwarf::DW_OP_constu) { in addMachineRegExpression()
365 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression()
368 } else if (N && N->getOp() == dwarf::DW_OP_minus && in addMachineRegExpression()
385 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
410 assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value); in beginEntryValueExpression()
425 emitOp(CU.getDwarf5OrGNULocationAtom(dwarf::DW_OP_entry_value)); in finalizeEntryValue()
453 dwarf::TypeKind Encoding) { in getOrCreateBaseType()
473 case dwarf::DW_OP_deref: in isMemoryLocation()
474 case dwarf::DW_OP_LLVM_fragment: in isMemoryLocation()
503 if (OpNum >= dwarf::DW_OP_reg0 && OpNum <= dwarf::DW_OP_reg31) { in addExpression()
506 } else if (OpNum >= dwarf::DW_OP_breg0 && OpNum <= dwarf::DW_OP_breg31) { in addExpression()
507 addBReg(OpNum - dwarf::DW_OP_breg0, Op->getArg(0)); in addExpression()
512 case dwarf::DW_OP_LLVM_arg: in addExpression()
518 case dwarf::DW_OP_LLVM_fragment: { in addExpression()
548 case dwarf::DW_OP_plus_uconst: in addExpression()
550 emitOp(dwarf::DW_OP_plus_uconst); in addExpression()
553 case dwarf::DW_OP_plus: in addExpression()
554 case dwarf::DW_OP_minus: in addExpression()
555 case dwarf::DW_OP_mul: in addExpression()
556 case dwarf::DW_OP_div: in addExpression()
557 case dwarf::DW_OP_mod: in addExpression()
558 case dwarf::DW_OP_or: in addExpression()
559 case dwarf::DW_OP_and: in addExpression()
560 case dwarf::DW_OP_xor: in addExpression()
561 case dwarf::DW_OP_shl: in addExpression()
562 case dwarf::DW_OP_shr: in addExpression()
563 case dwarf::DW_OP_shra: in addExpression()
564 case dwarf::DW_OP_lit0: in addExpression()
565 case dwarf::DW_OP_not: in addExpression()
566 case dwarf::DW_OP_dup: in addExpression()
567 case dwarf::DW_OP_push_object_address: in addExpression()
568 case dwarf::DW_OP_over: in addExpression()
571 case dwarf::DW_OP_deref: in addExpression()
578 emitOp(dwarf::DW_OP_deref); in addExpression()
580 case dwarf::DW_OP_constu: in addExpression()
584 case dwarf::DW_OP_consts: in addExpression()
586 emitOp(dwarf::DW_OP_consts); in addExpression()
589 case dwarf::DW_OP_LLVM_convert: { in addExpression()
591 dwarf::TypeKind Encoding = static_cast<dwarf::TypeKind>(Op->getArg(1)); in addExpression()
593 emitOp(dwarf::DW_OP_convert); in addExpression()
603 if (Encoding == dwarf::DW_ATE_signed) in addExpression()
605 else if (Encoding == dwarf::DW_ATE_unsigned) in addExpression()
614 case dwarf::DW_OP_stack_value: in addExpression()
617 case dwarf::DW_OP_swap: in addExpression()
619 emitOp(dwarf::DW_OP_swap); in addExpression()
621 case dwarf::DW_OP_xderef: in addExpression()
623 emitOp(dwarf::DW_OP_xderef); in addExpression()
625 case dwarf::DW_OP_deref_size: in addExpression()
626 emitOp(dwarf::DW_OP_deref_size); in addExpression()
629 case dwarf::DW_OP_LLVM_tag_offset: in addExpression()
632 case dwarf::DW_OP_regx: in addExpression()
633 emitOp(dwarf::DW_OP_regx); in addExpression()
636 case dwarf::DW_OP_bregx: in addExpression()
637 emitOp(dwarf::DW_OP_bregx); in addExpression()
687 emitOp(dwarf::DW_OP_dup); in emitLegacySExt()
688 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
690 emitOp(dwarf::DW_OP_shr); in emitLegacySExt()
691 emitOp(dwarf::DW_OP_lit0); in emitLegacySExt()
692 emitOp(dwarf::DW_OP_not); in emitLegacySExt()
693 emitOp(dwarf::DW_OP_mul); in emitLegacySExt()
694 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
696 emitOp(dwarf::DW_OP_shl); in emitLegacySExt()
697 emitOp(dwarf::DW_OP_or); in emitLegacySExt()
705 emitOp(dwarf::DW_OP_constu); in emitLegacyZExt()
713 emitOp(dwarf::DW_OP_lit1); in emitLegacyZExt()
714 emitOp(dwarf::DW_OP_constu); in emitLegacyZExt()
716 emitOp(dwarf::DW_OP_shl); in emitLegacyZExt()
717 emitOp(dwarf::DW_OP_lit1); in emitLegacyZExt()
718 emitOp(dwarf::DW_OP_minus); in emitLegacyZExt()
720 emitOp(dwarf::DW_OP_and); in emitLegacyZExt()
724 emitOp(dwarf::DW_OP_WASM_location); in addWasmLocation()