/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 228 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 16; in getMemRIEncoding() local 232 return (getMachineOpValue(MI, MO, Fixups, STI) & 0xFFFF) | RegBits; in getMemRIEncoding() 237 return RegBits; in getMemRIEncoding() 246 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 14; in getMemRIXEncoding() local 250 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 2) & 0x3FFF) | RegBits; in getMemRIXEncoding() 255 return RegBits; in getMemRIXEncoding() 264 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 12; in getMemRIX16Encoding() local 270 return ((getMachineOpValue(MI, MO, Fixups, STI) >> 4) & 0xFFF) | RegBits; in getMemRIX16Encoding() 280 uint32_t RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups, STI) << 5; in getSPE8DisEncoding() local 285 return reverseBits(Imm | RegBits) >> 22; in getSPE8DisEncoding() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 135 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups) << 16; in getMemRIEncoding() local 139 return (getMachineOpValue(MI, MO, Fixups) & 0xFFFF) | RegBits; in getMemRIEncoding() 144 return RegBits; in getMemRIEncoding() 153 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1), Fixups) << 14; in getMemRIXEncoding() local 157 return (getMachineOpValue(MI, MO, Fixups) & 0x3FFF) | RegBits; in getMemRIXEncoding() 162 return RegBits; in getMemRIXEncoding()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCCodeEmitter.cpp | 218 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1)) << 16; in getMemRIEncoding() local 222 return (getMachineOpValue(MI, MO) & 0xFFFF) | RegBits; in getMemRIEncoding() 226 return RegBits; in getMemRIEncoding() 234 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo+1)) << 14; in getMemRIXEncoding() local 238 return (getMachineOpValue(MI, MO) & 0x3FFF) | RegBits; in getMemRIXEncoding() 241 return RegBits; in getMemRIXEncoding()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 760 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo),Fixups, STI) << 16; in getMemEncoding() local 766 return (OffBits & 0xFFFF) | RegBits; in getMemEncoding() 775 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4() local 780 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4() 789 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl1() local 794 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl1() 803 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), in getMemEncodingMMImm4Lsl2() local 808 return (OffBits & 0xF) | RegBits; in getMemEncodingMMImm4Lsl2() 847 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo), Fixups, in getMemEncodingMMImm9() local 851 return (OffBits & 0x1FF) | RegBits; in getMemEncodingMMImm9() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsCodeEmitter.cpp | 163 unsigned RegBits = getMachineOpValue(MI, MI.getOperand(OpNo)) << 16; in getMemEncoding() local 165 (getMachineOpValue(MI, MI.getOperand(OpNo+1)) & 0xFFFF) | RegBits; in getMemEncoding()
|
/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()
|