Home | History | Annotate | Download | only in Analysis

Lines Matching full:dyn_cast

76   if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
91 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) {
103 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
125 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
135 if (Argument *A = dyn_cast<Argument>(V)) {
150 Operator *I = dyn_cast<Operator>(V);
328 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
342 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
360 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
381 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(I->getOperand(0))) {
468 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
511 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
562 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
598 Operator *LU = dyn_cast<Operator>(L);
673 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
716 if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
734 if (ZExtInst *ZI = dyn_cast<ZExtInst>(V))
737 if (SelectInst *SI = dyn_cast<SelectInst>(V))
759 if (Constant *C = dyn_cast<Constant>(V)) {
855 else if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
913 Operator *U = dyn_cast<Operator>(V);
923 if (ConstantInt *C = dyn_cast<ConstantInt>(U->getOperand(1))) {
928 if (ConstantVector *C = dyn_cast<ConstantVector>(U->getOperand(1))) {
936 if (ConstantInt *C = dyn_cast<ConstantInt>(U->getOperand(1))) {
971 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(U->getOperand(1)))
998 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0)))
1083 ConstantInt *CI = dyn_cast<ConstantInt>(V);
1093 ConstantExpr *CO = dyn_cast<ConstantExpr>(V);
1108 Operator *I = dyn_cast<Operator>(V);
1125 ConstantInt *Op1CI = dyn_cast<ConstantInt>(Op1);
1137 if (Constant *Op1C = dyn_cast<Constant>(Op1))
1138 if (Constant *MulC = dyn_cast<Constant>(Mul0)) {
1151 if (ConstantInt *Mul0CI = dyn_cast<ConstantInt>(Mul0))
1161 if (Constant *Op0C = dyn_cast<Constant>(Op0))
1162 if (Constant *MulC = dyn_cast<Constant>(Mul1)) {
1175 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1))
1196 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V))
1202 const Operator *I = dyn_cast<Operator>(V);
1215 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
1220 if (const CallInst *CI = dyn_cast<CallInst>(I))
1248 if (Constant *C = dyn_cast<Constant>(V))
1254 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
1264 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
1287 if (ConstantArray *CA = dyn_cast<ConstantArray>(V)) {
1322 llvm::StructType *STy = llvm::dyn_cast<llvm::StructType>(IndexedType);
1414 else if (Constant *C = dyn_cast<Constant>(V)) {
1419 } else if (InsertValueInst *I = dyn_cast<InsertValueInst>(V)) {
1457 } else if (ExtractValueInst *I = dyn_cast<ExtractValueInst>(V)) {
1488 Operator *PtrOp = dyn_cast<Operator>(Ptr);
1496 GEPOperator *GEP = dyn_cast<GEPOperator>(PtrOp);
1506 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
1534 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(V))
1541 if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(V)) {
1543 } else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) {
1558 ArrayType *AT = dyn_cast<ArrayType>(PT->getElementType());
1564 const ConstantInt *FirstIdx = dyn_cast<ConstantInt>(GEP->getOperand(1));
1572 if (const ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(2)))
1583 const GlobalVariable* GV = dyn_cast<GlobalVariable>(V);
1597 const ConstantArray *Array = dyn_cast<ConstantArray>(GlobalInit);
1612 const ConstantInt *CI = dyn_cast<ConstantInt>(Elt);
1632 if (BitCastInst *BCI = dyn_cast<BitCastInst>(V))
1637 if (PHINode *PN = dyn_cast<PHINode>(V)) {
1659 if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
1673 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(V)) {
1675 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) {
1689 if (ConstantInt *Idx = dyn_cast<ConstantInt>(GEP->getOperand(1))) {
1699 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(2)))
1707 GlobalVariable* GV = dyn_cast<GlobalVariable>(GEP->getOperand(0));
1719 ConstantArray *Array = dyn_cast<ConstantArray>(GlobalInit);
1730 ConstantInt *CI = dyn_cast<ConstantInt>(Elt);
1757 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
1761 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
1767 if (Instruction *I = dyn_cast<Instruction>(V))
1787 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(*UI);