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

<<11121314151617181920>>

  /external/llvm/lib/Transforms/Scalar/
LoopRotation.cpp 93 for (I = OrigHeader->begin(); PHINode *PN = dyn_cast<PHINode>(I); ++I)
157 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator());
222 for (; PHINode *PN = dyn_cast<PHINode>(I); ++I)
274 PHINode *PN = dyn_cast<PHINode>(BI); ++BI)
TailDuplication.cpp 100 BranchInst *BI = dyn_cast<BranchInst>(TI);
108 if (BranchInst *DBI = dyn_cast<BranchInst>(DTI))
268 if (Instruction *OpI = dyn_cast<Instruction>(I->getOperand(op)))
304 for (; PHINode *PN = dyn_cast<PHINode>(BI); ++BI)
ObjCARC.cpp 177 if (const Argument *Arg = dyn_cast<Argument>(Op))
183 PointerType *Ty = dyn_cast<PointerType>(Op->getType());
216 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) {
237 if (PointerType *Pte = dyn_cast<PointerType>(ETy))
249 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType()))
250 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType()))
252 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) {
261 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1))
275 if (const Instruction *I = dyn_cast<Instruction>(V)) {
362 if (const CallInst *CI = dyn_cast<CallInst>(V))
    [all...]
GVN.cpp 153 if (CmpInst *C = dyn_cast<CmpInst>(I)) {
155 } else if (InsertValueInst *E = dyn_cast<InsertValueInst>(I)) {
170 IntrinsicInst *I = dyn_cast<IntrinsicInst>(EI->getAggregateOperand());
295 CallInst *NonLocalDepCall = dyn_cast<CallInst>(I->getResult().getInst());
890 ConstantInt *SizeCst = dyn_cast<ConstantInt>(MI->getLength());
905 Constant *Src = dyn_cast<Constant>(MTI->getSource());
908 GlobalVariable *GV = dyn_cast<GlobalVariable>(GetUnderlyingObject(Src, &TD));
    [all...]
LICM.cpp 359 if (LoadInst *LI = dyn_cast<LoadInst>(&I)) {
374 } else if (CallInst *CI = dyn_cast<CallInst>(&I)) {
418 if (PHINode *PN = dyn_cast<PHINode>(User)) {
623 if (LoadInst *LI = dyn_cast<LoadInst>(I))
710 Instruction *Use = dyn_cast<Instruction>(*UI);
717 if (LoadInst *load = dyn_cast<LoadInst>(Use)) {
720 } else if (StoreInst *store = dyn_cast<StoreInst>(Use)) {
  /external/llvm/lib/Transforms/Utils/
Mem2Reg.cpp 72 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
  /external/llvm/tools/bugpoint-passes/
TestPasses.cpp 61 if (CallInst *CI = dyn_cast<CallInst>(I)) {
  /external/llvm/tools/opt/
AnalysisWrappers.cpp 42 Instruction *User = dyn_cast<Instruction>(*UI);
  /frameworks/compile/slang/
slang_rs_backend.cpp 89 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I);
105 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I);
144 clang::VarDecl *VD = llvm::dyn_cast<clang::VarDecl>(*DI);
184 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I);
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 324 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(FP))
329 if (Function *F = dyn_cast<Function>(FP))
506 if (Function *F = const_cast<Function*>(dyn_cast<Function>(GV)))
515 const_cast<GlobalVariable *>(dyn_cast<GlobalVariable>(GV)))
545 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) {
803 else if (const Function *F = dyn_cast<Function>(C))
805 else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(C))
807 else if (const BlockAddress *BA = dyn_cast<BlockAddress>(C))
    [all...]
  /external/clang/include/clang/AST/
DeclContextInternals.h 66 return Data.dyn_cast<NamedDecl *>();
70 return Data.dyn_cast<DeclsTy *>();
StmtVisitor.h 43 if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) {
81 } else if (PTR(UnaryOperator) UnOp = dyn_cast<UnaryOperator>(S)) {
  /external/clang/lib/Sema/
AnalysisBasedWarnings.cpp 179 if (const AsmStmt *AS = dyn_cast<AsmStmt>(S)) {
192 if (CallExpr *C = dyn_cast<CallExpr>(S)) {
207 } else if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
258 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Func))
323 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
328 else if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
350 if (const CompoundStmt *Compound = dyn_cast<CompoundStmt>(Body)) {
427 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
SemaExprObjC.cpp 249 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(DC);
314 const ObjCMessageExpr *MsgSend = dyn_cast<ObjCMessageExpr>(E);
455 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(receiver))
    [all...]
