Searched refs:isa (Results 226 - 250 of 635) sorted by relevance

1234567891011>>

/external/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr()))
H A DTransRetainReleaseDealloc.cpp260 while (OuterS && (isa<ParenExpr>(OuterS) ||
261 isa<CastExpr>(OuterS) ||
262 isa<ExprWithCleanups>(OuterS)));
420 if (isa<ObjCAtFinallyStmt>(S))
H A DTransProtectedScope.cpp89 while (Parent && (isa<SwitchCase>(Parent) || isa<LabelStmt>(Parent)))
/external/clang/lib/Sema/
H A DSemaAccess.cpp70 if (isa<EnumDecl>(DC))
106 if (isa<CXXRecordDecl>(DC)) {
110 } else if (isa<FunctionDecl>(DC)) {
453 if (isa<ClassTemplateSpecializationDecl>(Record)) {
556 if (isa<ClassTemplateDecl>(Friend))
559 if (isa<FunctionTemplateDecl>(Friend))
562 if (isa<CXXRecordDecl>(Friend))
565 assert(isa<FunctionDecl>(Friend) && "unknown friend decl kind");
1073 if (isa<CXXConstructorDecl>(D) || isa<CXXDestructorDec
[all...]
H A DSemaDecl.cpp79 bool IsType = isa<TypeDecl>(ND) || isa<ObjCInterfaceDecl>(ND);
80 bool AllowedTemplate = AllowClassTemplates && isa<ClassTemplateDecl>(ND);
173 if (!isa<TypeDecl>(ND))
387 if (isa<TypeDecl>(*Res) || isa<ObjCInterfaceDecl>(*Res)) {
469 else if (isa<TranslationUnitDecl>(DC))
657 if (isa<TypeDecl>(*I) || isa<ObjCInterfaceDecl>(*I))
660 if (CheckTemplate && isa<TemplateDec
[all...]
H A DSemaDeclObjC.cpp66 !isa<ObjCImplementationDecl>(method->getDeclContext()))
74 if (isa<ObjCProtocolDecl>(method->getDeclContext())) {
464 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
1021 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
1051 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) {
1834 isa<ObjCProtocolDecl>(CDecl));
1836 WarnExactTypedMethods(ImpMethodDecl, I, isa<ObjCProtocolDecl>(CDecl));
1857 isa<ObjCProtocolDecl>(CDecl));
1860 isa<ObjCProtocolDecl>(CDecl));
2023 if (PrevDecl && !isa<ObjCInterfaceDec
[all...]
H A DSemaStmtAttr.cpp28 if (!isa<NullStmt>(St)) {
31 if (isa<SwitchCase>(St)) {
/external/clang/lib/StaticAnalyzer/Checkers/
H A DReturnUndefChecker.cpp64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) &&
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp75 if (isa<CodeTextRegion>(R) || isa<SymbolicRegion>(R))
359 Failed = isa<TypedValueRegion>(MR);
471 if (isa<ElementRegion>(BaseRegion->StripCasts()))
H A DSVals.cpp35 if (isa<SymbolConjured>(sym))
43 if (isa<SymbolConjured>(sym))
/external/clang/tools/libclang/
H A DCIndexHigh.cpp28 if (!isa<ObjCMethodDecl>(D) && !isa<CXXMethodDecl>(D))
105 if (isa<ObjCMethodDecl>(D) || isa<CXXMethodDecl>(D))
/external/llvm/include/llvm/IR/
H A DValue.h76 const unsigned char SubclassID; // Subclass identifier (for isa/dyn_cast)
618 // isa - Provide some specializations of isa so that we don't have to include
672 return isa<GlobalObject>(Val) || isa<GlobalAlias>(Val);
678 return isa<GlobalVariable>(Val) || isa<Function>(Val);
/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp138 && !isa<ConstantPointerNull>(V);
156 if (EvalAAMD && isa<LoadInst>(&*I))
158 if (EvalAAMD && isa<StoreInst>(&*I))
164 if (!isa<Function>(Callee) && isInterestingPointer(Callee))
H A DScalarEvolutionNormalization.cpp231 if (isa<SCEVConstant>(S) || isa<SCEVUnknown>(S))
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.cpp23 assert((isa<MDCompileUnit>(S) || isa<MDFile>(S) || isa<MDSubprogram>(S) ||
24 isa<MDLexicalBlockBase>(S)) &&
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp56 hasCalls |= (isa<CallInst>(II) && !isa<DbgInfoIntrinsic>(II));
58 if (isa<ConstantInt>(AI->getArraySize()))
350 if (!isa<PHINode>(NewInst)) {
375 hasCalls |= (isa<CallInst>(II) && !isa<DbgInfoIntrinsic>(II));
377 if (isa<ConstantInt>(AI->getArraySize()))
532 if (isa<PHINode>(VMap[PN]))
674 assert(!isa<PHINode>(Dest->begin()));
H A DLoopSimplify.cpp135 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr;
171 if (isa<IndirectBrInst>(P->getTerminator())) return nullptr;
215 for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ) {
278 if (isa<IndirectBrInst>(PN->getIncomingBlock(i)->getTerminator()))
383 if (isa<IndirectBrInst>(P->getTerminator()))
403 for (BasicBlock::iterator I = Header->begin(); isa<PHINode>(I); ++I) {
661 if (isa<DbgInfoIntrinsic>(Inst))
832 if (isa<IndirectBrInst>((*PI)->getTerminator())) {
847 if (isa<IndirectBrInst>((ExitingBlocks[i])->getTerminator())) {
H A DModuleUtils.cpp99 if (isa<Function>(FuncOrBitcast))
H A DPromoteMemoryToRegister.cpp199 return (isa<LoadInst>(I) && isa<AllocaInst>(I->getOperand(0))) ||
200 (isa<StoreInst>(I) && isa<AllocaInst>(I->getOperand(1)));
327 if (isa<LoadInst>(I) || isa<StoreInst>(I))
357 bool StoringGlobalVal = !isa<Instruction>(OnlyStore->getOperand(0));
366 if (!isa<LoadInst>(UserInst)) {
1019 for (BasicBlock::iterator II = BB->begin(); !isa<TerminatorInst>(II);) {
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp203 assert(!isa<ConstantInt>(V) && "No ConstantInt");
212 if (isa<ConstantInt>(V0))
239 if (V->hasOneUse() && isa<Instruction>(V) &&
241 (!isa<FPMathOperator>(V) ||
249 if (V->hasOneUse() && isa<Instruction>(V) &&
252 (!isa<FPMathOperator>(V) ||
273 return !isa<DbgInfoIntrinsic>(I);
306 if (isa<Argument>(V)) return ValueRankMap[V]; // Function argument.
335 assert(isa<BinaryOperator>(I) && "Expected binary operator.");
343 if (isa<Constan
[all...]
H A DLoopStrengthReduce.cpp393 while (Try < BaseRegsSize && !isa<SCEVAddRecExpr>(ScaledReg))
501 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy));
509 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy));
518 return isa<SCEVMulExpr>(SE.getSignExtendExpr(M, WideTy));
673 bool isAddress = isa<LoadInst>(Inst);
779 if (isa<SCEVConstant>(Mul->getOperand(0)))
942 if (!AR->isAffine() || !isa<SCEVConstant>(AR->getOperand(1))) {
954 if (!isa<SCEVUnknown>(Reg) &&
955 !isa<SCEVConstant>(Reg) &&
956 !(isa<SCEVAddRecExp
[all...]
H A DLoadCombine.cpp92 while (isa<BitCastInst>(POP.Pointer) || isa<GetElementPtrInst>(POP.Pointer)) {
/external/clang/lib/CodeGen/
H A DCGCall.cpp178 assert(!isa<CXXConstructorDecl>(MD) && "wrong method for constructors!");
179 assert(!isa<CXXDestructorDecl>(MD) && "wrong method for destructors!");
264 assert(isa<FunctionType>(FTy));
268 if (isa<FunctionNoProtoType>(FTy)) {
275 assert(isa<FunctionProtoType>(FTy));
700 if (isa<ComplexExpansion>(Exp.get()))
702 assert(isa<NoExpansion>(Exp.get()));
724 assert(isa<NoExpansion>(Exp.get()));
769 assert(isa<NoExpansion>(Exp.get()));
806 } else if (isa<ComplexExpansio
[all...]
H A DCGExprCXX.cpp31 assert(CE == nullptr || isa<CXXMemberCallExpr>(CE) ||
32 isa<CXXOperatorCallExpr>(CE));
43 isa<CXXConstructorDecl>(MD) ? CodeGenFunction::TCK_ConstructorCall
61 unsigned ArgsToSkip = isa<CXXOperatorCallExpr>(CE) ? 1 : 0;
110 if (isa<BinaryOperator>(callee))
136 assert(isa<CXXMemberCallExpr>(CE) || isa<CXXOperatorCallExpr>(CE));
177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr);
178 if (isa<CXXConstructorDecl>(MD) &&
187 unsigned ArgsToSkip = isa<CXXOperatorCallExp
[all...]
/external/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp258 if (isa<InvokeInst>(Inst))
270 if (isa<InvokeInst>(Inst))

Completed in 1071 milliseconds

1234567891011>>