Home
last modified time | relevance | path

Searched refs:RotateAmt (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceInstARM32.cpp362 uint32_t Imm, uint32_t RotateAmt) in OperandARM32FlexImm() argument
363 : OperandARM32Flex(kFlexImm, Ty), Imm(Imm), RotateAmt(RotateAmt) { in OperandARM32FlexImm()
368 bool OperandARM32FlexImm::canHoldImm(uint32_t Immediate, uint32_t *RotateAmt, in canHoldImm() argument
372 *RotateAmt = 0; in canHoldImm()
380 *RotateAmt = Rot; in canHoldImm()
3286 uint32_t RotateAmt) { in create() argument
3291 while ((Imm & 0x03) == 0 && RotateAmt > 0) { in create()
3292 --RotateAmt; in create()
3296 OperandARM32FlexImm(Func, Ty, Imm, RotateAmt); in create()
3304 uint32_t RotateAmt = getRotateAmt(); in emit() local
[all …]
DIceInstARM32.h221 uint32_t RotateAmt);
233 static bool canHoldImm(uint32_t Immediate, uint32_t *RotateAmt,
237 uint32_t getRotateAmt() const { return RotateAmt; } in getRotateAmt()
240 OperandARM32FlexImm(Cfg *Func, Type Ty, uint32_t Imm, uint32_t RotateAmt);
243 uint32_t RotateAmt; variable
DIceAssemblerARM32.cpp326 IValueT encodeRotatedImm8(IValueT RotateAmt, IValueT Immed8) { in encodeRotatedImm8() argument
327 assert(RotateAmt < (1 << kRotateBits)); in encodeRotatedImm8()
329 return (RotateAmt << kRotateShift) | (Immed8 << kImmed8Shift); in encodeRotatedImm8()
855 IValueT RotateAmt; in emitType01() local
857 if (!OperandARM32FlexImm::canHoldImm(Src1Value, &RotateAmt, &Imm8)) in emitType01()
860 Src1Value = encodeRotatedImm8(RotateAmt, Imm8); in emitType01()
DIceTargetLoweringARM32.cpp6167 uint32_t RotateAmt; in legalize() local
6170 if (OperandARM32FlexImm::canHoldImm(Value, &RotateAmt, &Immed_8)) { in legalize()
6173 auto *OpF = OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize()
6178 } else if (OperandARM32FlexImm::canHoldImm(~Value, &RotateAmt, in legalize()
6184 OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize()
6333 uint32_t RotateAmt; in alignRegisterPow2() local
6339 if (OperandARM32FlexImm::canHoldImm(Align - 1, &RotateAmt, &Immed_8)) { in alignRegisterPow2()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp20462 uint64_t RotateAmt = RotateConst->getAPIntValue().getZExtValue(); in LowerRotate() local
20463 assert(RotateAmt < VT.getScalarSizeInBits() && "Rotation out of range"); in LowerRotate()
20465 DAG.getConstant(RotateAmt, DL, MVT::i8)); in LowerRotate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp27136 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits); in LowerRotate() local
27138 DAG.getTargetConstant(RotateAmt, DL, MVT::i8)); in LowerRotate()
27157 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits); in LowerRotate() local
27159 DAG.getTargetConstant(RotateAmt, DL, MVT::i8)); in LowerRotate()