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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaCXX/
missing-header.cpp 7 if (const GCCAsmStmt *AS = dyn_cast<GCCAsmStmt>(S)) {}
  /external/llvm/lib/IR/
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);
BasicBlock.cpp 122 return dyn_cast<TerminatorInst>(&InstList.back());
127 return dyn_cast<TerminatorInst>(&InstList.back());
160 const IntrinsicInst *II = dyn_cast<IntrinsicInst>(i);
223 PHINode *APN = dyn_cast<PHINode>(&front());
250 while (PHINode *PN = dyn_cast<PHINode>(&front())) {
271 for (iterator II = begin(); (PN = dyn_cast<PHINode>(II)); ) {
326 (PN = dyn_cast<PHINode>(II)); ++II) {
348 PHINode *PN = dyn_cast<PHINode>(II);
367 return dyn_cast<LandingPadInst>(getFirstNonPHI());
370 return dyn_cast<LandingPadInst>(getFirstNonPHI())
    [all...]
  /external/clang/lib/AST/
StmtIterator.cpp 22 while (const ArrayType *vt = dyn_cast<ArrayType>(t)) {
23 if (const VariableArrayType *vat = dyn_cast<VariableArrayType>(vt))
44 if (VarDecl* VD = dyn_cast<VarDecl>(decl))
51 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI))
92 if (VarDecl* VD = dyn_cast<VarDecl>(D)) {
101 else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) {
108 else if (EnumConstantDecl* ECD = dyn_cast<EnumConstantDecl>(D)) {
148 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) {
  /external/clang/lib/StaticAnalyzer/Checkers/
StackAddrEscapeChecker.cpp 54 if (const CompoundLiteralRegion* CR = dyn_cast<CompoundLiteralRegion>(R)) {
62 else if (const AllocaRegion* AR = dyn_cast<AllocaRegion>(R)) {
69 else if (const BlockDataRegion *BR = dyn_cast<BlockDataRegion>(R)) {
76 else if (const VarRegion *VR = dyn_cast<VarRegion>(R)) {
81 else if (const CXXTempObjectRegion *TOR = dyn_cast<CXXTempObjectRegion>(R)) {
154 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE))
196 dyn_cast<StackSpaceRegion>(vR->getMemorySpace())) {
UndefinedAssignmentChecker.cpp 55 if (const BinaryOperator *B = dyn_cast<BinaryOperator>(StoreE)) {
70 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) {
71 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
DeadStoresChecker.cpp 57 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
107 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
224 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
233 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS);
240 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
244 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
262 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
265 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
266 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
280 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS)
    [all...]
CStringSyntaxChecker.cpp 39 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts()))
40 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts()))
48 dyn_cast<UnaryExprOrTypeTraitExpr>(E))
56 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) {
68 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(E))
74 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
110 dyn_cast<BinaryOperator>(LenArg->IgnoreParenCasts())) {
  /external/clang/test/CodeCompletion/
function-templates.cpp 6 X* dyn_cast(Y *Val);
18 // CHECK-CC1: dyn_cast<<#class X#>>(<#Y *Val#>)
  /external/clang/tools/libclang/
CIndexCXX.cpp 94 if (const CXXRecordDecl *CXXRecord = dyn_cast<CXXRecordDecl>(D)) {
96 = dyn_cast<ClassTemplatePartialSpecializationDecl>(CXXRecord))
99 = dyn_cast<ClassTemplateSpecializationDecl>(CXXRecord)) {
110 } else if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
114 } else if (const VarDecl *Var = dyn_cast<VarDecl>(D)) {
118 = dyn_cast<RedeclarableTemplateDecl>(D))
  /external/llvm/include/llvm/ADT/
TinyPtrVector.h 37 if (VecTy *V = Val.template dyn_cast<VecTy*>())
42 if (VecTy *V = Val.template dyn_cast<VecTy*>())
88 if (VecTy *V = Val.template dyn_cast<VecTy*>()) {
116 if (VecTy *Vec = Val.template dyn_cast<VecTy*>())
156 if (EltTy V = Val.template dyn_cast<EltTy>()) {
168 if (EltTy V = Val.template dyn_cast<EltTy>())
175 if (EltTy V = Val.template dyn_cast<EltTy>())
190 if (EltTy V = Val.template dyn_cast<EltTy>()) {
211 } else if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) {
226 } else if (VecTy *Vec = Val.template dyn_cast<VecTy*>())
    [all...]
  /external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 61 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
70 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
101 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI->getCondition());
105 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0));
114 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
140 if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) {
143 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
151 CallInst *CI = dyn_cast<CallInst>(BI++);
  /external/llvm/include/llvm/Support/
DataFlow.h 69 if (const User *U = dyn_cast<User>(N))
75 if(const User *U = dyn_cast<User>(N))
90 if (User *U = dyn_cast<User>(N))
96 if (User *U = dyn_cast<User>(N))
  /external/llvm/lib/Target/XCore/InstPrinter/
XCoreInstPrinter.cpp 51 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) {
52 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS());
53 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS());
57 SRE = dyn_cast<MCSymbolRefExpr>(Expr);
  /external/llvm/tools/llvm-objdump/
ELFDump.cpp 83 dyn_cast<ELFObjectFile<ELFType<support::little, 4, false> > >(Obj))
88 dyn_cast<ELFObjectFile<ELFType<support::big, 4, false> > >(Obj))
93 dyn_cast<ELFObjectFile<ELFType<support::little, 8, true> > >(Obj))
98 dyn_cast<ELFObjectFile<ELFType<support::big, 8, true> > >(Obj))
  /external/clang/lib/StaticAnalyzer/Core/
