Lines Matching refs:ConstantInteger32
223 if (auto *Const = llvm::dyn_cast_or_null<ConstantInteger32>(Op)) { in isGuaranteedNonzeroInt()
554 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in genTargetHelperCallFor()
1811 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(Offset)), in createMemOperand()
1830 llvm::cast<ConstantInteger32>(Target->Ctx->getConstantInt32(OffsetDiff)), in createMemOperand()
2155 ConstantInteger32 *Offset = Mem->getOffset(); in hiOperand()
2172 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(NextOffsetVal)); in hiOperand()
2246 llvm::dyn_cast<ConstantInteger32>(TotalSize)) { in lowerAlloca()
2503 class Int32Operands : public NumericOperands<ConstantInteger32> {
2575 if (auto *C = llvm::dyn_cast<ConstantInteger32>(Src1)) { in preambleDivRem()
2975 Func, llvm::cast<ConstantInteger32>( in createShiftedOperand()
3442 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic()
3466 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic()
3491 ConstantInteger32 *ShAmt = llvm::cast<ConstantInteger32>(Srcs.src1()); in lowerArithmetic()
3760 ConstantInteger32 *Loc = in lowerCall()
3761 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(StackArg.second)); in lowerCall()
3907 ConstantInteger32 *ShAmt = nullptr; in lowerCast()
3912 ShAmt = llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(7)); in lowerCast()
3915 ShAmt = llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(15)); in lowerCast()
3918 ShAmt = llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(31)); in lowerCast()
4243 if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src1)) { in lowerExtractElement()
4342 _mov(T, llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(0))); in lowerFcmp()
4350 _mov(T, llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(1))); in lowerFcmp()
4739 auto *Imm = llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(ShAmt)); in lowerIcmp()
4805 if (const auto *Imm = llvm::dyn_cast<ConstantInteger32>(Src2)) { in lowerInsertElement()
4824 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd)) in getConstantMemoryOrder()
4911 if (llvm::isa<ConstantInteger32>(Val)) { in lowerAtomicRMW()
5022 auto *CI = llvm::dyn_cast<ConstantInteger32>(ByteSize); in lowerIntrinsicCall()
5195 llvm::cast<ConstantInteger32>(Instr->getArg(0))->getValue()), in lowerIntrinsicCall()
5294 llvm::cast<ConstantInteger32>(Ctx->getConstantZero(IceType_i32)))); in lowerIntrinsicCall()
5334 assert(llvm::isa<ConstantInteger32>(Instr->getArg(1)) && in lowerIntrinsicCall()
5338 auto *SubVectorSize = llvm::cast<ConstantInteger32>(Instr->getArg(1)); in lowerIntrinsicCall()
5364 assert(llvm::isa<ConstantInteger32>(Instr->getArg(2)) && in lowerIntrinsicCall()
5366 auto *SubVectorSize = llvm::cast<ConstantInteger32>(Instr->getArg(2)); in lowerIntrinsicCall()
5533 } else if (auto *Const = llvm::dyn_cast<ConstantInteger32>(SrcOp)) { in matchAssign()
5628 auto *Const = llvm::dyn_cast<ConstantInteger32>(ArithInst->getSrc(1)); in matchShiftedOffsetReg()
5630 assert(!llvm::isa<ConstantInteger32>(ArithInst->getSrc(0))); in matchShiftedOffsetReg()
5715 auto *Const0 = llvm::dyn_cast<ConstantInteger32>(Src0); in matchOffsetBase()
5716 auto *Const1 = llvm::dyn_cast<ConstantInteger32>(Src1); in matchOffsetBase()
5906 llvm::cast<ConstantInteger32>(Ctx->getConstantInt32(OffsetImm))); in formAddressingMode()
6366 ConstantInteger32 *Offset = Mem->getOffset(); in legalize()
6437 if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(From)) { in legalize()
6594 llvm::cast<ConstantInteger32>(Ctx->getConstantZero(IceType_i32))); in formMemoryOperand()
6655 void TargetARM32::emit(const ConstantInteger32 *C) const { in emit()