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)) {
325 Operator *I = dyn_cast<Operator>(V);
474 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
486 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
502 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
535 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
572 if (ConstantInt *Rem = dyn_cast<ConstantInt>(I->getOperand(1))) {
618 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
652 Operator *LU = dyn_cast<Operator>(L);
723 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
748 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I->getOperand(0))) {
801 if (Constant *C = dyn_cast<Constant>(V)) {
804 if (ConstantInt *CI = dyn_cast<ConstantInt>(C))
829 if (ZExtInst *ZI = dyn_cast<ZExtInst>(V))
832 if (SelectInst *SI = dyn_cast<SelectInst>(V))
863 if (Constant *C = dyn_cast<Constant>(V)) {
966 else if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
1023 Operator *U = dyn_cast<Operator>(V);
1079 if (ConstantInt *CRHS = dyn_cast<ConstantInt>(U->getOperand(1)))
1104 if (ConstantInt *CLHS = dyn_cast<ConstantInt>(U->getOperand(0)))
1187 ConstantInt *CI = dyn_cast<ConstantInt>(V);
1197 ConstantExpr *CO = dyn_cast<ConstantExpr>(V);
1212 dyn_cast<Operator>(V);
1229 ConstantInt *Op1CI = dyn_cast<ConstantInt>(Op1);
1241 if (Constant *Op1C = dyn_cast<Constant>(Op1))
1242 if (Constant *MulC = dyn_cast<Constant>(Mul0)) {
1255 if (ConstantInt *Mul0CI = dyn_cast<ConstantInt>(Mul0))
1265 if (Constant *Op0C = dyn_cast<Constant>(Op0))
1266 if (Constant *MulC = dyn_cast<Constant>(Mul1)) {
1279 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1))
1300 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(V))
1306 const Operator *I = dyn_cast<Operator>(V);
1319 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I))
1324 if (const CallInst *CI = dyn_cast<CallInst>(I))
1352 if (Constant *C = dyn_cast<Constant>(V))
1358 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
1368 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
1391 if (ConstantDataSequential *CA = dyn_cast<ConstantDataSequential>(V)) {
1424 llvm::StructType *STy = llvm::dyn_cast<llvm::StructType>(IndexedType);
1509 if (Constant *C = dyn_cast<Constant>(V)) {
1515 if (InsertValueInst *I = dyn_cast<InsertValueInst>(V)) {
1555 if (ExtractValueInst *I = dyn_cast<ExtractValueInst>(V)) {
1586 Operator *PtrOp = dyn_cast<Operator>(Ptr);
1595 GEPOperator *GEP = dyn_cast<GEPOperator>(PtrOp);
1605 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
1635 if (const GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
1642 ArrayType *AT = dyn_cast<ArrayType>(PT->getElementType());
1648 const ConstantInt *FirstIdx = dyn_cast<ConstantInt>(GEP->getOperand(1));
1656 if (const ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(2)))
1666 const GlobalVariable *GV = dyn_cast<GlobalVariable>(V);
1680 dyn_cast<ConstantDataArray>(GV->getInitializer());
1717 if (PHINode *PN = dyn_cast<PHINode>(V)) {
1739 if (SelectInst *SI = dyn_cast<SelectInst>(V)) {
1775 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
1779 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V)) {
1785 if (Instruction *I = dyn_cast<Instruction>(V))
1805 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(*UI);
1817 const Operator *Inst = dyn_cast<Operator>(V);
1822 if (Constant *C = dyn_cast<Constant>(Inst->getOperand(i)))
1855 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {