Home
last modified time | relevance | path

Searched refs:RegEnc (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp898 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in emitVEXOpcodePrefix() local
899 VEX_R = ~(RegEnc >> 3) & 1; in emitVEXOpcodePrefix()
900 EVEX_R2 = ~(RegEnc >> 4) & 1; in emitVEXOpcodePrefix()
912 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in emitVEXOpcodePrefix() local
913 VEX_R = ~(RegEnc >> 3) & 1; in emitVEXOpcodePrefix()
914 EVEX_R2 = ~(RegEnc >> 4) & 1; in emitVEXOpcodePrefix()
938 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in emitVEXOpcodePrefix() local
939 VEX_R = ~(RegEnc >> 3) & 1; in emitVEXOpcodePrefix()
952 unsigned RegEnc = getX86RegEncoding(MI, CurOp++); in emitVEXOpcodePrefix() local
953 VEX_R = ~(RegEnc >> 3) & 1; in emitVEXOpcodePrefix()
[all …]
DX86AsmBackend.cpp946 uint32_t RegEnc = encodeCompactUnwindRegistersWithFrame(); in generateCompactUnwindEncodingImpl() local
947 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl()
951 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS; in generateCompactUnwindEncodingImpl()
984 uint32_t RegEnc = encodeCompactUnwindRegistersWithoutFrame(SavedRegIdx); in generateCompactUnwindEncodingImpl() local
985 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; in generateCompactUnwindEncodingImpl()
989 RegEnc & CU::UNWIND_FRAMELESS_STACK_REG_PERMUTATION; in generateCompactUnwindEncodingImpl()
1019 uint32_t RegEnc = 0; in encodeCompactUnwindRegistersWithFrame() local
1029 RegEnc |= (CURegNum & 0x7) << (Idx++ * 3); in encodeCompactUnwindRegistersWithFrame()
1032 assert((RegEnc & 0x3FFFF) == RegEnc && in encodeCompactUnwindRegistersWithFrame()
1034 return RegEnc; in encodeCompactUnwindRegistersWithFrame()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp368 uint64_t RegEnc = 0; in getSDWASrcEncoding() local
374 RegEnc |= MRI.getEncodingValue(Reg); in getSDWASrcEncoding()
375 RegEnc &= SDWA9EncValues::SRC_VGPR_MASK; in getSDWASrcEncoding()
377 RegEnc |= SDWA9EncValues::SRC_SGPR_MASK; in getSDWASrcEncoding()
379 return RegEnc; in getSDWASrcEncoding()
398 uint64_t RegEnc = 0; in getSDWAVopcDstEncoding() local
404 RegEnc |= MRI.getEncodingValue(Reg); in getSDWAVopcDstEncoding()
405 RegEnc &= SDWA9EncValues::VOPC_DST_SGPR_MASK; in getSDWAVopcDstEncoding()
406 RegEnc |= SDWA9EncValues::VOPC_DST_VCC_MASK; in getSDWAVopcDstEncoding()
408 return RegEnc; in getSDWAVopcDstEncoding()