HomeSort by relevance Sort by last modified time
    Searched full:dyn_cast (Results 126 - 150 of 502) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/clang/lib/Index/
Entity.cpp 126 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D);
193 if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
232 if (Decl *D = Val.dyn_cast<Decl *>())
243 if (Decl *D = Val.dyn_cast<Decl *>()) {
244 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
  /external/clang/lib/StaticAnalyzer/Core/
RegionStore.cpp 83 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
190 if (const SubRegion *sr = dyn_cast<SubRegion>(superR))
404 if (const SubRegion *R = dyn_cast<SubRegion>(I.getKey().getRegion())) {
439 if (const SubRegion *R = dyn_cast<SubRegion>(I.getKey().getRegion()))
622 dyn_cast<nonloc::LazyCompoundVal>(&V)) {
628 const SubRegion *baseR = dyn_cast<SubRegion>(RI.getKey().getRegion());
651 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(baseR))
656 if (const BlockDataRegion *BR = dyn_cast<BlockDataRegion>(baseR)) {
806 const TypedRegion* ArrayR = dyn_cast<TypedRegion>(R);
829 loc::MemRegionVal *derivedRegVal = dyn_cast<loc::MemRegionVal>(&derived)
    [all...]
SymbolManager.cpp 271 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(MR))
274 if (const VarRegion *VR = dyn_cast<VarRegion>(MR))
297 if (const SymbolDerived *derived = dyn_cast<SymbolDerived>(sym)) {
305 if (const SymbolExtent *extent = dyn_cast<SymbolExtent>(sym)) {
313 if (const SymbolMetadata *metadata = dyn_cast<SymbolMetadata>(sym)) {
BasicStore.cpp 134 const VarRegion *VR = dyn_cast<VarRegion>(R);
231 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
249 if (nonloc::LocAsInteger *X = dyn_cast<nonloc::LocAsInteger>(&V)) {
293 if (const VarRegion *VR = dyn_cast<VarRegion>(I.getKey())) {
320 if (const SymbolicRegion* SymR = dyn_cast<SymbolicRegion>(MR)) {
343 else if (const SubRegion* R = dyn_cast<SubRegion>(MR))
381 if (ObjCIvarRefExpr *IV = dyn_cast<ObjCIvarRefExpr>(*CI)) {
383 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Base)) {
411 if (const ImplicitParamDecl* PD = dyn_cast<ImplicitParamDecl>(ND)) {
413 if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(&CD))
    [all...]
MemRegion.cpp 151 if (const SubRegion* sr = dyn_cast<SubRegion>(r))
163 if (const SubRegion *sr = dyn_cast<SubRegion>(superRegion)) {
172 const StackSpaceRegion *SSR = dyn_cast<StackSpaceRegion>(getMemorySpace());
586 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
588 else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D)) {
736 const SubRegion* SR = dyn_cast<SubRegion>(this);
740 SR = dyn_cast<SubRegion>(R);
743 return dyn_cast<MemSpaceRegion>(R);
791 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
796 if (nonloc::ConcreteInt *CI = dyn_cast<nonloc::ConcreteInt>(&index))
    [all...]
BugReporter.cpp 63 if (const StmtPoint* SP = dyn_cast<StmtPoint>(&P))
65 else if (const BlockEdge* BE = dyn_cast<BlockEdge>(&P))
360 const DeclRefExpr* DR = dyn_cast<DeclRefExpr>(cast<PostStmt>(P).getStmt());
370 const VarDecl* VD = dyn_cast<VarDecl>(DR->getDecl());
420 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
425 DeclRefExpr* DR = dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenCasts());
430 VD = dyn_cast<VarDecl>(DR->getDecl());
432 else if (const DeclStmt* DS = dyn_cast<DeclStmt>(S)) {
436 VD = dyn_cast<VarDecl>(*DS->decl_begin());
537 if (const BlockEdge* BE = dyn_cast<BlockEdge>(&P))
    [all...]
Store.cpp 90 if (const TypedRegion *TR = dyn_cast<TypedRegion>(R)) {
160 if (const TypedRegion *TR = dyn_cast<TypedRegion>(baseR)) {
232 if (const Loc *L = dyn_cast<Loc>(&V))
234 else if (const NonLoc *NL = dyn_cast<NonLoc>(&V))
270 if (const ObjCIvarDecl *ID = dyn_cast<ObjCIvarDecl>(D))
289 const ElementRegion *ElemR = dyn_cast<ElementRegion>(BaseRegion);
  /external/llvm/include/llvm/Support/
Casting.h 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
210 // dyn_cast<X> - Return the argument parameter cast to the specified type. This
215 // if (const Instruction *I = dyn_cast<Instruction>(myVal)) { ... }
219 inline typename cast_retty<X, Y>::ret_type dyn_cast(const Y &Val) { function in namespace:llvm
223 // dyn_cast_or_null<X> - Functionally identical to dyn_cast, except that a null
  /external/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 93 if ((FIN = dyn_cast<FrameIndexSDNode>(Addr))) {
100 if ((FIN = dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
101 && (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
122 && (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
143 && (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
  /external/llvm/lib/Transforms/IPO/
PruneEH.cpp 115 if (CallInst *CI = dyn_cast<CallInst>(I)) {
174 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
208 if (CallInst *CI = dyn_cast<CallInst>(I++))
240 if (CallInst *CI = dyn_cast<CallInst>(I)) {
243 } else if (InvokeInst *II = dyn_cast<InvokeInst>(I))
MergeFunctions.cpp 306 if (const LoadInst *LI = dyn_cast<LoadInst>(I1))
309 if (const StoreInst *SI = dyn_cast<StoreInst>(I1))
312 if (const CmpInst *CI = dyn_cast<CmpInst>(I1))
314 if (const CallInst *CI = dyn_cast<CallInst>(I1))
317 if (const InvokeInst *CI = dyn_cast<InvokeInst>(I1))
320 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(I1)) {
328 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(I1)) {
382 if (const Constant *C1 = dyn_cast<Constant>(V1)) {
384 const Constant *C2 = dyn_cast<Constant>(V2);
422 if (const GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(F1I))
    [all...]
  /external/llvm/lib/VMCore/
Globals.cpp 67 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(this))
71 if (const Function *F = dyn_cast<Function>(this))
230 if (const GlobalValue *GV = dyn_cast<GlobalValue>(C))
238 return dyn_cast<GlobalValue>(CE->getOperand(0));
252 while (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) {
Type.cpp 44 if (VectorType *VTy = dyn_cast<VectorType>(this))
92 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) {
93 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
101 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
114 const ArrayType *ATy = dyn_cast<ArrayType>(this);
120 const StructType *STy = dyn_cast<StructType>(this);
157 if (const VectorType *VTy = dyn_cast<VectorType>(this))
175 if (const ArrayType *ATy = dyn_cast<ArrayType>(this))
178 if (const VectorType *VTy = dyn_cast<VectorType>(this))
561 if (StructType *STy = dyn_cast<StructType>(this))
    [all...]
  /external/clang/tools/libclang/
CIndex.cpp 547 if (MacroExpansion *ME = dyn_cast<MacroExpansion>(*E)) {
554 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(*E)) {
561 if (InclusionDirective *ID = dyn_cast<InclusionDirective>(*E)) {
689 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) {
767 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL);
795 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(ND)) {
    [all...]
  /external/llvm/lib/Transforms/Utils/
SSAUpdater.cpp 129 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) {
172 (SomePHI = dyn_cast<PHINode>(It)); ++It) {
209 if (PHINode *UserPN = dyn_cast<PHINode>(User))
225 if (PHINode *UserPN = dyn_cast<PHINode>(User))
282 if (PHINode *SomePhi = dyn_cast<PHINode>(BB->begin())) {
315 return dyn_cast<PHINode>(I);
321 return dyn_cast<PHINode>(Val);
365 if (LoadInst *LI = dyn_cast<LoadInst>(Insts[0]))
407 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
443 if (LoadInst *L = dyn_cast<LoadInst>(II))
    [all...]
LoopUnroll.cpp 51 if (PHINode *PN = dyn_cast<PHINode>(I)) {
131 BranchInst *BI = dyn_cast<BranchInst>(LatchBlock->getTerminator());
214 dyn_cast<Instruction>(PN->getIncomingValueForBlock(LatchBlock)))
239 if (Instruction *InValI = dyn_cast<Instruction>(InVal))
262 PHINode *phi = dyn_cast<PHINode>(BBI); ++BBI) {
301 PHINode *PN = dyn_cast<PHINode>(BBI); ++BBI) {
305 if (Instruction *InValI = dyn_cast<Instruction>(InVal)) {
InlineFunction.cpp 51 EHExceptionInst *exn = dyn_cast<EHExceptionInst>(i);
66 EHSelectorInst *sel = dyn_cast<EHSelectorInst>(*ui);
118 BranchInst *branch = dyn_cast<BranchInst>(&exnBlock->back());
217 PHINode *phi = dyn_cast<PHINode>(i);
374 Function *fn = dyn_cast<Function>(call->getCalledValue());
411 ConstantInt *val = dyn_cast<ConstantInt>(selector->getArgOperand(2));
429 CallInst *CI = dyn_cast<CallInst>(I);
433 if (EHSelectorInst *Inner = dyn_cast<EHSelectorInst>(CI)) {
546 if (UnwindInst *UI = dyn_cast<UnwindInst>(BB->getTerminator())) {
605 Instruction *NewCall = dyn_cast<Instruction>(VMI->second)
    [all...]
PromoteMemoryToRegister.cpp 88 if (const LoadInst *LI = dyn_cast<LoadInst>(U)) {
91 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) {
96 } else if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(U)) {
100 } else if (const BitCastInst *BCI = dyn_cast<BitCastInst>(U)) {
105 } else if (const GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(U)) {
321 if (StoreInst *SI = dyn_cast<StoreInst>(User)) {
651 while ((SomePHI = dyn_cast<PHINode>(BBI++)) &&
688 if (StoreInst *SI = dyn_cast<StoreInst>(I)) {
699 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
    [all...]
  /external/clang/lib/Sema/
SemaDeclAttr.cpp 55 if (const ValueDecl *decl = dyn_cast<ValueDecl>(D))
57 else if (const FieldDecl *decl = dyn_cast<FieldDecl>(D))
59 else if (const TypedefNameDecl* decl = dyn_cast<TypedefNameDecl>(D))
95 if (const VarDecl *V = dyn_cast<VarDecl>(D)) {
128 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
136 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
152 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
160 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D))
217 TypedefNameDecl *tDecl = dyn_cast<TypedefNameDecl>(D);
263 if (TagDecl *TD = dyn_cast<TagDecl>(D)
    [all...]
SemaTemplateInstantiateDecl.cpp 67 if (const AlignedAttr *Aligned = dyn_cast<AlignedAttr>(TmplAttr)) {
214 PrevAliasTemplate = dyn_cast<TypeAliasTemplateDecl>(*Found.first);
262 if (ExprWithCleanups *ExprTemp = dyn_cast<ExprWithCleanups>(Init))
265 while (CXXBindTemporaryExpr *Binder = dyn_cast<CXXBindTemporaryExpr>(Init))
268 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Init))
271 if (ParenListExpr *ParenList = dyn_cast<ParenListExpr>(Init)) {
278 if (CXXConstructExpr *Construct = dyn_cast<CXXConstructExpr>(Init)) {
498 if (CXXRecordDecl *Parent= dyn_cast<CXXRecordDecl>(Field->getDeclContext())) {
738 PrevClassTemplate = dyn_cast<ClassTemplateDecl>(*Found.first);
    [all...]
SemaDeclObjC.cpp 126 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext());
129 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC))
131 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(DC))
134 = dyn_cast<ObjCCategoryImplDecl>(DC))
179 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth);
185 if (ObjCInterfaceDecl *Class = llvm::dyn_cast<ObjCInterfaceDecl>(DC)) {
205 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(DC)) {
216 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(DC)) {
232 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(DC))
235 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(DC)
    [all...]
  /external/llvm/lib/Bitcode/Writer/
ValueEnumerator.cpp 79 if (MDNode *MD = dyn_cast<MDNode>(*OI))
86 if (const CallInst *CI = dyn_cast<CallInst>(I))
88 else if (const InvokeInst *II = dyn_cast<InvokeInst>(I))
209 const MDNode *N = dyn_cast<MDNode>(MD);
256 if (MDNode *O = dyn_cast<MDNode>(V)) {
283 if (const Constant *C = dyn_cast<Constant>(V)) {
328 if (StructType *STy = dyn_cast<StructType>(Ty))
360 if (const Constant *C = dyn_cast<Constant>(V)) {
377 if (const MDNode *N = dyn_cast<MDNode>(V)) {
437 if (MDNode *MD = dyn_cast<MDNode>(*OI)
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
ValueEnumerator.cpp 79 if (MDNode *MD = dyn_cast<MDNode>(*OI))
86 if (const CallInst *CI = dyn_cast<CallInst>(I))
88 else if (const InvokeInst *II = dyn_cast<InvokeInst>(I))
209 const MDNode *N = dyn_cast<MDNode>(MD);
256 if (MDNode *O = dyn_cast<MDNode>(V)) {
283 if (const Constant *C = dyn_cast<Constant>(V)) {
328 if (StructType *STy = dyn_cast<StructType>(Ty))
360 if (const Constant *C = dyn_cast<Constant>(V)) {
377 if (const MDNode *N = dyn_cast<MDNode>(V)) {
437 if (MDNode *MD = dyn_cast<MDNode>(*OI)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 33 ConstantInt *OpC = dyn_cast<ConstantInt>(I->getOperand(OpNo));
116 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
143 Instruction *I = dyn_cast<Instruction>(V);
343 if (Instruction *LHSInst = dyn_cast<Instruction>(I->getOperand(0)))
407 if (VectorType *DstVTy = dyn_cast<VectorType>(I->getType())) {
409 dyn_cast<VectorType>(I->getOperand(0)->getType())) {
489 if (ConstantInt *RHS = dyn_cast<ConstantInt>(I->getOperand(1))) {
578 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
602 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
643 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1)))
    [all...]
  /external/llvm/lib/Transforms/Scalar/
Reassociate.cpp 118 Instruction *Op = dyn_cast<Instruction>(V);
171 Instruction *I = dyn_cast<Instruction>(V);
403 if (Constant *C = dyn_cast<Constant>(V))
415 if (Instruction *I = dyn_cast<Instruction>(V))
448 if (Instruction *InstInput = dyn_cast<Instruction>(V)) {
449 if (InvokeInst *II = dyn_cast<InvokeInst>(InstInput)) {
591 if (ConstantInt *FC1 = dyn_cast<ConstantInt>(Factor))
592 if (ConstantInt *FC2 = dyn_cast<ConstantInt>(Factors[i].Op))
635 !(BO = dyn_cast<BinaryOperator>(V)) ||
793 BinaryOperator *BOp = dyn_cast<BinaryOperator>(Ops[i].Op)
    [all...]

Completed in 997 milliseconds

1 2 3 4 56 7 8 91011>>