reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
523 if (isa<UndefValue>(V)) { 533 if (V->isNullValue() && !DestTy->isX86_MMXTy() && 539 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) { 572 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && 572 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && 574 DestTy->getVectorNumElements() == V->getType()->getVectorNumElements()) { 578 Type *Ty = IntegerType::get(V->getContext(), 32); 579 for (unsigned i = 0, e = V->getType()->getVectorNumElements(); i != e; ++i) { 581 ConstantExpr::getExtractElement(V, ConstantInt::get(Ty, i)); 594 if (ConstantFP *FPC = dyn_cast<ConstantFP>(V)) { 605 return ConstantFP::get(V->getContext(), Val); 610 if (ConstantFP *FPC = dyn_cast<ConstantFP>(V)) { 625 if (V->isNullValue()) // Is it an integral null value? 630 if (V->isNullValue()) 635 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) 683 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 689 return ConstantFP::get(V->getContext(), apf); 693 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 695 return ConstantInt::get(V->getContext(), 700 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 702 return ConstantInt::get(V->getContext(), 707 if (V->getType()->isVectorTy()) 711 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) { 712 return ConstantInt::get(V->getContext(), 720 (cast<IntegerType>(V->getType())->getBitWidth() & 7) == 0) 721 if (Constant *Res = ExtractConstantBytes(V, 0, DestBitWidth / 8)) 727 return FoldBitCast(V, DestTy);