Searched refs:RegEnc (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | SIMCCodeEmitter.cpp | 334 uint64_t RegEnc = 0; in getSDWASrcEncoding() local 340 RegEnc |= MRI.getEncodingValue(Reg); in getSDWASrcEncoding() 341 RegEnc &= SDWA9EncValues::SRC_VGPR_MASK; in getSDWASrcEncoding() 343 RegEnc |= SDWA9EncValues::SRC_SGPR_MASK; in getSDWASrcEncoding() 345 return RegEnc; in getSDWASrcEncoding() 364 uint64_t RegEnc = 0; in getSDWAVopcDstEncoding() local 370 RegEnc |= MRI.getEncodingValue(Reg); in getSDWAVopcDstEncoding() 371 RegEnc &= SDWA9EncValues::VOPC_DST_SGPR_MASK; in getSDWAVopcDstEncoding() 372 RegEnc |= SDWA9EncValues::VOPC_DST_VCC_MASK; in getSDWAVopcDstEncoding() 374 return RegEnc; in getSDWAVopcDstEncoding()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 768 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 769 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 770 EVEX_R2 = ~(RegEnc >> 4) & 1; in EmitVEXOpcodePrefix() 782 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 783 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 784 EVEX_R2 = ~(RegEnc >> 4) & 1; in EmitVEXOpcodePrefix() 807 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 808 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 820 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 821 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() [all …]
|
D | X86AsmBackend.cpp | 631 uint32_t RegEnc = encodeCompactUnwindRegistersWithFrame(); in generateCompactUnwindEncodingImpl() local 632 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl() 636 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS; in generateCompactUnwindEncodingImpl() 679 uint32_t RegEnc = encodeCompactUnwindRegistersWithoutFrame(SavedRegIdx); in generateCompactUnwindEncodingImpl() local 680 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl() 684 RegEnc & CU::UNWIND_FRAMELESS_STACK_REG_PERMUTATION; in generateCompactUnwindEncodingImpl() 714 uint32_t RegEnc = 0; in encodeCompactUnwindRegistersWithFrame() local 724 RegEnc |= (CURegNum & 0x7) << (Idx++ * 3); in encodeCompactUnwindRegistersWithFrame() 727 assert((RegEnc & 0x3FFFF) == RegEnc && in encodeCompactUnwindRegistersWithFrame() 729 return RegEnc; in encodeCompactUnwindRegistersWithFrame()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 738 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 739 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 740 EVEX_R2 = ~(RegEnc >> 4) & 1; in EmitVEXOpcodePrefix() 753 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 754 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 755 EVEX_R2 = ~(RegEnc >> 4) & 1; in EmitVEXOpcodePrefix() 813 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() local 814 VEX_R = ~(RegEnc >> 3) & 1; in EmitVEXOpcodePrefix() 815 EVEX_R2 = ~(RegEnc >> 4) & 1; in EmitVEXOpcodePrefix() 829 RegEnc = getX86RegEncoding(MI, CurOp++); in EmitVEXOpcodePrefix() [all …]
|
D | X86AsmBackend.cpp | 614 uint32_t RegEnc = encodeCompactUnwindRegistersWithFrame(); in generateCompactUnwindEncodingImpl() local 615 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl() 619 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS; in generateCompactUnwindEncodingImpl() 663 uint32_t RegEnc = encodeCompactUnwindRegistersWithoutFrame(SavedRegIdx); in generateCompactUnwindEncodingImpl() local 664 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl() 668 RegEnc & CU::UNWIND_FRAMELESS_STACK_REG_PERMUTATION; in generateCompactUnwindEncodingImpl() 698 uint32_t RegEnc = 0; in encodeCompactUnwindRegistersWithFrame() local 708 RegEnc |= (CURegNum & 0x7) << (Idx++ * 3); in encodeCompactUnwindRegistersWithFrame() 711 assert((RegEnc & 0x3FFFF) == RegEnc && in encodeCompactUnwindRegistersWithFrame() 713 return RegEnc; in encodeCompactUnwindRegistersWithFrame()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86FrameLowering.cpp | 450 uint32_t RegEnc = 0; in encodeCompactUnwindRegistersWithFrame() local 457 RegEnc |= (CURegNum & 0x7) << (5 - I); in encodeCompactUnwindRegistersWithFrame() 460 assert((RegEnc & 0x7FFF) == RegEnc && "Invalid compact register encoding!"); in encodeCompactUnwindRegistersWithFrame() 461 return RegEnc; in encodeCompactUnwindRegistersWithFrame() 550 uint32_t RegEnc = encodeCompactUnwindRegistersWithFrame(SavedRegs, Is64Bit); in getCompactUnwindEncoding() local 551 if (RegEnc == ~0U) in getCompactUnwindEncoding() 556 CompactUnwindEncoding |= RegEnc & 0x7FFF; in getCompactUnwindEncoding() 581 uint32_t RegEnc = encodeCompactUnwindRegistersWithoutFrame(SavedRegs, in getCompactUnwindEncoding() local 584 if (RegEnc == ~0U) return 0; in getCompactUnwindEncoding() 585 CompactUnwindEncoding |= RegEnc & 0x3FF; in getCompactUnwindEncoding()
|