Lines Matching full:opcode
918 /// specified opcode and operands. If successful, the constant result is
924 /// information, due to only being passed an opcode and operands. Constant
927 Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
932 if (Instruction::isBinaryOp(Opcode)) {
934 if (Constant *C = SymbolicallyEvaluateBinop(Opcode, Ops[0], Ops[1], TD))
937 return ConstantExpr::get(Opcode, Ops[0], Ops[1]);
940 switch (Opcode) {
966 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);
977 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);
987 return ConstantExpr::getCast(Opcode, Ops[0], DestTy);