Home | History | Annotate | Download | only in IR

Lines Matching refs:dyn_cast

53   if (const Argument *MA = dyn_cast<Argument>(V))
56 if (const BasicBlock *BB = dyn_cast<BasicBlock>(V))
59 if (const Instruction *I = dyn_cast<Instruction>(V)) {
64 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V))
425 if (const Argument *FA = dyn_cast<Argument>(V))
428 if (const Instruction *I = dyn_cast<Instruction>(V))
432 if (const BasicBlock *BB = dyn_cast<BasicBlock>(V))
435 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
438 if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
441 if (const Function *Func = dyn_cast<Function>(V))
444 if (const MDNode *MD = dyn_cast<MDNode>(V)) {
550 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
561 } else if (const InvokeInst *II = dyn_cast<InvokeInst>(I)) {
758 if (const FPMathOperator *FPO = dyn_cast<const FPMathOperator>(U)) {
775 dyn_cast<OverflowingBinaryOperator>(U)) {
781 dyn_cast<PossiblyExactOperator>(U)) {
784 } else if (const GEPOperator *GEP = dyn_cast<GEPOperator>(U)) {
794 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
803 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
920 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) {
931 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) {
950 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) {
979 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) {
1037 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) {
1106 const Constant *CV = dyn_cast<Constant>(V);
1113 if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) {
1130 if (const MDNode *N = dyn_cast<MDNode>(V)) {
1151 if (const MDString *MDS = dyn_cast<MDString>(V)) {
1168 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
1185 if (const GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
1812 if (const CmpInst *CI = dyn_cast<CmpInst>(&I))
1816 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(&I))
1860 } else if (const PHINode *PN = dyn_cast<PHINode>(&I)) {
1871 } else if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(&I)) {
1876 } else if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(&I)) {
1882 } else if (const LandingPadInst *LPI = dyn_cast<LandingPadInst>(&I)) {
1902 } else if (const CallInst *CI = dyn_cast<CallInst>(&I)) {
1941 } else if (const InvokeInst *II = dyn_cast<InvokeInst>(&I)) {
1987 } else if (const AllocaInst *AI = dyn_cast<AllocaInst>(&I)) {
2048 if (const LoadInst *LI = dyn_cast<LoadInst>(&I)) {
2053 } else if (const StoreInst *SI = dyn_cast<StoreInst>(&I)) {
2058 } else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&I)) {
2060 } else if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(&I)) {
2062 } else if (const FenceInst *FI = dyn_cast<FenceInst>(&I)) {
2170 if (StructType *STy = dyn_cast<StructType>(const_cast<Type*>(this)))
2183 if (const Instruction *I = dyn_cast<Instruction>(this)) {
2188 } else if (const BasicBlock *BB = dyn_cast<BasicBlock>(this)) {
2192 } else if (const GlobalValue *GV = dyn_cast<GlobalValue>(this)) {
2195 if (const GlobalVariable *V = dyn_cast<GlobalVariable>(GV))
2197 else if (const Function *F = dyn_cast<Function>(GV))
2201 } else if (const MDNode *N = dyn_cast<MDNode>(this)) {
2206 } else if (const Constant *C = dyn_cast<Constant>(this)) {