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

1 2 3 45 6 7 8 91011>>

  /external/llvm/lib/VMCore/
BasicBlock.cpp 122 return dyn_cast<TerminatorInst>(&InstList.back());
127 return dyn_cast<TerminatorInst>(&InstList.back());
160 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(i);
217 PHINode *APN = dyn_cast<PHINode>(&front());
244 while (PHINode *PN = dyn_cast<PHINode>(&front())) {
265 for (iterator II = begin(); (PN = dyn_cast<PHINode>(II)); ) {
320 (PN = dyn_cast<PHINode>(II)); ++II) {
339 for (iterator II = Succ->begin(); PHINode *PN = dyn_cast<PHINode>(II);
IntrinsicInst.cpp 35 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C))
44 } else if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C)) {
49 return dyn_cast<GlobalVariable>(C);
  /frameworks/compile/slang/
slang_rs_ast_replace.cpp 35 mOldExpr = llvm::dyn_cast<clang::Expr>(OldStmt);
37 mNewExpr = llvm::dyn_cast<clang::Expr>(NewStmt);
  /external/llvm/lib/Analysis/
LazyValueInfo.cpp 133 if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
149 if (ConstantInt *CI = dyn_cast<ConstantInt>(V))
211 if (ConstantInt *Res = dyn_cast<ConstantInt>(
237 if (ConstantInt *Res = dyn_cast<ConstantInt>(
505 if (Constant *VC = dyn_cast<Constant>(Val))
540 Instruction *BBI = dyn_cast<Instruction>(Val);
545 if (PHINode *PN = dyn_cast<PHINode>(BBI)) {
549 if (AllocaInst *AI = dyn_cast<AllocaInst>(BBI)) {
567 BinaryOperator *BO = dyn_cast<BinaryOperator>(BBI);
580 if (LoadInst *L = dyn_cast<LoadInst>(I))
    [all...]
InstructionSimplify.cpp 53 Instruction *I = dyn_cast<Instruction>(V);
85 if (BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS))
109 if (BinaryOperator *Op1 = dyn_cast<BinaryOperator>(RHS))
147 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS);
148 BinaryOperator *Op1 = dyn_cast<BinaryOperator>(RHS);
220 BinaryOperator *Op0 = dyn_cast<BinaryOperator>(LHS);
221 BinaryOperator *Op1 = dyn_cast<BinaryOperator>(RHS);
359 Instruction *Simplified = dyn_cast<Instruction>(FV ? FV : TV);
525 if (Constant *CLHS = dyn_cast<Constant>(Op0)) {
526 if (Constant *CRHS = dyn_cast<Constant>(Op1))
    [all...]
MemDepPrinter.cpp 104 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
109 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
113 } else if (VAArgInst *VI = dyn_cast<VAArgInst>(Inst)) {
  /external/clang/include/clang/Basic/
LLVM.h 25 using llvm::dyn_cast;
  /external/clang/lib/CodeGen/
CodeGenTBAA.cpp 83 if (const TagType *TTy = dyn_cast<TagType>(QTy))
87 if (const TypedefType *TTy = dyn_cast<TypedefType>(QTy)) {
110 if (const BuiltinType *BTy = dyn_cast<BuiltinType>(Ty)) {
153 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) {
  /external/clang/lib/Serialization/
ASTCommon.h 46 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr()))
  /external/clang/lib/StaticAnalyzer/Checkers/
ObjCUnusedIVarsChecker.cpp 36 if (const ObjCIvarRefExpr *Ex = dyn_cast<ObjCIvarRefExpr>(S)) {
45 if (const BlockExpr *BE = dyn_cast<BlockExpr>(S)) {
74 if (const ObjCImplementationDecl *ID = dyn_cast<ObjCImplementationDecl>(D)) {
95 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) {
AttrNonNullChecker.cpp 59 DefinedSVal *DV = dyn_cast<DefinedSVal>(&V);
72 if (nonloc::CompoundVal *CSV = dyn_cast<nonloc::CompoundVal>(DV)) {
76 DV = dyn_cast<DefinedSVal>(&V);
  /external/llvm/include/llvm/
Operator.h 43 if (const Instruction *I = dyn_cast<Instruction>(this))
52 if (const Instruction *I = dyn_cast<Instruction>(V))
54 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
281 if (ConstantInt *C = dyn_cast<ConstantInt>(I))
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 189 if (GEPOperator *GEP = dyn_cast<GEPOperator>(FromVal)) {
192 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) {
225 PHINode *PHI = dyn_cast<PHINode>(User);
282 dyn_cast<ConstantFP>(PN->getIncomingValue(IncomingEdge));
291 dyn_cast<BinaryOperator>(PN->getIncomingValue(BackEdge));
296 ConstantFP *IncValueVal = dyn_cast<ConstantFP>(Incr->getOperand(1));
312 FCmpInst *Compare = dyn_cast<FCmpInst>(U1);
314 Compare = dyn_cast<FCmpInst>(U2);
334 ConstantFP *ExitValueVal = dyn_cast<ConstantFP>(Compare->getOperand(1));
486 PHINode *PN = dyn_cast<PHINode>(I); ++I
    [all...]
CorrelatedValuePropagation.cpp 74 ConstantInt *CI = dyn_cast<ConstantInt>(C);
120 if (LoadInst *L = dyn_cast<LoadInst>(I))
146 Constant *Op1 = dyn_cast<Constant>(C->getOperand(1));
  /external/clang/lib/ARCMigrate/
TransUnbridgedCasts.cpp 106 if (CallExpr *callE = dyn_cast<CallExpr>(inner)) {
164 if (CStyleCastExpr *CCE = dyn_cast<CStyleCastExpr>(E)) {
191 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
FileRemapper.cpp 129 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) {
166 if (const FileEntry *newFE = I->second.dyn_cast<const FileEntry *>()) {
204 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) {
219 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) {
275 if (llvm::MemoryBuffer *oldmem = targ.dyn_cast<llvm::MemoryBuffer *>()) {
Transforms.cpp 131 ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E);
157 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
159 if (ConditionalOperator *condOp = dyn_cast<ConditionalOperator>(E))
251 while (LabelStmt *Label = dyn_cast<LabelStmt>(S))
254 if (Expr *E = dyn_cast<Expr>(S))
  /external/clang/lib/AST/
Mangle.cpp 96 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) {
121 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
124 if (const ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(CD))
TemplateName.cpp 72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>())
114 = dyn_cast<TemplateTemplateParmDecl>(Template))
130 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>())
  /external/llvm/lib/CodeGen/SelectionDAG/
FunctionLoweringInfo.cpp 79 if (const AllocaInst *AI = dyn_cast<AllocaInst>(I))
80 if (const ConstantInt *CUI = dyn_cast<ConstantInt>(AI->getArraySize())) {
113 if (const DbgDeclareInst *DI = dyn_cast<DbgDeclareInst>(I)) {
123 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(Address))
125 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Address)) {
156 const PHINode *PN = dyn_cast<PHINode>(I); ++I) {
182 if (const InvokeInst *Invoke = dyn_cast<InvokeInst>(BB->getTerminator()))
293 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
328 if (ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
393 if (const ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(i)))
    [all...]
  /external/llvm/lib/Transforms/Utils/
AddrModeMatcher.cpp 207 ConstantInt *RHS = dyn_cast<ConstantInt>(AddrInst->getOperand(1));
225 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
232 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) {
311 if (ConstantInt *CI = dyn_cast<ConstantInt>(Addr)) {
317 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(Addr)) {
325 } else if (Instruction *I = dyn_cast<Instruction>(Addr)) {
345 } else if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Addr)) {
422 if (LoadInst *LI = dyn_cast<LoadInst>(U)) {
427 if (StoreInst *SI = dyn_cast<StoreInst>(U)) {
434 if (CallInst *CI = dyn_cast<CallInst>(U))
    [all...]
  /external/llvm/tools/llvm-dis/
llvm-dis.cpp 79 if (const Instruction *I = dyn_cast<Instruction>(&V)) {
91 if (const DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) {
100 else if (const DbgValueInst *DVI = dyn_cast<DbgValueInst>(I)) {
  /external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp 32 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) {
43 if (MoveChildMatcher *MC = dyn_cast<MoveChildMatcher>(N)) {
45 if (RecordMatcher *RM = dyn_cast<RecordMatcher>(MC->getNext()))
50 if (CheckTypeMatcher *CT = dyn_cast<CheckTypeMatcher>(MC->getNext()))
66 if (MoveChildMatcher *MC = dyn_cast<MoveChildMatcher>(N))
68 dyn_cast<MoveParentMatcher>(MC->getNext())) {
92 if (EmitNodeMatcher *EN = dyn_cast<EmitNodeMatcher>(N))
94 dyn_cast<CompleteMatchMatcher>(EN->getNext())) {
190 if (ScopeMatcher *Scope = dyn_cast<ScopeMatcher>(N)) {
201 CheckPatternPredicateMatcher *CPPM =dyn_cast<CheckPatternPredicateMatcher>(N)
    [all...]
  /external/clang/lib/Sema/
Sema.cpp 177 if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
198 if (SemaConsumer *SC = dyn_cast<SemaConsumer>(&Consumer))
215 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext);
274 if (ImplicitCastExpr *ImpCast = dyn_cast<ImplicitCastExpr>(E)) {
311 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
325 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
373 if (FunctionDecl *fn = dyn_cast<FunctionDecl>(decl)) {
523 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) {
587 return dyn_cast<FunctionDecl>(DC);
592 return dyn_cast<ObjCMethodDecl>(DC)
    [all...]
SemaChecking.cpp 368 const VarDecl *V = dyn_cast<VarDecl>(NDecl);
554 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(Arg.get())) {
606 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
672 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Arg)) {
673 if (const ParmVarDecl *PV = dyn_cast<ParmVarDecl>(DR->getDecl())) {
762 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(OrigArg)) {
    [all...]

Completed in 308 milliseconds

1 2 3 45 6 7 8 91011>>