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

1 2 3 4 5 6 7 891011>>

  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 147 if (GlobalAddressSDNode *G = dyn_cast<GlobalAddressSDNode>(N0)) {
151 } else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(N0)) {
156 } else if (ExternalSymbolSDNode *S = dyn_cast<ExternalSymbolSDNode>(N0)) {
159 } else if (JumpTableSDNode *J = dyn_cast<JumpTableSDNode>(N0)) {
225 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N.getOperand(1))) {
  /external/llvm/lib/Target/
TargetLoweringObjectFile.cpp 80 if (const ConstantArray *CVA = dyn_cast<ConstantArray>(C)) {
84 dyn_cast<ConstantInt>(CVA->getOperand(ATy->getNumElements()-1));
129 const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV);
172 if (ArrayType *ATy = dyn_cast<ArrayType>(C->getType())) {
174 dyn_cast<IntegerType>(ATy->getElementType())) {
  /external/llvm/lib/Transforms/Scalar/
SimplifyCFGPass.cpp 125 if (CallInst *CI = dyn_cast<CallInst>(BBI)) {
143 if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) {
160 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
220 ReturnInst *Ret = dyn_cast<ReturnInst>(BB.getTerminator());
260 PHINode *RetBlockPHI = dyn_cast<PHINode>(RetBlock->begin());
  /external/llvm/tools/bugpoint/
ExtractFunction.cpp 203 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
207 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){
213 ConstantInt *CI = dyn_cast<ConstantInt>(CS->getOperand(0));
217 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(FP))
220 if (Function *F = dyn_cast<Function>(FP)) {
  /external/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 455 if (ConstantFPSDNode *N0CFP = dyn_cast<ConstantFPSDNode>(Op.getOperand(0)))
685 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(Op)) {
    [all...]
SelectionDAG.cpp     [all...]
  /external/clang/lib/AST/
ItaniumMangle.cpp 44 const DeclContext *DC = dyn_cast<DeclContext>(ND);
49 return dyn_cast<CXXRecordDecl>(DC);
337 if (const LinkageSpecDecl *Linkage = dyn_cast<LinkageSpecDecl>(DC))
357 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
413 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
415 else if (const VarDecl *VD = dyn_cast<VarDecl>(D))
488 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)){
497 dyn_cast<ClassTemplateSpecializationDecl>(ND)) {
578 = dyn_cast<TemplateTemplateParmDecl>(ND)) {
911 if (TypeDecl *typeDecl = dyn_cast<TypeDecl>(firstQualifierLookup))
    [all...]
DeclCXX.cpp 359 const CXXMethodDecl* Method = dyn_cast<CXXMethodDecl>(*Op);
416 FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D);
420 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
473 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) {
486 } else if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
501 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) {
573 if (CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(D)) {
592 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D)) {
632 if (CXXConversionDecl *Conversion = dyn_cast<CXXConversionDecl>(D)) {
659 if (FieldDecl *Field = dyn_cast<FieldDecl>(D))
    [all...]
DeclTemplate.cpp 58 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P))
67 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) {
71 = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
89 = dyn_cast<TemplateTypeParmDecl>(FirstParm))
92 = dyn_cast<NonTypeTemplateParmDecl>(FirstParm))
105 if (TemplateTemplateParmDecl *TTP = dyn_cast<TemplateTemplateParmDecl>(*P))
175 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*Param)) {
183 dyn_cast<NonTypeTemplateParmDecl>(*Param)) {
634 = SpecializedTemplate.dyn_cast<SpecializedPartialSpecialization*>())
    [all...]
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 68 if (const NamespaceDecl *NSDecl = dyn_cast<NamespaceDecl>(Context))
71 if (const RecordDecl *RDecl = dyn_cast<RecordDecl>(Context)) {
105 dyn_cast<const ObjCImplementationDecl>(DC)) {
108 dyn_cast<const ObjCInterfaceDecl>(DC)) {
111 dyn_cast<const ObjCCategoryImplDecl>(DC)){
137 = dyn_cast<ClassTemplateSpecializationDecl>(RD);
442 if (const RecordType *RTy = dyn_cast<RecordType>(PointeeTy)) {
579 else if (const FunctionProtoType *FTP = dyn_cast<FunctionProtoType>(Ty)) {
710 dyn_cast<CXXRecordDecl>(RD->getDeclContext()))
765 if (const CXXConstructorDecl *CXXC = dyn_cast<CXXConstructorDecl>(Method))
    [all...]
CGCall.cpp 170 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
206 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(FD))
209 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(FD))
391 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy))
447 if (llvm::StructType *SrcSTy = dyn_cast<llvm::StructType>(SrcTy)) {
499 dyn_cast<llvm::StructType>(Val->getType())) {
532 if (llvm::StructType *DstSTy = dyn_cast<llvm::StructType>(DstTy)) {
667 if (llvm::StructType *st = dyn_cast<llvm::StructType>(argType)) {
719 else if (const FunctionDecl *Fn = dyn_cast<FunctionDecl>(TargetDecl)) {
807 dyn_cast<llvm::StructType>(AI.getCoerceToType())
    [all...]
CGRTTI.cpp 215 const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(PointeeTy);
233 if (const BuiltinType *BuiltinTy = dyn_cast<BuiltinType>(Ty))
238 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty))
254 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
285 if (const RecordType *RecordTy = dyn_cast<RecordType>(Ty)) {
290 if (const PointerType *PointerTy = dyn_cast<PointerType>(Ty))
294 dyn_cast<MemberPointerType>(Ty)) {
335 if (const RecordType *Record = dyn_cast<RecordType>(Ty)) {
680 if (const RecordType *RT = dyn_cast<RecordType>(Ty)) {
    [all...]
  /external/llvm/lib/VMCore/
Constants.cpp 45 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
54 if (const ConstantInt *CI = dyn_cast<ConstantInt>(this))
58 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
105 if (PointerType *PTy = dyn_cast<PointerType>(ScalarTy))
109 if (VectorType *VTy = dyn_cast<VectorType>(Ty))
116 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
167 const ConstantExpr *CE = dyn_cast<ConstantExpr>(this);
196 const Constant *UC = dyn_cast<Constant>(*UI);
223 if (const GlobalValue *GV = dyn_cast<GlobalValue>(this)) {
229 if (const BlockAddress *BA = dyn_cast<BlockAddress>(this)
    [all...]
Verifier.cpp 388 GlobalVariable *GVar = dyn_cast<GlobalVariable>(&GV);
424 if (ArrayType *ATy = dyn_cast<ArrayType>(GV.getType())) {
425 StructType *STy = dyn_cast<StructType>(ATy->getElementType());
451 const ConstantExpr *CE = dyn_cast<ConstantExpr>(GA.getAliasee());
491 if (MDNode *N = dyn_cast<MDNode>(Op)) {
502 if (Instruction *I = dyn_cast<Instruction>(Op))
504 else if (BasicBlock *BB = dyn_cast<BasicBlock>(Op))
506 else if (Argument *A = dyn_cast<Argument>(Op))
544 if (PointerType *PTy = dyn_cast<PointerType>(Ty)) {
725 for (BasicBlock::iterator I = BB.begin(); (PN = dyn_cast<PHINode>(I));++I)
    [all...]
  /external/clang/lib/Sema/
SemaTemplate.cpp 51 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(D)) {
69 = dyn_cast<ClassTemplateSpecializationDecl>(Record))
98 if (ClassTemplateDecl *ClassTmpl = dyn_cast<ClassTemplateDecl>(Repl))
    [all...]
SemaTemplateDeduction.cpp 139 if (ImplicitCastExpr *IC = dyn_cast<ImplicitCastExpr>(E))
142 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
143 return dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl());
154 if (NamedDecl *NX = dyn_cast<NamedDecl>(X))
156 if (NamedDecl *NY = dyn_cast<NamedDecl>(Y))
384 = dyn_cast<TemplateTemplateParmDecl>(ParamDecl)) {
439 = dyn_cast<TemplateSpecializationType>(Arg)) {
462 const RecordType *RecordArg = dyn_cast<RecordType>(Arg);
467 = dyn_cast<ClassTemplateSpecializationDecl>(RecordArg->getDecl());
515 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(ND)
    [all...]
  /external/clang/lib/Analysis/
UninitializedValues.cpp 392 if (DeclRefExpr* dr = dyn_cast<DeclRefExpr>(ex->IgnoreParenCasts()))
393 if (VarDecl *vd = dyn_cast<VarDecl>(dr->getDecl()))
404 if (DeclStmt* ds = dyn_cast<DeclStmt>(element)) {
443 if (const VarDecl *vd = dyn_cast<VarDecl>(dr->getDecl()))
451 if (VarDecl *vd = dyn_cast<VarDecl>(*DI)) {
540 else if (CStyleCastExpr *cse = dyn_cast<CStyleCastExpr>(ce)) {
642 if (const CFGStmt *cs = dyn_cast<CFGStmt>(&*I)) {
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp 150 /// @brief Methods to support type inquiry through isa, cast, and dyn_cast.
188 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) {
294 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) {
296 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) {
925 if (StructType *STy = dyn_cast<StructType>(TypeList[TypeID]))
    [all...]
  /external/llvm/lib/Target/Mips/
MipsISelDAGToDAG.cpp 118 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
144 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
148 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>
212 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Offset0))
214 else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Offset0))
283 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Offset0))
416 ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(Node);
  /external/llvm/lib/Transforms/Utils/
LowerInvoke.cpp 175 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) {
196 } else if (UnwindInst *UI = dyn_cast<UnwindInst>(BB->getTerminator())) {
228 while (PHINode *PN = dyn_cast<PHINode>(II->getUnwindDest()->begin())) {
351 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst))
411 if (ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator())) {
415 } else if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) {
417 } else if (UnwindInst *UI = dyn_cast<UnwindInst>(BB->getTerminator())) {
CodeExtractor.cpp 66 if (Instruction *I = dyn_cast<Instruction>(V))
77 if (Instruction *I = dyn_cast<Instruction>(V))
111 PHINode *PN = dyn_cast<PHINode>(Header->begin());
186 if (ReturnInst *RI = dyn_cast<ReturnInst>((*I)->getTerminator())) {
329 if (Instruction* inst = dyn_cast<Instruction>(*use))
350 if (TerminatorInst *TI = dyn_cast<TerminatorInst>(Users[i]))
364 PHINode *P = dyn_cast<PHINode>(*UI);
524 if (InvokeInst *Invoke = dyn_cast<InvokeInst>(outputs[out])) {
766 else if (const CallInst *CI = dyn_cast<CallInst>(I))
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp 163 /// @brief Methods to support type inquiry through isa, cast, and dyn_cast.
201 if (Constant *PHC = dyn_cast<Constant>(&*OldV)) {
307 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) {
309 } else if (ConstantStruct *UserCS = dyn_cast<ConstantStruct>(UserC)) {
938 if (StructType *STy = dyn_cast<StructType>(TypeList[TypeID]))
    [all...]
  /external/llvm/include/llvm/
Instructions.h 95 // Methods for support type inquiry through isa, cast, and dyn_cast:
171 // Methods for support type inquiry through isa, cast, and dyn_cast:
249 // Methods for support type inquiry through isa, cast, and dyn_cast:
518 // Methods for support type inquiry through isa, cast, and dyn_cast:
716 // Methods for support type inquiry through isa, cast, and dyn_cast:
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
ArrayBoundCheckerV2.cpp 115 NonLoc *lowerBoundToCheck = dyn_cast<NonLoc>(&lowerBound);
147 NonLoc *upperboundToCheck = dyn_cast<NonLoc>(&upperbound);
256 if (const SubRegion *subReg = dyn_cast<SubRegion>(region)) {
  /external/llvm/lib/CodeGen/
StackProtector.cpp 120 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
126 if (ArrayType *AT = dyn_cast<ArrayType>(AI->getAllocatedType())) {
156 ReturnInst *RI = dyn_cast<ReturnInst>(BB->getTerminator());

Completed in 394 milliseconds

1 2 3 4 5 6 7 891011>>