Home | History | Annotate | Download | only in Analysis

Lines Matching refs:dyn_cast

51     if (ConstantInt *CLHS = dyn_cast<ConstantInt>(Op0)) {
245 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
261 if (ConstantDataSequential *CDS = dyn_cast<ConstantDataSequential>(V)) {
275 if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
278 if (GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV)) {
301 if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
310 if (Argument *A = dyn_cast<Argument>(V)) {
334 Operator *I = dyn_cast<Operator>(V);
486 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
498 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
514 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
547 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
584 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
630 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
664 Operator *LU = dyn_cast<Operator>(L);
735 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
760 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I->getOperand(0))) {
812 if (Constant *C = dyn_cast<Constant>(V)) {
815 if (ConstantInt *CI = dyn_cast<ConstantInt>(C))
840 if (ZExtInst *ZI = dyn_cast<ZExtInst>(V))
843 if (SelectInst *SI = dyn_cast<SelectInst>(V))
898 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
914 if (ConstantInt *OpC = dyn_cast<ConstantInt>(GTI.getOperand())) {
940 if (Constant *C = dyn_cast<Constant>(V)) {
958 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V))
1052 else if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
1109 Operator *U = dyn_cast<Operator>(V);
1165 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(U->getOperand(1)))
1190 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0)))
1273 ConstantInt *CI = dyn_cast<ConstantInt>(V);
1283 ConstantExpr *CO = dyn_cast<ConstantExpr>(V);
1298 Operator *I = dyn_cast<Operator>(V);
1315 ConstantInt *Op1CI = dyn_cast<ConstantInt>(Op1);
1327 if (Constant *Op1C = dyn_cast<Constant>(Op1))
1328 if (Constant *MulC = dyn_cast<Constant>(Mul0)) {
1341 if (ConstantInt *Mul0CI = dyn_cast<ConstantInt>(Mul0))
1351 if (Constant *Op0C = dyn_cast<Constant>(Op0))
1352 if (Constant *MulC = dyn_cast<Constant>(Mul1)) {
1365 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1))
1386 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V))
1392 const Operator *I = dyn_cast<Operator>(V);
1396 if (const FPMathOperator *FPO = dyn_cast<FPMathOperator>(I))
1402 if (ConstantFP *CFP = dyn_cast<ConstantFP>(I->getOperand(1)))
1410 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
1415 if (const CallInst *CI = dyn_cast<CallInst>(I))
1443 if (Constant *C = dyn_cast<Constant>(V))
1449 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
1459 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
1482 if (ConstantDataSequential *CA = dyn_cast<ConstantDataSequential>(V)) {
1515 llvm::StructType *STy = dyn_cast<llvm::StructType>(IndexedType);
1600 if (Constant *C = dyn_cast<Constant>(V)) {
1606 if (InsertValueInst *I = dyn_cast<InsertValueInst>(V)) {
1646 if (ExtractValueInst *I = dyn_cast<ExtractValueInst>(V)) {
1685 if (GEPOperator *GEP = dyn_cast<GEPOperator>(Ptr)) {
1693 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(Ptr)) {
1718 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
1725 ArrayType *AT = dyn_cast<ArrayType>(PT->getElementType());
1731 const ConstantInt *FirstIdx = dyn_cast<ConstantInt>(GEP->getOperand(1));
1739 if (const ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(2)))
1749 const GlobalVariable *GV = dyn_cast<GlobalVariable>(V);
1763 dyn_cast<ConstantDataArray>(GV->getInitializer());
1800 if (PHINode *PN = dyn_cast<PHINode>(V)) {
1822 if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
1858 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
1862 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
1868 if (Instruction *I = dyn_cast<Instruction>(V))
1897 if (SelectInst *SI = dyn_cast<SelectInst>(P)) {
1903 if (PHINode *PN = dyn_cast<PHINode>(P)) {
1919 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(*UI);
1931 const Operator *Inst = dyn_cast<Operator>(V);
1936 if (Constant *C = dyn_cast<Constant>(Inst->getOperand(i)))
1969 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
2027 if (const Argument *A = dyn_cast<Argument>(V))
2031 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V))