HomeSort by relevance Sort by last modified time
    Searched refs:dyn_cast (Results 51 - 75 of 594) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGDumper.cpp 350 if (const MachineSDNode *MN = dyn_cast<MachineSDNode>(this)) {
363 dyn_cast<ShuffleVectorSDNode>(this)) {
374 } else if (const ConstantSDNode *CSDN = dyn_cast<ConstantSDNode>(this)) {
376 } else if (const ConstantFPSDNode *CSDN = dyn_cast<ConstantFPSDNode>(this)) {
387 dyn_cast<GlobalAddressSDNode>(this)) {
398 } else if (const FrameIndexSDNode *FIDN = dyn_cast<FrameIndexSDNode>(this)) {
400 } else if (const JumpTableSDNode *JTDN = dyn_cast<JumpTableSDNode>(this)) {
404 } else if (const ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(this)){
416 } else if (const TargetIndexSDNode *TI = dyn_cast<TargetIndexSDNode>(this)) {
420 } else if (const BasicBlockSDNode *BBDN = dyn_cast<BasicBlockSDNode>(this))
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 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)) {
334 Operator *I = dyn_cast<Operator>(V);
486 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1))) {
498 if (ConstantInt *SA = dyn_cast<ConstantInt>(I->getOperand(1)))
    [all...]
ConstantFolding.cpp 56 if (IntegerType *IT = dyn_cast<IntegerType>(DestTy)) {
57 VectorType *VTy = dyn_cast<VectorType>(C->getType());
74 ConstantDataVector *CDV = dyn_cast<ConstantDataVector>(C);
94 VectorType *DestVTy = dyn_cast<VectorType>(DestTy);
172 Constant *Src =dyn_cast<ConstantInt>(C->getAggregateElement(SrcElt++));
198 Constant *Src = dyn_cast<ConstantInt>(C->getAggregateElement(i));
225 if ((GV = dyn_cast<GlobalValue>(C))) {
231 ConstantExpr *CE = dyn_cast<ConstantExpr>(C);
240 if (GEPOperator *GEP = dyn_cast<GEPOperator>(CE)) {
267 if (ConstantInt *CI = dyn_cast<ConstantInt>(C))
    [all...]
ScalarEvolutionExpander.cpp 52 if (CastInst *CI = dyn_cast<CastInst>(U))
101 if (CastInst *CI = dyn_cast<CastInst>(V)) {
109 if (CastInst *CI = dyn_cast<CastInst>(V))
115 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V))
124 if (Constant *C = dyn_cast<Constant>(V))
129 if (Argument *A = dyn_cast<Argument>(V)) {
143 if (InvokeInst *II = dyn_cast<InvokeInst>(I))
155 if (Constant *CLHS = dyn_cast<Constant>(LHS))
156 if (Constant *CRHS = dyn_cast<Constant>(RHS))
227 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(S))
    [all...]
  /external/llvm/lib/TableGen/
Record.cpp 125 if(const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS))
219 if (BitInit *Bit = dyn_cast<BitInit>(BI->getBit(i))) {
293 if (ListRecTy *LRT = dyn_cast<ListRecTy>(TI->getType()))
300 if(const ListRecTy* ListTy = dyn_cast<ListRecTy>(RHS))
335 return dyn_cast<RecordRecTy>(R->getDefInit()->getType());
351 if (RecordRecTy *RRT = dyn_cast<RecordRecTy>(TI->getType()))
359 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS);
384 if (RecordRecTy *RecTy1 = dyn_cast<RecordRecTy>(T1)) {
402 if (RecordRecTy *RecTy2 = dyn_cast<RecordRecTy>(T2)) {
629 ListRecTy *ListType = dyn_cast<ListRecTy>(getType())
    [all...]
  /external/clang/lib/ARCMigrate/
TransZeroOutPropsInDealloc.cpp 53 DeclRefExpr *refE = dyn_cast<DeclRefExpr>(receiver->IgnoreParenCasts());
107 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext());
156 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(E))
158 if (PseudoObjectExpr *PO = dyn_cast<PseudoObjectExpr>(E))
172 if (ObjCIvarRefExpr *IV = dyn_cast<ObjCIvarRefExpr>(LHS)) {
196 BinaryOperator *BO = dyn_cast<BinaryOperator>(PO->getSyntacticForm());
201 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens());
TransAutoreleasePool.cpp 57 if (DeclRefExpr *DE = dyn_cast<DeclRefExpr>(instance)) {
170 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) {
172 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) {
188 } else if (BinaryOperator *bop = dyn_cast<BinaryOperator>(child)) {
189 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(bop->getLHS())) {
190 if (VarDecl *VD = dyn_cast<VarDecl>(dref->getDecl())) {
307 if (ReturnStmt *retS = dyn_cast<ReturnStmt>(*SI))
353 ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E);
376 ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(S);
380 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(rec)
    [all...]
TransRetainReleaseDealloc.cpp 199 if (ReturnStmt *RetS = dyn_cast<ReturnStmt>(nextStmt))
227 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(S)) {
235 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
237 if (VarDecl *VD = dyn_cast<VarDecl>(RefD))
300 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E)) {
311 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
313 if (MemberExpr *ME = dyn_cast<MemberExpr>(E))
315 if (ObjCIvarRefExpr *IRE = dyn_cast<ObjCIvarRefExpr>(E))
351 if (StmtExpr *SE = dyn_cast<StmtExpr>(S)) {
385 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
CheckObjCDealloc.cpp 33 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(S))
59 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(S))
63 if (ObjCIvarRefExpr *E = dyn_cast<ObjCIvarRefExpr>(Receiver))
68 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(S))
71 if (DeclRefExpr *E = dyn_cast<DeclRefExpr>(Receiver))
80 if (BinaryOperator* BO = dyn_cast<BinaryOperator>(S))
83 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParenCasts()))
DynamicTypePropagation.cpp 60 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
84 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) {
105 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) {
150 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
213 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) {
218 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl()))
220 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl()))
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCUtil.cpp 94 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType())) {
115 if (PointerType *Pte = dyn_cast<PointerType>(ETy))
127 if (PointerType *PTy = dyn_cast<PointerType>(A0->getType()))
128 if (PointerType *Pte = dyn_cast<PointerType>(PTy->getElementType()))
130 if (PointerType *PTy1 = dyn_cast<PointerType>(A1->getType())) {
140 if (PointerType *Pte1 = dyn_cast<PointerType>(ETy1))
155 if (const Instruction *I = dyn_cast<Instruction>(V)) {
  /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/llvm/lib/Target/R600/
AMDILISelDAGToDAG.cpp 108 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
141 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
183 if (dyn_cast<RegisterSDNode>(N->getOperand(i))) {
211 ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(N);
227 ConstantSDNode *C = dyn_cast<ConstantSDNode>(N);
269 ConstantSDNode *C = dyn_cast<ConstantSDNode>(Use->getOperand(ImmIdx));
379 if (RegisterSDNode *Reg = dyn_cast<RegisterSDNode>(Ops[SrcIdx - 1])) {
381 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Ops[SelIdx[j] - 1]);
387 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(CstOffset);
423 return dyn_cast<PointerType>(ptrType)->getAddressSpace() == addrspace
    [all...]
  /external/llvm/lib/Transforms/Scalar/
MemCpyOptimizer.cpp 51 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i));
57 if (StructType *STy = dyn_cast<StructType>(*GTI)) {
78 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1);
79 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2);
205 if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
385 if (StoreInst *NextStore = dyn_cast<StoreInst>(BI)) {
489 if (LoadInst *LI = dyn_cast<LoadInst>(SI->getOperand(0))) {
495 C = dyn_cast<CallInst>(ldep.getInst());
591 AllocaInst *srcAlloca = dyn_cast<AllocaInst>(cpySrc);
598 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize())
    [all...]
DeadStoreElimination.cpp 136 if (Instruction *OpI = dyn_cast<Instruction>(Op))
153 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
193 if (StoreInst *SI = dyn_cast<StoreInst>(Inst))
196 if (MemIntrinsic *MI = dyn_cast<MemIntrinsic>(Inst)) {
207 IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst);
237 if (MemTransferInst *MTI = dyn_cast<MemTransferInst>(Inst))
247 if (StoreInst *SI = dyn_cast<StoreInst>(I))
250 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
283 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
300 if (StoreInst *SI = dyn_cast<StoreInst>(I)
    [all...]
CodeGenPrepare.cpp 245 BranchInst *Term = dyn_cast<BranchInst>(SinglePred->getTerminator());
276 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
317 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
327 if (const PHINode *UPN = dyn_cast<PHINode>(User))
329 Instruction *Insn = dyn_cast<Instruction>(UPN->getIncomingValue(I));
341 const PHINode *DestBBPN = dyn_cast<PHINode>(DestBB->begin());
346 if (const PHINode *BBPN = dyn_cast<PHINode>(BB->begin())) {
359 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
364 if (const PHINode *V2PN = dyn_cast<PHINode>(V2))
407 (PN = dyn_cast<PHINode>(BBI)); ++BBI)
    [all...]
  /external/clang/lib/AST/
Expr.cpp 60 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) {
75 } else if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) {
78 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
84 } else if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
105 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(E)) {
112 = dyn_cast<MaterializeTemporaryExpr>(E)) {
117 if (const CXXDefaultArgExpr *DAE = dyn_cast<CXXDefaultArgExpr>(E))
134 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
145 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E))
148 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E))
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp 37 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) {
46 const Expr *E = dyn_cast<Expr>(S);
52 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(E)) {
57 else if (const UnaryOperator *U = dyn_cast<UnaryOperator>(E)) {
61 else if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) {
66 else if (const ObjCIvarRefExpr *IvarRef = dyn_cast<ObjCIvarRefExpr>(E)) {
69 else if (const ArraySubscriptExpr *AE = dyn_cast<ArraySubscriptExpr>(E)) {
80 if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(S))
87 if (const ReturnStmt *RS = dyn_cast<ReturnStmt>(S))
237 const ReturnStmt *Ret = dyn_cast<ReturnStmt>(SP->getStmt())
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp 155 CmpInst *Ci2 = dyn_cast<CmpInst>(SI2->getCondition());
189 (PN = dyn_cast<PHINode>(I)); ++I)
213 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator());
214 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator());
266 BranchInst *BI = dyn_cast<BranchInst>(CommonPred->getTerminator());
336 Instruction *I = dyn_cast<Instruction>(V);
340 if (ConstantExpr *C = dyn_cast<ConstantExpr>(V))
354 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator());
392 ConstantInt *CI = dyn_cast<ConstantInt>(V);
405 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)
    [all...]
  /external/clang/include/clang/AST/