CheckerHelpers.cpp 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
  /external/llvm/lib/Analysis/
CodeMetrics.cpp 59 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
67 if (const CallInst *CI = dyn_cast<CallInst>(II))
71 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(II))
Loads.cpp 44 if (const Instruction *BI = dyn_cast<Instruction>(B))
67 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Base)) {
71 } else if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Base)) {
113 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
115 } else if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) {
170 if (LoadInst *LI = dyn_cast<LoadInst>(Inst))
176 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
PHITransAddr.cpp 60 Instruction *I = dyn_cast<Instruction>(Expr);
118 Instruction *Inst = dyn_cast<Instruction>(Addr);
125 Instruction *I = dyn_cast<Instruction>(V);
140 if (Instruction *Op = dyn_cast<Instruction>(I->getOperand(i)))
149 Instruction *Inst = dyn_cast<Instruction>(V);
170 if (PHINode *PN = dyn_cast<PHINode>(Inst))
181 if (Instruction *Op = dyn_cast<Instruction>(Inst->getOperand(i)))
189 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) {
199 if (Constant *C = dyn_cast<Constant>(PHIIn))
207 if (CastInst *CastI = dyn_cast<CastInst>(*UI)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 26 SelectInst *SI = dyn_cast<SelectInst>(V);
29 ICmpInst *ICI = dyn_cast<ICmpInst>(SI->getCondition());
186 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
196 ConstantInt *C1I = dyn_cast<ConstantInt>(C1);
199 ConstantInt *C2I = dyn_cast<ConstantInt>(C2);
214 if (Instruction *TVI = dyn_cast<Instruction>(TrueVal)) {
249 if (Instruction *FVI = dyn_cast<Instruction>(FalseVal)) {
296 Instruction *I = dyn_cast<Instruction>(V);
301 if (BinaryOperator *B = dyn_cast<BinaryOperator>(I)) {
309 if (CmpInst *C = dyn_cast<CmpInst>(I))
    [all...]
  /external/llvm/lib/CodeGen/
StackProtector.cpp 124 if (ArrayType *AT = dyn_cast<ArrayType>(Ty)) {
145 const StructType *ST = dyn_cast<StructType>(Ty);
160 if (const StoreInst *SI = dyn_cast<StoreInst>(U)) {
163 } else if (const PtrToIntInst *SI = dyn_cast<PtrToIntInst>(U)) {
170 } else if (const SelectInst *SI = dyn_cast<SelectInst>(U)) {
173 } else if (const PHINode *PN = dyn_cast<PHINode>(U)) {
179 } else if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) {
182 } else if (const BitCastInst *BI = dyn_cast<BitCastInst>(U)) {
220 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
228 dyn_cast<ConstantInt>(AI->getArraySize()))
    [all...]
  /external/clang/lib/Analysis/
PseudoConstantAnalysis.cpp 70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
88 if (const Expr *Ex = dyn_cast<Expr>(Head))
124 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl);
158 const VarDecl *VD = dyn_cast<VarDecl>(D);
177 const VarDecl *VD = dyn_cast<VarDecl>(*I);
192 if (const VarDecl *RefVD = dyn_cast<VarDecl>(D)) {
203 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
  /external/llvm/lib/Target/NVPTX/
NVPTXLowerAggrCopies.cpp 52 dyn_cast<PointerType>(srcAddr->getType())->getAddressSpace();
54 dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace();
90 dyn_cast<PointerType>(dstAddr->getType())->getAddressSpace();
124 if (LoadInst * load = dyn_cast<LoadInst>(II)) {
131 if (StoreInst * store = dyn_cast<StoreInst>(use)) {
136 } else if (MemTransferInst * intr = dyn_cast<MemTransferInst>(II)) {
140 if (ConstantInt * len_int = dyn_cast < ConstantInt > (len)) {
148 } else if (MemSetInst * memsetintr = dyn_cast<MemSetInst>(II)) {
150 if (ConstantInt * len_int = dyn_cast<ConstantInt>(len)) {
169 StoreInst *store = dyn_cast<StoreInst>(*load->use_begin())
    [all...]
  /external/llvm/lib/Target/R600/
AMDILPeepholeOptimizer.cpp 192 const StructType *ST = dyn_cast<StructType>(Ty);
204 return containsPointerType(dyn_cast<SequentialType>(Ty)->getElementType());
217 const PointerType *PT = dyn_cast<PointerType>(arg->getType());
222 if (!dyn_cast<StructType>(DereferencedType)
243 Constant *CV = dyn_cast<Constant>(CI->getOperand(0));
298 CallInst *CI = dyn_cast<CallInst>(inst);
334 Constant *CV = dyn_cast<Constant>(CI->getOperand(0));
346 ConstantInt *CV = dyn_cast<ConstantInt>(CI->getOperand(0));
360 Function *F = dyn_cast<Function>(CI->getOperand(CI->getNumOperands()-1));
367 F = dyn_cast<Function>
    [all...]
  /external/llvm/lib/Support/
YAMLTraits.cpp 88 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode);
99 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode);
125 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode);
138 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) {
150 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) {
163 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) {
172 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) {
194 if (ScalarHNode *SN = dyn_cast<ScalarHNode>(CurrentNode)) {
211 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) {
223 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode))
    [all...]

Completed in 3492 milliseconds

1 2 3 4 5 6 7 8 91011>>