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()
315 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
324 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
655 Write##CLASS(cast<CLASS>(N), VE, Stream, Record, CLASS##Abbrev); \ in WriteModuleMetadata()
664 const MDString *MDS = cast<MDString>(MD); in WriteModuleMetadata()
842 const Constant *C = cast<Constant>(V); in WriteConstants()
895 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants()
896 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants()
959 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
1094 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()
1102 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); in WriteInstruction()
1111 const InsertValueInst *IVI = cast<InsertValueInst>(&I); in WriteInstruction()
1145 Vals.push_back(cast<CmpInst>(I).getPredicate()); in WriteInstruction()
1166 const BranchInst &II = cast<BranchInst>(I); in WriteInstruction()
1177 const SwitchInst &SI = cast<SwitchInst>(I); in WriteInstruction()
1196 const InvokeInst *II = cast<InvokeInst>(&I); in WriteInstruction()
1198 PointerType *PTy = cast<PointerType>(Callee->getType()); in WriteInstruction()
1199 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()
1226 const PHINode &PN = cast<PHINode>(I); in WriteInstruction()
1241 Vals.push_back(Log2_32(cast<AllocaInst>(I).getAlignment())+1); in WriteInstruction()
1249 Vals.push_back(Log2_32(cast<LoadInst>(I).getAlignment())+1); in WriteInstruction()
1250 Vals.push_back(cast<LoadInst>(I).isVolatile()); in WriteInstruction()
1256 Vals.push_back(Log2_32(cast<StoreInst>(I).getAlignment())+1); in WriteInstruction()
1257 Vals.push_back(cast<StoreInst>(I).isVolatile()); in WriteInstruction()
1260 const CallInst &CI = cast<CallInst>(I); in WriteInstruction()
1261 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); in WriteInstruction()
1262 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()