Lines Matching refs:C2
2288 Constant *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2, in get() argument
2293 assert(C1->getType() == C2->getType() && in get()
2334 if (Constant *FC = ConstantFoldBinaryInstruction(Opcode, C1, C2)) in get()
2340 Constant *ArgVec[] = { C1, C2 }; in get()
2389 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
2390 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in getCompare()
2400 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2406 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2680 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() argument
2684 return get(Instruction::Add, C1, C2, Flags); in getAdd()
2687 Constant *ConstantExpr::getFAdd(Constant *C1, Constant *C2) { in getFAdd() argument
2688 return get(Instruction::FAdd, C1, C2); in getFAdd()
2691 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() argument
2695 return get(Instruction::Sub, C1, C2, Flags); in getSub()
2698 Constant *ConstantExpr::getFSub(Constant *C1, Constant *C2) { in getFSub() argument
2699 return get(Instruction::FSub, C1, C2); in getFSub()
2702 Constant *ConstantExpr::getMul(Constant *C1, Constant *C2, in getMul() argument
2706 return get(Instruction::Mul, C1, C2, Flags); in getMul()
2709 Constant *ConstantExpr::getFMul(Constant *C1, Constant *C2) { in getFMul() argument
2710 return get(Instruction::FMul, C1, C2); in getFMul()
2713 Constant *ConstantExpr::getUDiv(Constant *C1, Constant *C2, bool isExact) { in getUDiv() argument
2714 return get(Instruction::UDiv, C1, C2, in getUDiv()
2718 Constant *ConstantExpr::getSDiv(Constant *C1, Constant *C2, bool isExact) { in getSDiv() argument
2719 return get(Instruction::SDiv, C1, C2, in getSDiv()
2723 Constant *ConstantExpr::getFDiv(Constant *C1, Constant *C2) { in getFDiv() argument
2724 return get(Instruction::FDiv, C1, C2); in getFDiv()
2727 Constant *ConstantExpr::getURem(Constant *C1, Constant *C2) { in getURem() argument
2728 return get(Instruction::URem, C1, C2); in getURem()
2731 Constant *ConstantExpr::getSRem(Constant *C1, Constant *C2) { in getSRem() argument
2732 return get(Instruction::SRem, C1, C2); in getSRem()
2735 Constant *ConstantExpr::getFRem(Constant *C1, Constant *C2) { in getFRem() argument
2736 return get(Instruction::FRem, C1, C2); in getFRem()
2739 Constant *ConstantExpr::getAnd(Constant *C1, Constant *C2) { in getAnd() argument
2740 return get(Instruction::And, C1, C2); in getAnd()
2743 Constant *ConstantExpr::getOr(Constant *C1, Constant *C2) { in getOr() argument
2744 return get(Instruction::Or, C1, C2); in getOr()
2747 Constant *ConstantExpr::getXor(Constant *C1, Constant *C2) { in getXor() argument
2748 return get(Instruction::Xor, C1, C2); in getXor()
2751 Constant *ConstantExpr::getUMin(Constant *C1, Constant *C2) { in getUMin() argument
2752 Constant *Cmp = ConstantExpr::getICmp(CmpInst::ICMP_ULT, C1, C2); in getUMin()
2753 return getSelect(Cmp, C1, C2); in getUMin()
2756 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() argument
2760 return get(Instruction::Shl, C1, C2, Flags); in getShl()
2763 Constant *ConstantExpr::getLShr(Constant *C1, Constant *C2, bool isExact) { in getLShr() argument
2764 return get(Instruction::LShr, C1, C2, in getLShr()
2768 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) { in getAShr() argument
2769 return get(Instruction::AShr, C1, C2, in getAShr()