DeclFriend.h 113 return Friend.dyn_cast<TypeSourceInfo*>();
126 return Friend.dyn_cast<NamedDecl*>();
137 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND))
139 if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(ND)) {
  /external/clang/include/clang/Basic/
LLVM.h 56 using llvm::dyn_cast;
  /external/clang/lib/Analysis/
LiveVariables.cpp 235 while (const ArrayType *VT = dyn_cast<ArrayType>(ty)) {
236 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(VT))
248 if (const Expr *Ex = dyn_cast<Expr>(S))
250 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) {
254 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(S)) {
307 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
320 if (OpaqueValueExpr *OV = dyn_cast<OpaqueValueExpr>(child))
357 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS))
358 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
387 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())
    [all...]
  /external/clang/tools/libclang/
CXComment.h 48 return dyn_cast<T>(C);
  /external/llvm/lib/IR/
Value.cpp 129 const Instruction *User = dyn_cast<Instruction>(*I);
146 if (Instruction *I = dyn_cast<Instruction>(V)) {
150 } else if (BasicBlock *BB = dyn_cast<BasicBlock>(V)) {
153 } else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
156 } else if (Argument *A = dyn_cast<Argument>(V)) {
198 if (Function *F = dyn_cast<Function>(this))
318 if (Constant *C = dyn_cast<Constant>(U.getUser())) {
328 if (BasicBlock *BB = dyn_cast<BasicBlock>(this))
351 if (GEPOperator *GEP = dyn_cast<GEPOperator>(V)) {
369 } else if (GlobalAlias *GA = dyn_cast<GlobalAlias>(V))
    [all...]
  /external/llvm/tools/bugpoint-passes/
TestPasses.cpp 61 if (CallInst *CI = dyn_cast<CallInst>(I)) {

Completed in 738 milliseconds

1 23 4 5 6 7 8 91011>>