Lines Matching defs:Expression
77 struct llvm::GVN::Expression {
82 Expression(uint32_t o = ~2U) : opcode(o) {}
84 bool operator==(const Expression &other) const {
96 friend hash_code hash_value(const Expression &Value) {
104 template <> struct DenseMapInfo<GVN::Expression> {
105 static inline GVN::Expression getEmptyKey() { return ~0U; }
107 static inline GVN::Expression getTombstoneKey() { return ~1U; }
109 static unsigned getHashValue(const GVN::Expression &e) {
113 static bool isEqual(const GVN::Expression &LHS, const GVN::Expression &RHS) {
231 GVN::Expression GVN::ValueTable::createExpr(Instruction *I) {
232 Expression e;
265 GVN::Expression GVN::ValueTable::createCmpExpr(unsigned Opcode,
270 Expression e;
284 GVN::Expression GVN::ValueTable::createExtractvalueExpr(ExtractValueInst *EI) {
286 Expression e;
293 // is we'll synthesize a semantically equivalent expression instead on
294 // an extract value expression.
313 // Intrinsic recognized. Grab its args to finish building the expression.
323 // expression.
359 Expression exp = createExpr(C);
365 Expression exp = createExpr(C);
482 Expression exp;
555 Expression exp = createCmpExpr(Opcode, Predicate, LHS, RHS);
2294 // Instantiate an expression in a predecessor that lacked it.