HomeSort by relevance Sort by last modified time
    Searched refs:dyn_cast (Results 676 - 700 of 1820) sorted by null

<<21222324252627282930>>

  /external/clang/lib/Sema/
SemaLookup.cpp 391 if (auto *DFD = dyn_cast<FunctionDecl>(DUnderlying)) {
403 if (auto *DTD = dyn_cast<TemplateDecl>(DUnderlying)) {
427 if (VarDecl *DVD = dyn_cast<VarDecl>(DUnderlying)) {
523 if (TypeDecl *TD = dyn_cast<TypeDecl>(D)) {
785 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC))
799 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC))
809 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC)) {
865 FunctionTemplateDecl *ConvTemplate = dyn_cast<FunctionTemplateDecl>(*U);
    [all...]
SemaStmt.cpp 95 VarDecl *var = dyn_cast<VarDecl>(decl);
132 if (const BinaryOperator *Op = dyn_cast<BinaryOperator>(E)) {
140 } else if (const CXXOperatorCallExpr *Op = dyn_cast<CXXOperatorCallExpr>(E)) {
235 if (const ExprWithCleanups *Temps = dyn_cast<ExprWithCleanups>(E))
237 if (const CXXBindTemporaryExpr *TempExpr = dyn_cast<CXXBindTemporaryExpr>(E))
244 if (const CallExpr *CE = dyn_cast<CallExpr>(E)) {
273 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E)) {
285 } else if (const PseudoObjectExpr *POE = dyn_cast<PseudoObjectExpr>(E)) {
292 = dyn_cast<CXXFunctionalCastExpr>(E)) {
298 else if (const CStyleCastExpr *CE = dyn_cast<CStyleCastExpr>(E))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineCompares.cpp 204 ConstantInt *Idx = dyn_cast<ConstantInt>(GEP->getOperand(i));
210 if (StructType *STy = dyn_cast<StructType>(EltTy))
212 else if (ArrayType *ATy = dyn_cast<ArrayType>(EltTy)) {
466 if (ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i))) {
494 ConstantInt *CI = dyn_cast<ConstantInt>(GEP->getOperand(i));
585 auto *CI = dyn_cast<CastInst>(V);
593 if (auto *GEP = dyn_cast<GEPOperator>(V)) {
611 if (auto *PN = dyn_cast<PHINode>(V)) {
633 auto *PHI = dyn_cast<PHINode>(Use);
634 auto *Inst = dyn_cast<Instruction>(Val)
    [all...]
  /external/clang/include/clang/AST/
DeclContextInternals.h 70 return Data.dyn_cast<NamedDecl *>();
74 return Data.dyn_cast<DeclsAndHasExternalTy>();
  /external/clang/lib/StaticAnalyzer/Checkers/
VirtualCallChecker.cpp 143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) {
162 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee());
  /external/clang/test/SemaTemplate/
overload-candidates.cpp 13 R *dyn_cast(const T&); // expected-note{{candidate template ignored: couldn't infer template argument 'R'}}
16 (void)dyn_cast(ptr); // expected-error{{no matching function for call to 'dyn_cast'}}
  /external/llvm/include/llvm/CodeGen/
MachineMemOperand.h 140 const Value *getValue() const { return PtrInfo.V.dyn_cast<const Value*>(); }
143 return PtrInfo.V.dyn_cast<const PseudoSourceValue*>();
  /external/llvm/lib/Analysis/
ScopedNoAliasAA.cpp 134 if (const MDNode *MD = dyn_cast<MDNode>(MDOp))
147 if (const MDNode *NAMD = dyn_cast<MDNode>(MDOp))
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 193 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
203 const auto *GV = dyn_cast<GlobalValue>(MemAddr);
206 if (const auto *CV = dyn_cast<Constant>(MemAddr))
225 if (CallInst *CI = dyn_cast<CallInst>(J)) {
226 if (InlineAsm *IA = dyn_cast<InlineAsm>(CI->getCalledValue())) {
428 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(J)) {
512 if (const SCEVConstant *ConstEC = dyn_cast<SCEVConstant>(EC)) {
548 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {
  /external/llvm/lib/Target/X86/AsmParser/
X86Operand.h 142 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
156 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
170 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
184 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
195 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
379 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
441 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
460 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  /external/llvm/lib/Target/X86/
X86TargetObjectFile.cpp 116 } else if (const auto *CFP = dyn_cast<ConstantFP>(C)) {
118 } else if (const auto *CI = dyn_cast<ConstantInt>(C)) {
  /external/llvm/lib/Transforms/IPO/
CrossDSOCFI.cpp 69 auto TM = dyn_cast<ValueAsMetadata>(MD->getOperand(1));
102 Function *F = dyn_cast<Function>(C);
  /external/llvm/lib/Transforms/Scalar/
SpeculativeExecution.cpp 164 BranchInst *BI = dyn_cast<BranchInst>(B.getTerminator());
235 if (Instruction *I = dyn_cast<Instruction>(V)) {
  /external/llvm/lib/Transforms/Utils/
AddDiscriminators.cpp 211 << dyn_cast<DILexicalBlockFile>(NewScope)->getDiscriminator()
224 CallInst *Current = dyn_cast<CallInst>(&I);
  /external/llvm/tools/llvm-dwarfdump/
llvm-dwarfdump.cpp 103 if (auto *Obj = dyn_cast<ObjectFile>(BinOrErr->get()))
105 else if (auto *Fat = dyn_cast<MachOUniversalBinary>(BinOrErr->get()))
  /external/spirv-llvm/lib/SPIRV/
SPIRVRegularizeLLVM.cpp 127 if (auto Call = dyn_cast<CallInst>(II)) {
134 if (auto BO = dyn_cast<BinaryOperator>(II)) {
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
ConstantMerge.cpp 69 ConstantArray *Inits = dyn_cast<ConstantArray>(LLVMUsed->getInitializer());
74 dyn_cast<GlobalValue>(Inits->getOperand(i)->stripPointerCasts()))
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
Sink.cpp 82 if (PHINode *PN = dyn_cast<PHINode>(UseInst)) {
162 if (LoadInst *L = dyn_cast<LoadInst>(Inst)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
CFGPrinter.h 131 if (const BranchInst *BI = dyn_cast<BranchInst>(Node->getTerminator()))
136 if (const SwitchInst *SI = dyn_cast<SwitchInst>(Node->getTerminator())) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
ScopedNoAliasAA.cpp 136 if (const MDNode *MD = dyn_cast<MDNode>(MDOp))
149 if (const MDNode *NAMD = dyn_cast<MDNode>(MDOp))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp 163 if (const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV))
838 if (auto *SP = dyn_cast<DISubprogram>(V->getScope())) {
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
RandomIRBuilder.cpp 53 if (auto *I = dyn_cast<Instruction>(Ptr)) {
142 if (auto PtrTy = dyn_cast<PointerType>(Inst->getType())) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Instructions.cpp 55 auto C = dyn_cast<ConstantInt>(getArraySize());
127 if (VectorType *VT = dyn_cast<VectorType>(Op0->getType())) {
131 VectorType *ET = dyn_cast<VectorType>(Op1->getType());
399 const ConstantInt *CVal = dyn_cast<ConstantInt>(val);
430 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) {
475 if (Function *F = dyn_cast<Function>(MallocFunc)) {
561 if (Function *F = dyn_cast<Function>(FreeFunc))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUAliasAnalysis.cpp 127 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(Base)) {
130 } else if (const Argument *Arg = dyn_cast<Argument>(Base)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
ObjCARCContract.cpp 262 Store = dyn_cast<StoreInst>(Inst);
363 auto *Load = dyn_cast<LoadInst>(GetArgRCIdentityRoot(Release));
612 if (PHINode *PHI = dyn_cast<PHINode>(U.getUser())) {
661 if (const BitCastInst *BI = dyn_cast<BitCastInst>(Arg))
672 if (PHINode *PN = dyn_cast<PHINode>(Arg)) {
687 if (auto *BC = dyn_cast<BitCastInst>(U))
694 if (auto *B = dyn_cast<BitCastInst>(U))
746 if (const MDString *S = dyn_cast<MDString>(N->getOperand(0)))

Completed in 1032 milliseconds

<<21222324252627282930>>