Lines Matching refs:C2

1836 Constant *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2,  in get()  argument
1841 assert(C1->getType() == C2->getType() && in get()
1849 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1856 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1863 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1868 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1874 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1879 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1886 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1893 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in get()
1902 if (Constant *FC = ConstantFoldBinaryInstruction(Opcode, C1, C2)) in get()
1908 Constant *ArgVec[] = { C1, C2 }; in get()
1957 Constant *C2, bool OnlyIfReduced) { in getCompare() argument
1958 assert(C1->getType() == C2->getType() && "Op types should be identical!"); in getCompare()
1968 return getFCmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
1974 return getICmp(Predicate, C1, C2, OnlyIfReduced); in getCompare()
2238 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() argument
2242 return get(Instruction::Add, C1, C2, Flags); in getAdd()
2245 Constant *ConstantExpr::getFAdd(Constant *C1, Constant *C2) { in getFAdd() argument
2246 return get(Instruction::FAdd, C1, C2); in getFAdd()
2249 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() argument
2253 return get(Instruction::Sub, C1, C2, Flags); in getSub()
2256 Constant *ConstantExpr::getFSub(Constant *C1, Constant *C2) { in getFSub() argument
2257 return get(Instruction::FSub, C1, C2); in getFSub()
2260 Constant *ConstantExpr::getMul(Constant *C1, Constant *C2, in getMul() argument
2264 return get(Instruction::Mul, C1, C2, Flags); in getMul()
2267 Constant *ConstantExpr::getFMul(Constant *C1, Constant *C2) { in getFMul() argument
2268 return get(Instruction::FMul, C1, C2); in getFMul()
2271 Constant *ConstantExpr::getUDiv(Constant *C1, Constant *C2, bool isExact) { in getUDiv() argument
2272 return get(Instruction::UDiv, C1, C2, in getUDiv()
2276 Constant *ConstantExpr::getSDiv(Constant *C1, Constant *C2, bool isExact) { in getSDiv() argument
2277 return get(Instruction::SDiv, C1, C2, in getSDiv()
2281 Constant *ConstantExpr::getFDiv(Constant *C1, Constant *C2) { in getFDiv() argument
2282 return get(Instruction::FDiv, C1, C2); in getFDiv()
2285 Constant *ConstantExpr::getURem(Constant *C1, Constant *C2) { in getURem() argument
2286 return get(Instruction::URem, C1, C2); in getURem()
2289 Constant *ConstantExpr::getSRem(Constant *C1, Constant *C2) { in getSRem() argument
2290 return get(Instruction::SRem, C1, C2); in getSRem()
2293 Constant *ConstantExpr::getFRem(Constant *C1, Constant *C2) { in getFRem() argument
2294 return get(Instruction::FRem, C1, C2); in getFRem()
2297 Constant *ConstantExpr::getAnd(Constant *C1, Constant *C2) { in getAnd() argument
2298 return get(Instruction::And, C1, C2); in getAnd()
2301 Constant *ConstantExpr::getOr(Constant *C1, Constant *C2) { in getOr() argument
2302 return get(Instruction::Or, C1, C2); in getOr()
2305 Constant *ConstantExpr::getXor(Constant *C1, Constant *C2) { in getXor() argument
2306 return get(Instruction::Xor, C1, C2); in getXor()
2309 Constant *ConstantExpr::getShl(Constant *C1, Constant *C2, in getShl() argument
2313 return get(Instruction::Shl, C1, C2, Flags); in getShl()
2316 Constant *ConstantExpr::getLShr(Constant *C1, Constant *C2, bool isExact) { in getLShr() argument
2317 return get(Instruction::LShr, C1, C2, in getLShr()
2321 Constant *ConstantExpr::getAShr(Constant *C1, Constant *C2, bool isExact) { in getAShr() argument
2322 return get(Instruction::AShr, C1, C2, in getAShr()