Lines Matching refs:cast
180 StructType *ST = cast<StructType>(T); in WriteTypeSymbolTable()
279 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
282 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable()
292 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable()
304 StructType *ST = cast<StructType>(T); in WriteTypeTable()
316 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
325 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
656 Write##CLASS(cast<CLASS>(N), VE, Stream, Record, CLASS##Abbrev); \ in WriteModuleMetadata()
665 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata()
843 const Constant *C = cast<Constant>(V); in WriteConstants()
896 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants()
897 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants()
960 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
1095 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()
1103 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); in WriteInstruction()
1112 const InsertValueInst *IVI = cast<InsertValueInst>(&I); in WriteInstruction()
1146 Vals.push_back(cast<CmpInst>(I).getPredicate()); in WriteInstruction()
1167 const BranchInst &II = cast<BranchInst>(I); in WriteInstruction()
1178 const SwitchInst &SI = cast<SwitchInst>(I); in WriteInstruction()
1197 const InvokeInst *II = cast<InvokeInst>(&I); in WriteInstruction()
1199 PointerType *PTy = cast<PointerType>(Callee->getType()); in WriteInstruction()
1200 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()
1227 const PHINode &PN = cast<PHINode>(I); in WriteInstruction()
1242 Vals.push_back(Log2_32(cast<AllocaInst>(I).getAlignment())+1); in WriteInstruction()
1250 Vals.push_back(Log2_32(cast<LoadInst>(I).getAlignment())+1); in WriteInstruction()
1251 Vals.push_back(cast<LoadInst>(I).isVolatile()); in WriteInstruction()
1257 Vals.push_back(Log2_32(cast<StoreInst>(I).getAlignment())+1); in WriteInstruction()
1258 Vals.push_back(cast<StoreInst>(I).isVolatile()); in WriteInstruction()
1261 const CallInst &CI = cast<CallInst>(I); in WriteInstruction()
1262 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); in WriteInstruction()
1263 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()