Lines Matching refs:cast
180 StructType *ST = cast<StructType>(T); in WriteTypeSymbolTable()
326 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); in WriteTypeTable()
329 PointerType *PTy = cast<PointerType>(T); in WriteTypeTable()
339 FunctionType *FT = cast<FunctionType>(T); in WriteTypeTable()
351 StructType *ST = cast<StructType>(T); in WriteTypeTable()
362 ArrayType *AT = cast<ArrayType>(T); in WriteTypeTable()
371 VectorType *VT = cast<VectorType>(T); in WriteTypeTable()
817 const Constant *C = cast<Constant>(V); in WriteConstants()
870 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants()
871 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants()
934 if (cast<GEPOperator>(C)->isInBounds()) in WriteConstants()
1069 if (cast<GEPOperator>(&I)->isInBounds()) in WriteInstruction()
1077 const ExtractValueInst *EVI = cast<ExtractValueInst>(&I); in WriteInstruction()
1086 const InsertValueInst *IVI = cast<InsertValueInst>(&I); in WriteInstruction()
1120 Vals.push_back(cast<CmpInst>(I).getPredicate()); in WriteInstruction()
1141 const BranchInst &II = cast<BranchInst>(I); in WriteInstruction()
1152 const SwitchInst &SI = cast<SwitchInst>(I); in WriteInstruction()
1172 const InvokeInst *II = cast<InvokeInst>(&I); in WriteInstruction()
1174 PointerType *PTy = cast<PointerType>(Callee->getType()); in WriteInstruction()
1175 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()
1202 const PHINode &PN = cast<PHINode>(I); in WriteInstruction()
1217 Vals.push_back(Log2_32(cast<AllocaInst>(I).getAlignment())+1); in WriteInstruction()
1225 Vals.push_back(Log2_32(cast<LoadInst>(I).getAlignment())+1); in WriteInstruction()
1226 Vals.push_back(cast<LoadInst>(I).isVolatile()); in WriteInstruction()
1232 Vals.push_back(Log2_32(cast<StoreInst>(I).getAlignment())+1); in WriteInstruction()
1233 Vals.push_back(cast<StoreInst>(I).isVolatile()); in WriteInstruction()
1236 const CallInst &CI = cast<CallInst>(I); in WriteInstruction()
1237 PointerType *PTy = cast<PointerType>(CI.getCalledValue()->getType()); in WriteInstruction()
1238 FunctionType *FTy = cast<FunctionType>(PTy->getElementType()); in WriteInstruction()