Lines Matching refs:ConstantFolding
365 class ConstantFolding : public Pass
368 ConstantFolding() : foldCount(0) {}
395 ConstantFolding::foldAll(Program *prog)
407 ConstantFolding::visit(BasicBlock *bb)
443 ConstantFolding::findOriginForTestWithZero(Value *value)
554 ConstantFolding::expr(Instruction *i,
788 ConstantFolding::expr(Instruction *i,
875 ConstantFolding::unary(Instruction *i, const ImmediateValue &imm)
906 ConstantFolding::tryCollapseChainedMULs(Instruction *mul2,
971 ConstantFolding::opnd3(Instruction *i, ImmediateValue &imm2)
997 ConstantFolding::createMul(DataType ty, Value *def, Value *a, int64_t b, Value *c)
1052 ConstantFolding::opnd(Instruction *i, ImmediateValue &imm0, int s)
4083 RUN_PASS(1, ConstantFolding, foldAll);