Home
last modified time | relevance | path

Searched refs:SrcEncoding (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp389 uint16_t SrcEncoding = TRI->getEncodingValue(SrcReg); in copyPhysRegVector() local
395 forwardCopyWillClobberTuple(DstEncoding, SrcEncoding, NumRegs); in copyPhysRegVector()
399 SrcEncoding += NumRegs - 1; in copyPhysRegVector()
404 auto GetCopyInfo = [&](uint16_t SrcEncoding, uint16_t DstEncoding) in copyPhysRegVector()
414 uint16_t Diff = DstEncoding - SrcEncoding; in copyPhysRegVector()
415 if (I + 8 <= NumRegs && Diff >= 8 && SrcEncoding % 8 == 7 && in copyPhysRegVector()
419 if (I + 4 <= NumRegs && Diff >= 4 && SrcEncoding % 4 == 3 && in copyPhysRegVector()
423 if (I + 2 <= NumRegs && Diff >= 2 && SrcEncoding % 2 == 1 && in copyPhysRegVector()
434 if (I + 8 <= NumRegs && SrcEncoding % 8 == 0 && DstEncoding % 8 == 0) in copyPhysRegVector()
437 if (I + 4 <= NumRegs && SrcEncoding % 4 == 0 && DstEncoding % 4 == 0) in copyPhysRegVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4993 uint16_t SrcEncoding = TRI->getEncodingValue(SrcReg); in copyPhysRegTuple() local
4997 if (forwardCopyWillClobberTuple(DestEncoding, SrcEncoding, NumRegs)) { in copyPhysRegTuple()
5022 uint16_t SrcEncoding = TRI->getEncodingValue(SrcReg); in copyGPRRegTuple() local
5023 assert(DestEncoding % NumRegs == 0 && SrcEncoding % NumRegs == 0 && in copyGPRRegTuple()