Searched refs:RotateAmt (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/subzero/src/ |
D | IceInstARM32.cpp | 362 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() 3367 uint32_t RotateAmt) { in create() argument 3372 while ((Imm & 0x03) == 0 && RotateAmt > 0) { in create() 3373 --RotateAmt; in create() 3377 OperandARM32FlexImm(Func, Ty, Imm, RotateAmt); in create() 3385 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 | 6427 uint32_t RotateAmt; in legalize() local 6430 if (OperandARM32FlexImm::canHoldImm(Value, &RotateAmt, &Immed_8)) { in legalize() 6433 auto *OpF = OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize() 6438 } else if (OperandARM32FlexImm::canHoldImm(~Value, &RotateAmt, in legalize() 6444 OperandARM32FlexImm::create(Func, Ty, Immed_8, RotateAmt); in legalize() 6611 uint32_t RotateAmt; in alignRegisterPow2() local 6617 if (OperandARM32FlexImm::canHoldImm(Align - 1, &RotateAmt, &Immed_8)) { in alignRegisterPow2() 7073 constexpr uint32_t RotateAmt = 2; in indirectBranchBicMask() local 7074 return OperandARM32FlexImm::create(Func, IceType_i32, Imm8, RotateAmt); in indirectBranchBicMask() 7079 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() 857 IValueT RotateAmt; in emitType01() local 859 if (!OperandARM32FlexImm::canHoldImm(Src1Value, &RotateAmt, &Imm8)) in emitType01() 862 Src1Value = encodeRotatedImm8(RotateAmt, Imm8); in emitType01()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 12288 int RotateAmt = -1; in matchShuffleAsBitRotate() local 12297 if (0 <= RotateAmt && Offset != RotateAmt) in matchShuffleAsBitRotate() 12299 RotateAmt = Offset; in matchShuffleAsBitRotate() 12302 return RotateAmt; in matchShuffleAsBitRotate() 12315 int RotateAmt = matchShuffleAsBitRotate(Mask, NumSubElts); in matchShuffleAsBitRotate() local 12316 if (RotateAmt < 0) in matchShuffleAsBitRotate() 12322 return RotateAmt * EltSizeInBits; in matchShuffleAsBitRotate() 12341 int RotateAmt = matchShuffleAsBitRotate(RotateVT, VT.getScalarSizeInBits(), in lowerShuffleAsBitRotate() local 12343 if (RotateAmt < 0) in lowerShuffleAsBitRotate() 12350 if ((RotateAmt % 16) == 0) in lowerShuffleAsBitRotate() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 27133 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits); in LowerRotate() local 27135 DAG.getTargetConstant(RotateAmt, DL, MVT::i8)); in LowerRotate() 27154 uint64_t RotateAmt = EltBits[CstSplatIndex].urem(EltSizeInBits); in LowerRotate() local 27156 DAG.getTargetConstant(RotateAmt, DL, MVT::i8)); in LowerRotate()
|