SemaDecl.cpp 199 if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) {
220 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) {
678 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
684 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl);
688 = dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl))
732 while (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(DC->getLexicalParent()))
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
UnreachableCodeChecker.cpp 75 if (const BlockEntrance *BE = dyn_cast<BlockEntrance>(&P)) {
116 if (const CallExpr *CE = dyn_cast<CallExpr>(S->getStmt())) {
  /external/llvm/lib/Transforms/IPO/
ConstantMerge.cpp 59 ConstantArray *Inits = dyn_cast<ConstantArray>(LLVMUsed->getInitializer());
64 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts()))
  /external/clang/lib/StaticAnalyzer/Core/
GRState.cpp 203 if (const TypedRegion *TR = dyn_cast<TypedRegion>(R)) {
553 if (loc::MemRegionVal *X = dyn_cast<loc::MemRegionVal>(&val))
556 if (nonloc::LocAsInteger *X = dyn_cast<nonloc::LocAsInteger>(&val))
562 if (nonloc::CompoundVal *X = dyn_cast<nonloc::CompoundVal>(&val))
575 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(R))
580 if (const SubRegion *SR = dyn_cast<SubRegion>(R))
  /external/llvm/lib/CodeGen/
MachineModuleInfo.cpp 137 else if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>())
174 if (MCSymbol *Sym = Entry.Symbols.dyn_cast<MCSymbol*>()) {
222 if (MCSymbol *PrevSym = NewEntry.Symbols.dyn_cast<MCSymbol*>()) {
232 if (MCSymbol *Sym = OldEntry.Symbols.dyn_cast<MCSymbol*>()) {
329 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
334 dyn_cast<Function>(InitList->getOperand(i)->stripPointerCasts()))
  /external/llvm/lib/VMCore/
Metadata.cpp 122 if (Instruction *I = dyn_cast<Instruction>(V)) {
126 if (Argument *A = dyn_cast<Argument>(V))
128 if (BasicBlock *BB = dyn_cast<BasicBlock>(V))
130 if (MDNode *MD = dyn_cast<MDNode>(V))
143 if (MDNode *MD = dyn_cast<MDNode>(V))
398 return dyn_cast<MDNode>(&*getNMDOps(Operands)[i]);
Instructions.cpp 65 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) {
69 VectorType *ET = dyn_cast<VectorType>(Op1->getType());
297 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) {
341 if (Function *F = dyn_cast<Function>(MallocFunc)) {
407 if (Function *F = dyn_cast<Function>(FreeFunc))
762 if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0)))
    [all...]
  /external/llvm/lib/Target/ARM/
ARMISelDAGToDAG.cpp 300 const ConstantSDNode *C = dyn_cast<ConstantSDNode>(Node);
384 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) {
423 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) {
451 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) {
502 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) {
523 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) {
556 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) {
643 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) {
664 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) {
709 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(N.getOperand(1)))
    [all...]
  /external/clang/lib/AST/
MicrosoftMangle.cpp 113 if (const LinkageSpecDecl *Linkage = dyn_cast<LinkageSpecDecl>(DC))
133 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
175 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
177 else if (const VarDecl *VD = dyn_cast<VarDecl>(D))
194 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
308 if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) {
382 if (const BlockDecl *BD = dyn_cast<BlockDecl>(DC)) {
390 else if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC))
820 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
    [all...]
  /external/llvm/include/llvm/
Constants.h 219 /// @brief Methods to support type inquiry through isa, cast, and dyn_cast.
288 /// Methods for support type inquiry through isa, cast, and dyn_cast:
315 /// Methods for support type inquiry through isa, cast, and dyn_cast:
381 /// Methods for support type inquiry through isa, cast, and dyn_cast:
441 /// Methods for support type inquiry through isa, cast, and dyn_cast:
492 /// Methods for support type inquiry through isa, cast, and dyn_cast:
536 /// Methods for support type inquiry through isa, cast, and dyn_cast:
566 /// Methods for support type inquiry through isa, cast, and dyn_cast:
    [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 62 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) {
85 if (const ParenExpr *PE = dyn_cast<ParenExpr>(E)) {
90 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) {
96 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
142 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Base)) {
143 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
160 if (const CallExpr *CE = dyn_cast<CallExpr>(Base))
183 if (const PointerType * PTy = dyn_cast<PointerType>(PQTy)) {
253 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) {
265 dyn_cast<CXXConstructorDecl>(MD))
    [all...]

Completed in 1269 milliseconds

<<11121314151617181920>>