reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5135 if (Ty->isFunctionTy()) 5141 V = PFS->GetVal(ID.UIntVal, Ty, ID.Loc, IsCall); 5145 V = PFS->GetVal(ID.StrVal, Ty, ID.Loc, IsCall); 5156 V = GetGlobalVal(ID.StrVal, Ty, ID.Loc, IsCall); 5159 V = GetGlobalVal(ID.UIntVal, Ty, ID.Loc, IsCall); 5162 if (!Ty->isIntegerTy()) 5164 ID.APSIntVal = ID.APSIntVal.extOrTrunc(Ty->getPrimitiveSizeInBits()); 5168 if (!Ty->isFloatingPointTy() || 5169 !ConstantFP::isValueValidForType(Ty, ID.APFloatVal)) 5176 if (Ty->isHalfTy()) 5179 else if (Ty->isFloatTy()) 5185 if (V->getType() != Ty) 5187 getTypeString(Ty) + "'"); 5191 if (!Ty->isPointerTy()) 5193 V = ConstantPointerNull::get(cast<PointerType>(Ty)); 5197 if (!Ty->isFirstClassType() || Ty->isLabelTy()) 5197 if (!Ty->isFirstClassType() || Ty->isLabelTy()) 5199 V = UndefValue::get(Ty); 5202 if (!Ty->isArrayTy() || cast<ArrayType>(Ty)->getNumElements() != 0) 5202 if (!Ty->isArrayTy() || cast<ArrayType>(Ty)->getNumElements() != 0) 5204 V = UndefValue::get(Ty); 5208 if (!Ty->isFirstClassType() || Ty->isLabelTy()) 5208 if (!Ty->isFirstClassType() || Ty->isLabelTy()) 5210 V = Constant::getNullValue(Ty); 5213 if (!Ty->isTokenTy()) 5215 V = Constant::getNullValue(Ty); 5218 if (ID.ConstantVal->getType() != Ty) 5225 if (StructType *ST = dyn_cast<StructType>(Ty)) {