Home | History | Annotate | Download | only in IPO

Lines Matching refs:cast

184   StructType *StructTy = cast<StructType>(type);
286 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType();
677 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
678 StructType *STy = cast<StructType>(AgTy);
701 Instruction *UI = cast<Instruction>(U);
706 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType();
714 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue());
724 OrigLoad = cast<LoadInst>(UI->user_back());
732 cast<PointerType>(I->getType()->getScalarType())->getElementType(),
807 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
808 StructType *STy = cast<StructType>(AgTy);
839 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II);
881 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv());
882 cast<InvokeInst>(New)->setAttributes(AttributeSet::get(II->getContext(),
886 cast<CallInst>(New)->setCallingConv(CS.getCallingConv());
887 cast<CallInst>(New)->setAttributes(AttributeSet::get(New->getContext(),
889 if (cast<CallInst>(Call)->isTailCall())
890 cast<CallInst>(New)->setTailCall();
935 Type *AgTy = cast<PointerType>(I->getType())->getElementType();
937 StructType *STy = cast<StructType>(AgTy);
983 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back());
988 Operands.push_back(cast<ConstantInt>(*II)->getSExtValue());
1013 LoadInst *L = cast<LoadInst>(GEP->user_back());