Searched refs:RotateAmt (Results 1 – 5 of 5) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceInstARM32.cpp | 367 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() 3364 uint32_t RotateAmt) { in create() argument 3369 while ((Imm & 0x03) == 0 && RotateAmt > 0) { in create() 3370 --RotateAmt; in create() 3374 OperandARM32FlexImm(Func, Ty, Imm, RotateAmt); in create() 3382 uint32_t RotateAmt = getRotateAmt(); in emit() local [all …]
|
D | IceInstARM32.h | 222 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
|
D | IceTargetLoweringARM32.cpp | 6438 uint32_t RotateAmt; in legalize() local 6441 if (OperandARM32FlexImm::canHoldImm(Value, &RotateAmt, &Immed_8)) { in legalize() 6444 auto *OpF = OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize() 6449 } else if (OperandARM32FlexImm::canHoldImm(~Value, &RotateAmt, in legalize() 6455 OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize() 6622 uint32_t RotateAmt; in alignRegisterPow2() local 6628 if (OperandARM32FlexImm::canHoldImm(Align - 1, &RotateAmt, &Immed_8)) { in alignRegisterPow2() 7093 constexpr uint32_t RotateAmt = 2; in indirectBranchBicMask() local 7094 return OperandARM32FlexImm::create(Func, IceType_i32, Imm8, RotateAmt); in indirectBranchBicMask() 7099 constexpr uint32_t RotateAmt = 2; in memOpBicMask() local [all …]
|
D | IceAssemblerARM32.cpp | 326 IValueT encodeRotatedImm8(IValueT RotateAmt, IValueT Immed8) { in encodeRotatedImm8() argument 327 assert(RotateAmt < (1 << kRotateBits)); in encodeRotatedImm8() 329 return (RotateAmt << kRotateShift) | (Immed8 << kImmed8Shift); in encodeRotatedImm8() 854 IValueT RotateAmt; in emitType01() local 856 if (!OperandARM32FlexImm::canHoldImm(Src1Value, &RotateAmt, &Imm8)) in emitType01() 859 Src1Value = encodeRotatedImm8(RotateAmt, Imm8); in emitType01()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 23851 uint64_t RotateAmt = EltBits[0].urem(EltSizeInBits); in LowerRotate() local 23853 DAG.getConstant(RotateAmt, DL, MVT::i8)); in LowerRotate() 23874 uint64_t RotateAmt = RotateConst->getAPIntValue().getZExtValue(); in LowerRotate() local 23875 assert(RotateAmt < EltSizeInBits && "Rotation out of range"); in LowerRotate() 23877 DAG.getConstant(RotateAmt, DL, MVT::i8)); in LowerRotate() 23898 uint64_t RotateAmt = RotateConst->getAPIntValue().getZExtValue(); in LowerRotate() local 23899 assert(RotateAmt < EltSizeInBits && "Rotation out of range"); in LowerRotate() 23900 if (RotateAmt == 0) in LowerRotate() 23903 SDValue AmtR = DAG.getConstant(EltSizeInBits - RotateAmt, DL, VT); in LowerRotate()
|