Lines Matching refs:Opcode
809 /// specified opcode and operands. If successful, the constant result is
815 /// information, due to only being passed an opcode and operands. Constant
818 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
822 if (Instruction::isBinaryOp(Opcode)) {
824 if (Constant *C = SymbolicallyEvaluateBinop(Opcode, Ops[0], Ops[1], TD))
827 return ConstantExpr::get(Opcode, Ops[0], Ops[1]);
830 switch (Opcode) {
856 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);
867 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);
877 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);