Lines Matching defs:Opnd
146 const Inst *getProducerFor(const Operand *Opnd) const;
322 const Inst *BoolFolding<Traits>::getProducerFor(const Operand *Opnd) const {
323 auto *Var = llvm::dyn_cast<const Variable>(Opnd);
793 inline uint64_t getConstantMemoryOrder(Operand *Opnd) {
794 if (auto *Integer = llvm::dyn_cast<ConstantInteger32>(Opnd))
3503 inline bool isZero(const Operand *Opnd) {
3504 if (auto *C64 = llvm::dyn_cast<ConstantInteger64>(Opnd))
3506 if (auto *C32 = llvm::dyn_cast<ConstantInteger32>(Opnd))
5940 void TargetX86Base<TraitsType>::doMockBoundsCheck(Operand *Opnd) {
5943 if (auto *Mem = llvm::dyn_cast<X86OperandMem>(Opnd)) {
5945 llvm::report_fatal_error("doMockBoundsCheck: Opnd contains index reg");
5947 Opnd = Mem->getBase();
5949 // At this point Opnd could be nullptr, or Variable, or Constant, or perhaps
5951 auto *Var = llvm::dyn_cast_or_null<Variable>(Opnd);
5961 _cmp(Opnd, Ctx->getConstantZero(IceType_i32));
5963 _cmp(Opnd, Ctx->getConstantInt32(1));
8072 TargetX86Base<TraitsType>::formMemoryOperand(Operand *Opnd, Type Ty,
8074 auto *Mem = llvm::dyn_cast<X86OperandMem>(Opnd);
8079 auto *Base = llvm::dyn_cast<Variable>(Opnd);
8080 auto *Offset = llvm::dyn_cast<Constant>(Opnd);