Lines Matching defs:ConstantExpr
784 /// ConstantExpr - a constant value that is initialized with an expression using
788 /// constant expressions. The Opcode field for the ConstantExpr class is
790 class ConstantExpr : public Constant {
791 friend struct ConstantCreator<ConstantExpr,Type,
793 friend struct ConvertConstantType<ConstantExpr, Type>;
796 ConstantExpr(Type *ty, unsigned Opcode, Use *Ops, unsigned NumOps)
803 // Static methods to construct a ConstantExpr of different kinds. Note that
805 // ConstantExpr class, because they will attempt to fold the constant
1079 /// as this ConstantExpr. The instruction is not linked to any basic block.
1082 /// which would take a ConstantExpr parameter, but that would have spread
1083 /// implementation details of ConstantExpr outside of Constants.cpp, which
1104 struct OperandTraits<ConstantExpr> :
1105 public VariadicOperandTraits<ConstantExpr, 1> {
1108 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantExpr, Constant)