reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1788 if (VectorType *VT = dyn_cast<VectorType>(C1->getType())) 1789 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), 1792 ResultTy = Type::getInt1Ty(C1->getContext()); 1802 if (isa<UndefValue>(C1) || isa<UndefValue>(C2)) { 1808 if (ICmpInst::isEquality(Predicate) || (isIntegerPredicate && C1 == C2)) 1822 if (C1->isNullValue()) { 1829 return ConstantInt::getFalse(C1->getContext()); 1831 return ConstantInt::getTrue(C1->getContext()); 1835 if (const GlobalValue *GV = dyn_cast<GlobalValue>(C1)) 1841 return ConstantInt::getFalse(C1->getContext()); 1843 return ConstantInt::getTrue(C1->getContext()); 1848 if (C1->getType()->isIntegerTy(1)) { 1852 return ConstantExpr::getXor(C1, ConstantExpr::getNot(C2)); 1853 return ConstantExpr::getXor(ConstantExpr::getNot(C1), C2); 1855 return ConstantExpr::getXor(C1, C2); 1861 if (isa<ConstantInt>(C1) && isa<ConstantInt>(C2)) { 1862 const APInt &V1 = cast<ConstantInt>(C1)->getValue(); 1877 } else if (isa<ConstantFP>(C1) && isa<ConstantFP>(C2)) { 1878 const APFloat &C1V = cast<ConstantFP>(C1)->getValueAPF(); 1920 } else if (C1->getType()->isVectorTy()) { 1924 Type *Ty = IntegerType::get(C1->getContext(), 32); 1926 for (unsigned i = 0, e = C1->getType()->getVectorNumElements(); i != e;++i){ 1928 ConstantExpr::getExtractElement(C1, ConstantInt::get(Ty, i)); 1938 if (C1->getType()->isFloatingPointTy() && 1941 (isa<ConstantExpr>(C1) || isa<ConstantExpr>(C2))) { 1943 switch (evaluateFCmpRelation(C1, C2)) { 2008 switch (evaluateICmpRelation(C1, C2, 2085 Constant *Inverse = ConstantExpr::getBitCast(C1, CE2Op0->getType()); 2091 if (ConstantExpr *CE1 = dyn_cast<ConstantExpr>(C1)) { 2108 if ((!isa<ConstantExpr>(C1) && isa<ConstantExpr>(C2)) || 2109 (C1->isNullValue() && !C2->isNullValue())) { 2114 return ConstantExpr::getICmp(pred, C2, C1);