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()
301 emitOp(dwarf::DW_OP_stack_value); in addMachineRegExpression()
309 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
317 return Op.getOp() == dwarf::DW_OP_stack_value; in addMachineRegExpression()
332 if (Op && (Op->getOp() == dwarf::DW_OP_plus_uconst)) { in addMachineRegExpression()
344 if (Op && Op->getOp() == dwarf::DW_OP_constu) { in addMachineRegExpression()
348 if (N && N->getOp() == dwarf::DW_OP_plus && Offset <= IntMax) { in addMachineRegExpression()
351 } else if (N && N->getOp() == dwarf::DW_OP_minus && in addMachineRegExpression()
368 (NextOp->getOp() != dwarf::DW_OP_LLVM_fragment)) in addMachineRegExpression()
393 assert(Op && Op->getOp() == dwarf::DW_OP_LLVM_entry_value); in beginEntryValueExpression()
408 emitOp(CU.getDwarf5OrGNULocationAtom(dwarf::DW_OP_entry_value)); in finalizeEntryValue()
436 dwarf::TypeKind Encoding) { in getOrCreateBaseType()
456 case dwarf::DW_OP_deref: in isMemoryLocation()
457 case dwarf::DW_OP_LLVM_fragment: in isMemoryLocation()
486 if (OpNum >= dwarf::DW_OP_reg0 && OpNum <= dwarf::DW_OP_reg31) { in addExpression()
489 } else if (OpNum >= dwarf::DW_OP_breg0 && OpNum <= dwarf::DW_OP_breg31) { in addExpression()
490 addBReg(OpNum - dwarf::DW_OP_breg0, Op->getArg(0)); in addExpression()
495 case dwarf::DW_OP_LLVM_arg: in addExpression()
501 case dwarf::DW_OP_LLVM_fragment: { in addExpression()
531 case dwarf::DW_OP_plus_uconst: in addExpression()
533 emitOp(dwarf::DW_OP_plus_uconst); in addExpression()
536 case dwarf::DW_OP_plus: in addExpression()
537 case dwarf::DW_OP_minus: in addExpression()
538 case dwarf::DW_OP_mul: in addExpression()
539 case dwarf::DW_OP_div: in addExpression()
540 case dwarf::DW_OP_mod: in addExpression()
541 case dwarf::DW_OP_or: in addExpression()
542 case dwarf::DW_OP_and: in addExpression()
543 case dwarf::DW_OP_xor: in addExpression()
544 case dwarf::DW_OP_shl: in addExpression()
545 case dwarf::DW_OP_shr: in addExpression()
546 case dwarf::DW_OP_shra: in addExpression()
547 case dwarf::DW_OP_lit0: in addExpression()
548 case dwarf::DW_OP_not: in addExpression()
549 case dwarf::DW_OP_dup: in addExpression()
550 case dwarf::DW_OP_push_object_address: in addExpression()
551 case dwarf::DW_OP_over: in addExpression()
554 case dwarf::DW_OP_deref: in addExpression()
561 emitOp(dwarf::DW_OP_deref); in addExpression()
563 case dwarf::DW_OP_constu: in addExpression()
567 case dwarf::DW_OP_consts: in addExpression()
569 emitOp(dwarf::DW_OP_consts); in addExpression()
572 case dwarf::DW_OP_LLVM_convert: { in addExpression()
574 dwarf::TypeKind Encoding = static_cast<dwarf::TypeKind>(Op->getArg(1)); in addExpression()
576 emitOp(dwarf::DW_OP_convert); in addExpression()
586 if (Encoding == dwarf::DW_ATE_signed) in addExpression()
588 else if (Encoding == dwarf::DW_ATE_unsigned) in addExpression()
597 case dwarf::DW_OP_stack_value: in addExpression()
600 case dwarf::DW_OP_swap: in addExpression()
602 emitOp(dwarf::DW_OP_swap); in addExpression()
604 case dwarf::DW_OP_xderef: in addExpression()
606 emitOp(dwarf::DW_OP_xderef); in addExpression()
608 case dwarf::DW_OP_deref_size: in addExpression()
609 emitOp(dwarf::DW_OP_deref_size); in addExpression()
612 case dwarf::DW_OP_LLVM_tag_offset: in addExpression()
615 case dwarf::DW_OP_regx: in addExpression()
616 emitOp(dwarf::DW_OP_regx); in addExpression()
619 case dwarf::DW_OP_bregx: in addExpression()
620 emitOp(dwarf::DW_OP_bregx); in addExpression()
670 emitOp(dwarf::DW_OP_dup); in emitLegacySExt()
671 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
673 emitOp(dwarf::DW_OP_shr); in emitLegacySExt()
674 emitOp(dwarf::DW_OP_lit0); in emitLegacySExt()
675 emitOp(dwarf::DW_OP_not); in emitLegacySExt()
676 emitOp(dwarf::DW_OP_mul); in emitLegacySExt()
677 emitOp(dwarf::DW_OP_constu); in emitLegacySExt()
679 emitOp(dwarf::DW_OP_shl); in emitLegacySExt()
680 emitOp(dwarf::DW_OP_or); in emitLegacySExt()
685 emitOp(dwarf::DW_OP_constu); in emitLegacyZExt()
687 emitOp(dwarf::DW_OP_and); in emitLegacyZExt()
691 emitOp(dwarf::DW_OP_WASM_location); in addWasmLocation()