Searched refs:isa (Results 51 - 75 of 635) sorted by relevance

1234567891011>>

/external/embunit/inc/
H A DTestCaller.h56 TestImplement* isa; member in struct:__TestCaller
/external/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp53 if (UI->getParent() != BB || isa<PHINode>(UI))
83 while (isa<AllocaInst>(I)) ++I;
97 if (!(isa<AllocaInst>(iib) && iib->getParent() == BBEntry) &&
116 if (isa<PHINode>(iib))
H A DEarlyCSE.cpp68 return isa<CastInst>(Inst) || isa<BinaryOperator>(Inst) ||
69 isa<GetElementPtrInst>(Inst) || isa<CmpInst>(Inst) ||
70 isa<SelectInst>(Inst) || isa<ExtractElementInst>(Inst) ||
71 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) ||
72 isa<ExtractValueInst>(Inst) || isa<InsertValueIns
[all...]
/external/llvm/unittests/Support/
H A DCasting.cpp103 TEST(CastingTest, isa) {
104 EXPECT_TRUE(isa<foo>(B1));
105 EXPECT_TRUE(isa<foo>(B2));
106 EXPECT_TRUE(isa<foo>(B3));
107 EXPECT_TRUE(isa<foo>(B4));
184 // for example, Derived inherits from Base, and we do `isa<Base>(Derived)`.
204 EXPECT_TRUE(isa<Base>(D));
225 EXPECT_TRUE(isa<UseInferredUpcast>(&UIU));
295 EXPECT_TRUE(!isa<pointer_wrappers::Derived>(MB));
296 EXPECT_TRUE(!isa<pointer_wrapper
[all...]
/external/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp255 if (isa<CmpInst>(L)) {
261 } else if (isa<CallInst>(L)) {
263 } else if (isa<PHINode>(L)) {
276 } else if (isa<InvokeInst>(L)) {
288 } else if (isa<BranchInst>(L)) {
306 } else if (isa<SwitchInst>(L)) {
344 } else if (isa<UnreachableInst>(L)) {
373 if (isa<GlobalValue>(L))
378 if (isa<ConstantExpr>(L))
384 if (isa<ConstantPointerNul
[all...]
H A DDiffConsumer.cpp50 out << (isa<GlobalValue>(V) ? '@' : '%') << V->getName();
54 if (isa<StoreInst>(V)) {
57 } else if (isa<CallInst>(V)) {
60 } else if (isa<InvokeInst>(V)) {
68 if (isa<Constant>(V)) {
99 if (isa<Function>(I->L)) {
110 } else if (isa<BasicBlock>(I->L)) {
122 } else if (isa<Instruction>(I->L)) {
/external/clang/lib/AST/
H A DMangle.cpp225 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC));
232 assert((isa<NamedDecl>(DC) || isa<BlockDecl>(DC)) &&
234 if (isa<BlockDecl>(DC))
235 for (; DC && isa<BlockDecl>(DC); DC = DC->getParent())
237 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) &&
H A DExprClassification.cpp204 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
232 if (isa<ObjCPropertyRefExpr>(Op))
412 if (isa<CXXMethodDecl>(D) && cast<CXXMethodDecl>(D)->isInstance())
420 islvalue = isa<VarDecl>(D) || isa<FieldDecl>(D) ||
421 isa<IndirectFieldDecl>(D) ||
423 (isa<FunctionDecl>(D) || isa<MSPropertyDecl>(D) ||
424 isa<FunctionTemplateDecl>(D)));
451 return (isa<FunctionDec
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DPointerSubChecker.cpp60 if (isa<SymbolicRegion>(BaseLR) || isa<SymbolicRegion>(BaseRR))
H A DAnalyzerStatsChecker.cpp97 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) {
101 else if (isa<BlockDecl>(D)) {
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp38 if (DR && isa<EnumConstantDecl>(DR->getDecl()))
70 if (isa<OffsetOfExpr>(S))
/external/llvm/lib/IR/
H A DStatepoint.cpp32 if (isa<InvokeInst>(inst) || isa<CallInst>(inst)) {
H A DUser.cpp26 assert((!isa<Constant>(this) || isa<GlobalValue>(this)) &&
H A DConstantFold.cpp147 if (isa<ConstantAggregateZero>(V))
157 if (isa<ConstantInt>(V) || isa<ConstantFP>(V))
163 if (isa<ConstantPointerNull>(V)) // ptr->ptr cast.
526 if (isa<UndefValue>(V)) {
567 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) &&
640 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne();
745 } else if (isa<UndefValue>(Cond)) {
746 V = isa<UndefValu
[all...]
H A DInstruction.cpp93 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
100 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
107 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
115 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
123 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
131 assert(isa<FPMathOperator>(this) && "setting fast-math flag on invalid op");
136 assert(isa<FPMathOperator>(this) && "copying fast-math flag on invalid op");
142 assert(isa<FPMathOperator>(this) && "getting fast-math flag on invalid op");
148 assert(isa<FPMathOperator>(this) && "getting fast-math flag on invalid op");
154 assert(isa<FPMathOperato
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp63 if (!isa<PointerType>(Arg->getType())) {
65 if (isa<SExtInst>(*UI)) {
/external/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp91 if (!isa<TerminatorInst>(I)) {
94 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt)
138 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp45 isa<ConstantInt>(I->getOperand(2)))
78 if (!isa<ConstantInt>(III->getOperand(2)))
133 !(isa<BinaryOperator>(PHIUser)) || !CheapToScalarize(PHIUser, true))
165 if (pos && !isa<PHINode>(pos)) {
239 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) {
254 if (isa<Constant>(IE->getOperand(2)) && isa<Constant>(EI.getOperand(1))) {
336 if (isa<UndefValue>(V)) {
360 if (!isa<ConstantInt>(IdxOp))
364 if (isa<UndefValu
[all...]
H A DInstCombineLoadStoreAlloca.cpp74 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) {
190 while (isa<AllocaInst>(*It) || isa<DbgInfoIntrinsic>(*It))
208 if (isa<UndefValue>(AI.getArraySize()))
610 if (isa<Constant>(GEPI->getOperand(Idx)))
717 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){
730 if (isa<UndefValue>(Op) ||
731 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) {
766 if (isa<ConstantPointerNul
[all...]
/external/llvm/include/llvm/Support/
H A DCasting.h10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
25 // isa<x> Support Templates
50 // The core of the implementation of isa<X> is here; To and From should be
52 // implementation of isa<> without rewriting it from scratch.
81 assert(Val && "isa<> used on a null pointer");
88 assert(Val && "isa<> used on a null pointer");
95 assert(Val && "isa<> used on a null pointer");
102 assert(Val && "isa<> used on a null pointer");
126 // isa<X> - Return true if the parameter to the template is an instance of the
129 // if (isa<Typ
132 LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) { function in namespace:llvm
[all...]
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp62 if (C->getNumOperands() && !isa<GlobalValue>(C))
64 if (!isa<BasicBlock>(Op) && !isa<GlobalValue>(Op))
84 if (!isa<GlobalValue>(G.getInitializer()))
87 if (!isa<GlobalValue>(A.getAliasee()))
91 if (!isa<GlobalValue>(F.getPrefixData()))
94 if (!isa<GlobalValue>(F.getPrologueData()))
128 if ((isa<Constant>(*Op) && !isa<GlobalValue>(*Op)) ||
129 isa<InlineAs
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DLexer.pm82 if ($exception->isa('ANTLR::Runtime::RecognitionException')) {
254 if ($e->isa('ANTLR::Runtime::MismatchedTokenException')) {
259 } elsif ($e->isa('ANTLR::Runtime::NoViableAltException')) {
261 } elsif ($e->isa('ANTLR::Runtime::EarlyExitException')) {
264 } elsif ($e->isa('ANTLR::Runtime::MismatchedSetException')) {
267 } elsif ($e->isa('ANTLR::Runtime::MismatchedNotSetException')) {
270 } elsif ($e->isa('ANTLR::Runtime::MismatchedRangeException')) {
H A DANTLRFileStream.pm12 isa => 'Str',
/external/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp93 if (isa<BlockAddress>(UR)) continue;
97 if (!isa<CallInst>(UR) && !isa<InvokeInst>(UR))
196 if (isa<UndefValue>(V))
200 if (isa<Constant>(V) || isa<Argument>(V)) {
201 if (isa<UndefValue>(RV)) {
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp131 assert((GV || isa<ConstantPointerNull>(V)) &&
218 (isa<VectorType>(T1) && isa<VectorType>(T2) &&
245 if (isa<BitCastInst>(I)) {
249 } else if (isa<GetElementPtrInst>(I)) {
253 } else if (isa<IntToPtrInst>(I)) {
257 if (!isa<VectorType>(I->getType()) &&
261 } else if (isa<PtrToIntInst>(I)) {
265 if (!isa<VectorType>(I->getType()) &&
269 } else if (isa<TruncIns
[all...]

Completed in 1434 milliseconds

1234567891011>>