Lines Matching refs:cast
129 if (!GV) V = cast<ConstantPointerNull>(Init);
253 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices())
257 // Make sure this isn't a truncating or extending cast. We could
261 cast<IntegerType>(Op->getType())->getBitWidth())
265 // Make sure this isn't a truncating or extending cast. We could
269 cast<IntegerType>(I->getType())->getBitWidth())
280 if (cast<CallInst>(I)->paramHasAttr(attrInd, Attribute::Returned) &&
291 if (cast<InvokeInst>(I)->paramHasAttr(attrInd, Attribute::Returned) &&
380 return Idx < cast<StructType>(T)->getNumElements();
418 CompositeType *CT = cast<CompositeType>(DeeperType);
448 indexReallyValid(cast<CompositeType>(Next), 0)) {
449 SubTypes.push_back(cast<CompositeType>(Next));
451 Next = cast<CompositeType>(Next)->getTypeAtIndex(0U);
543 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(),