Lines Matching refs:dwarf
31 emitOp(dwarf::DW_OP_lit0 + Value); in emitConstu()
35 emitOp(dwarf::DW_OP_lit0); in emitConstu()
36 emitOp(dwarf::DW_OP_not); in emitConstu()
38 emitOp(dwarf::DW_OP_constu); in emitConstu()
49 emitOp(dwarf::DW_OP_reg0 + DwarfReg, Comment); in addReg()
51 emitOp(dwarf::DW_OP_regx, Comment); in addReg()
60 emitOp(dwarf::DW_OP_breg0 + DwarfReg); in addBReg()
62 emitOp(dwarf::DW_OP_bregx); in addBReg()
69 emitOp(dwarf::DW_OP_fbreg); in addFBReg()
79 emitOp(dwarf::DW_OP_bit_piece); in addOpPiece()
83 emitOp(dwarf::DW_OP_piece); in addOpPiece()
92 emitOp(dwarf::DW_OP_shr); in addShr()
97 emitOp(dwarf::DW_OP_and); in addAnd()
188 emitOp(dwarf::DW_OP_stack_value); in addStackValue()
194 emitOp(dwarf::DW_OP_consts); in addSignedConstant()
230 emitOp(dwarf::DW_OP_implicit_value); in addConstantFP()
263 if (Op && Op->getOp() != dwarf::DW_OP_LLVM_fragment) in addMachineRegExpression()
310 emitOp(dwarf::DW_OP_stack_value); in addMachineRegExpression()
318 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
326 return Op.getOp() == dwarf::DW_OP_stack_value; in addMachineRegExpression()
350 if (Op && (Op->getOp() == dwarf::DW_OP_plus_uconst)) { in addMachineRegExpression()
362 if (Op && Op->getOp() == dwarf::DW_OP_constu) { in addMachineRegExpression()
366 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression()
369 } else if (N && N->getOp() == dwarf::DW_OP_minus && in addMachineRegExpression()
386 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
411 assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value); in beginEntryValueExpression()
427 emitOp(CU.getDwarf5OrGNULocationAtom(dwarf::DW_OP_entry_value)); in finalizeEntryValue()
455 dwarf::TypeKind Encoding) { in getOrCreateBaseType()
475 case dwarf::DW_OP_deref: in isMemoryLocation()
476 case dwarf::DW_OP_LLVM_fragment: in isMemoryLocation()
505 if (OpNum >= dwarf::DW_OP_reg0 && OpNum <= dwarf::DW_OP_reg31) { in addExpression()
508 } else if (OpNum >= dwarf::DW_OP_breg0 && OpNum <= dwarf::DW_OP_breg31) { in addExpression()
509 addBReg(OpNum - dwarf::DW_OP_breg0, Op->getArg(0)); in addExpression()
514 case dwarf::DW_OP_LLVM_arg: in addExpression()
520 case dwarf::DW_OP_LLVM_fragment: { in addExpression()
550 case dwarf::DW_OP_LLVM_extract_bits_sext: in addExpression()
551 case dwarf::DW_OP_LLVM_extract_bits_zext: { in addExpression()
559 emitOp(dwarf::DW_OP_deref_size); in addExpression()
571 emitOp(dwarf::DW_OP_constu); in addExpression()
573 emitOp(dwarf::DW_OP_shl); in addExpression()
575 emitOp(dwarf::DW_OP_constu); in addExpression()
577 emitOp(OpNum == dwarf::DW_OP_LLVM_extract_bits_sext ? dwarf::DW_OP_shra in addExpression()
578 : dwarf::DW_OP_shr); in addExpression()
585 case dwarf::DW_OP_plus_uconst: in addExpression()
587 emitOp(dwarf::DW_OP_plus_uconst); in addExpression()
590 case dwarf::DW_OP_plus: in addExpression()
591 case dwarf::DW_OP_minus: in addExpression()
592 case dwarf::DW_OP_mul: in addExpression()
593 case dwarf::DW_OP_div: in addExpression()
594 case dwarf::DW_OP_mod: in addExpression()
595 case dwarf::DW_OP_or: in addExpression()
596 case dwarf::DW_OP_and: in addExpression()
597 case dwarf::DW_OP_xor: in addExpression()
598 case dwarf::DW_OP_shl: in addExpression()
599 case dwarf::DW_OP_shr: in addExpression()
600 case dwarf::DW_OP_shra: in addExpression()
601 case dwarf::DW_OP_lit0: in addExpression()
602 case dwarf::DW_OP_not: in addExpression()
603 case dwarf::DW_OP_dup: in addExpression()
604 case dwarf::DW_OP_push_object_address: in addExpression()
605 case dwarf::DW_OP_over: in addExpression()
606 case dwarf::DW_OP_eq: in addExpression()
607 case dwarf::DW_OP_ne: in addExpression()
608 case dwarf::DW_OP_gt: in addExpression()
609 case dwarf::DW_OP_ge: in addExpression()
610 case dwarf::DW_OP_lt: in addExpression()
611 case dwarf::DW_OP_le: in addExpression()
614 case dwarf::DW_OP_deref: in addExpression()
621 emitOp(dwarf::DW_OP_deref); in addExpression()
623 case dwarf::DW_OP_constu: in addExpression()
627 case dwarf::DW_OP_consts: in addExpression()
629 emitOp(dwarf::DW_OP_consts); in addExpression()
632 case dwarf::DW_OP_LLVM_convert: { in addExpression()
634 dwarf::TypeKind Encoding = static_cast<dwarf::TypeKind>(Op->getArg(1)); in addExpression()
636 emitOp(dwarf::DW_OP_convert); in addExpression()
646 if (Encoding == dwarf::DW_ATE_signed) in addExpression()
648 else if (Encoding == dwarf::DW_ATE_unsigned) in addExpression()
657 case dwarf::DW_OP_stack_value: in addExpression()
660 case dwarf::DW_OP_swap: in addExpression()
662 emitOp(dwarf::DW_OP_swap); in addExpression()
664 case dwarf::DW_OP_xderef: in addExpression()
666 emitOp(dwarf::DW_OP_xderef); in addExpression()
668 case dwarf::DW_OP_deref_size: in addExpression()
669 emitOp(dwarf::DW_OP_deref_size); in addExpression()
672 case dwarf::DW_OP_LLVM_tag_offset: in addExpression()
675 case dwarf::DW_OP_regx: in addExpression()
676 emitOp(dwarf::DW_OP_regx); in addExpression()
679 case dwarf::DW_OP_bregx: in addExpression()
680 emitOp(dwarf::DW_OP_bregx); in addExpression()
730 emitOp(dwarf::DW_OP_dup); in emitLegacySExt()
731 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
733 emitOp(dwarf::DW_OP_shr); in emitLegacySExt()
734 emitOp(dwarf::DW_OP_lit0); in emitLegacySExt()
735 emitOp(dwarf::DW_OP_not); in emitLegacySExt()
736 emitOp(dwarf::DW_OP_mul); in emitLegacySExt()
737 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
739 emitOp(dwarf::DW_OP_shl); in emitLegacySExt()
740 emitOp(dwarf::DW_OP_or); in emitLegacySExt()
748 emitOp(dwarf::DW_OP_constu); in emitLegacyZExt()
756 emitOp(dwarf::DW_OP_lit1); in emitLegacyZExt()
757 emitOp(dwarf::DW_OP_constu); in emitLegacyZExt()
759 emitOp(dwarf::DW_OP_shl); in emitLegacyZExt()
760 emitOp(dwarf::DW_OP_lit1); in emitLegacyZExt()
761 emitOp(dwarf::DW_OP_minus); in emitLegacyZExt()
763 emitOp(dwarf::DW_OP_and); in emitLegacyZExt()
767 emitOp(dwarf::DW_OP_WASM_location); in addWasmLocation()