/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 102 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) in getVSRpEvenEncoding() local 104 return RegBits; in getVSRpEvenEncoding() 155 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 16; in getMemRIEncoding() local 159 return (getMachineOpValue(MI, MO, Fixups, STI) & 0xFFFF) | RegBits; in getMemRIEncoding() 164 return RegBits; in getMemRIEncoding() 173 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 14; in getMemRIXEncoding() local 177 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 2) & 0x3FFF) | RegBits; in getMemRIXEncoding() 182 return RegBits; in getMemRIXEncoding() 191 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 12; in getMemRIX16Encoding() local 197 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 4) & 0xFFF) | RegBits; in getMemRIX16Encoding() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 111 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 16; in getMemRIEncoding() local 115 return (getMachineOpValue(MI, MO, Fixups, STI) & 0xFFFF) | RegBits; in getMemRIEncoding() 120 return RegBits; in getMemRIEncoding() 129 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 14; in getMemRIXEncoding() local 133 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 2) & 0x3FFF) | RegBits; in getMemRIXEncoding() 138 return RegBits; in getMemRIXEncoding() 147 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 12; in getMemRIX16Encoding() local 153 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 4) & 0xFFF) | RegBits; in getMemRIX16Encoding() 159 return RegBits; in getMemRIX16Encoding() 169 uint32_t RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 5; in getSPE8DisEncoding() local [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 221 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 16; in getMemRIEncoding() local 225 return (getMachineOpValue(MI, MO, Fixups, STI) & 0xFFFF) | RegBits; in getMemRIEncoding() 230 return RegBits; in getMemRIEncoding() 240 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 14; in getMemRIXEncoding() local 244 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 2) & 0x3FFF) | RegBits; in getMemRIXEncoding() 249 return RegBits; in getMemRIXEncoding() 258 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 12; in getMemRIX16Encoding() local 263 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 4) & 0xFFF) | RegBits; in getMemRIX16Encoding() 273 uint32_t RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 5; in getSPE8DisEncoding() local 278 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding() [all …]
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 786 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo),Fixups, STI) << 16; in getMemEncoding() local 792 return (OffBits & 0xFFFF) | RegBits; in getMemEncoding() 801 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4() local 806 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4() 815 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl1() local 820 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl1() 829 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl2() local 834 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl2() 873 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, in getMemEncodingMMImm9() local 877 return (OffBits & 0x1FF) | RegBits; in getMemEncodingMMImm9() [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 760 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) in getMemEncoding() local 767 return (OffBits & 0xFFFF) | RegBits; in getMemEncoding() 776 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4() local 781 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4() 790 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl1() local 795 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl1() 804 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl2() local 809 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl2() 848 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, in getMemEncodingMMImm9() local 853 return (OffBits & 0x1FF) | RegBits; in getMemEncodingMMImm9() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 773 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, STI) in getMemEncoding() local 780 return (OffBits & 0xFFFF) | RegBits; in getMemEncoding() 789 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4() local 794 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4() 803 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl1() local 808 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl1() 817 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl2() local 822 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl2() 861 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, in getMemEncodingMMImm9() local 866 return (OffBits & 0x1FF) | RegBits; in getMemEncodingMMImm9() [all …]
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 4261 uint64_t RegBits = ABIAlign * 8; in classifyArgumentType() local 4262 uint64_t NumRegs = llvm::alignTo(Bits, RegBits) / RegBits; in classifyArgumentType() 4263 llvm::Type *RegTy = llvm::IntegerType::get(getVMContext(), RegBits); in classifyArgumentType()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 5253 uint64_t RegBits = ABIAlign * 8; in classifyArgumentType() local 5254 uint64_t NumRegs = llvm::alignTo(Bits, RegBits) / RegBits; in classifyArgumentType() 5255 llvm::Type *RegTy = llvm::IntegerType::get(getVMContext(), RegBits); in classifyArgumentType()
|