Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceInstARM32.cpp367 uint32_t Imm, uint32_t RotateAmt) in OperandARM32FlexImm() argument
368 : OperandARM32Flex(kFlexImm, Ty), Imm(Imm), RotateAmt(RotateAmt) { in OperandARM32FlexImm()
373 bool OperandARM32FlexImm::canHoldImm(uint32_t Immediate, uint32_t *RotateAmt, in canHoldImm() argument
377 *RotateAmt = 0; in canHoldImm()
385 *RotateAmt = Rot; in canHoldImm()
2967 uint32_t RotateAmt) { in create() argument
2972 while ((Imm & 0x03) == 0 && RotateAmt > 0) { in create()
2973 --RotateAmt; in create()
2977 OperandARM32FlexImm(Func, Ty, Imm, RotateAmt); in create()
2985 uint32_t RotateAmt = getRotateAmt(); in emit() local
[all …]
DIceInstARM32.h222 uint32_t RotateAmt);
234 static bool canHoldImm(uint32_t Immediate, uint32_t *RotateAmt,
238 uint32_t getRotateAmt() const { return RotateAmt; } in getRotateAmt()
241 OperandARM32FlexImm(Cfg *Func, Type Ty, uint32_t Imm, uint32_t RotateAmt);
244 uint32_t RotateAmt; variable
DIceTargetLoweringARM32.cpp6206 uint32_t RotateAmt; in legalize() local
6209 if (OperandARM32FlexImm::canHoldImm(Value, &RotateAmt, &Immed_8)) { in legalize()
6212 auto *OpF = OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize()
6217 } else if (OperandARM32FlexImm::canHoldImm(~Value, &RotateAmt, in legalize()
6223 OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize()
6390 uint32_t RotateAmt; in alignRegisterPow2() local
6396 if (OperandARM32FlexImm::canHoldImm(Align - 1, &RotateAmt, &Immed_8)) { in alignRegisterPow2()
6861 constexpr uint32_t RotateAmt = 2; in indirectBranchBicMask() local
6862 return OperandARM32FlexImm::create(Func, IceType_i32, Imm8, RotateAmt); in indirectBranchBicMask()
6867 constexpr uint32_t RotateAmt = 2; in memOpBicMask() local
[all …]
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()
835 IValueT RotateAmt; in emitType01() local
837 if (!OperandARM32FlexImm::canHoldImm(Src1Value, &RotateAmt, &Imm8)) in emitType01()
840 Src1Value = encodeRotatedImm8(RotateAmt, Imm8); in emitType01()
/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()