Home
last modified time | relevance | path

Searched refs:RegBits (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp221 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/
DPPCMCCodeEmitter.cpp228 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/
DPPCMCCodeEmitter.cpp135 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/
DPPCCodeEmitter.cpp218 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/
DMipsMCCodeEmitter.cpp786 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/
DMipsMCCodeEmitter.cpp760 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/
DMipsCodeEmitter.cpp163 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/
DTargetInfo.cpp4261 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()