Lines Matching refs:ConstantExpr
26 class ConstantExpr;
41 /// getOpcode - Return the opcode for this Instruction or ConstantExpr.
46 return cast<ConstantExpr>(this)->getOpcode();
49 /// getOpcode - If V is an Instruction or ConstantExpr, return its
55 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
62 static inline bool classof(const ConstantExpr *) { return true; }
64 return isa<Instruction>(V) || isa<ConstantExpr>(V);
83 friend class ConstantExpr;
113 static inline bool classof(const ConstantExpr *CE) {
121 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
137 friend class ConstantExpr;
155 static inline bool classof(const ConstantExpr *CE) {
163 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
202 static inline bool classof(const ConstantExpr *CE) {
207 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
257 friend class ConstantExpr;