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

1234567891011>>

/external/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp61 if (!isa<PointerType>(Arg->getType())) {
64 if (isa<SExtInst>(*UI)) {
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp43 if (isa<GlobalValue>(V) || isa<MDString>(V))
165 if (isa<ConstantArray>(C))
167 if (isa<ConstantStruct>(C))
169 if (isa<ConstantVector>(C))
172 if (isa<UndefValue>(C))
174 if (isa<ConstantAggregateZero>(C))
176 assert(isa<ConstantPointerNull>(C));
H A DDemoteRegToStack.cpp79 if (!isa<TerminatorInst>(I)) {
100 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt)
140 for (; isa<PHINode>(InsertPt) || isa<LandingPadInst>(InsertPt); ++InsertPt)
/external/llvm/tools/llvm-diff/
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/llvm/lib/IR/
H A DConstantFold.cpp144 if (isa<ConstantAggregateZero>(V))
154 if (isa<ConstantInt>(V) || isa<ConstantFP>(V))
160 if (isa<ConstantPointerNull>(V)) // ptr->ptr cast.
512 if (isa<UndefValue>(V)) {
550 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) &&
618 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne();
719 if (isa<UndefValue>(Cond)) {
720 if (isa<UndefValu
[all...]
H A DBasicBlock.cpp136 while (isa<PHINode>(i)) ++i;
146 while (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i)) ++i;
157 if (isa<PHINode>(i) || isa<DbgInfoIntrinsic>(i))
172 if (isa<LandingPadInst>(InsertPt)) ++InsertPt;
361 return isa<LandingPadInst>(getFirstNonPHI());
H A DTypeFinder.cpp65 if (!isa<Instruction>(OI))
117 if (!isa<Constant>(V) || isa<GlobalValue>(V)) return;
127 if (isa<Instruction>(V))
/external/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp123 if (isa<MDNode>(V) || isa<MDString>(V)) {
233 if (isa<MDNode>(V) || isa<MDString>(V))
235 else if (!isa<Instruction>(V) && !isa<Argument>(V))
243 assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind");
298 } else if (isa<Instruction>(V) || isa<Argumen
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp149 assert(isa<CallInst>(*I) && "Only a call instruction can use _reflect");
157 assert(isa<CallInst>(conv) && "Expected a const-to-gen conversion");
160 assert(isa<ConstantExpr>(str) &&
165 assert(isa<Constant>(Sym) && "Format of _reflect function not recognized");
169 assert(isa<ConstantDataSequential>(SymStr->getOperand(0)) &&
/external/llvm/include/llvm/IR/
H A DOperator.h71 return isa<Instruction>(V) || isa<ConstantExpr>(V);
124 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) ||
125 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
164 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) ||
165 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
306 return isa<Instruction>(V) && classof(cast<Instruction>(V));
323 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) ||
324 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
430 if (!isa<ConstantIn
[all...]
H A DUser.h94 assert((!isa<Constant>((const Value*)this) ||
95 isa<GlobalValue>((const Value*)this)) &&
178 // Methods for support type inquiry through isa, cast, and dyn_cast:
180 return isa<Instruction>(V) || isa<Constant>(V);
/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.cpp92 if (isa<BlockAddress>(U)) continue;
96 if (!isa<CallInst>(U) && !isa<InvokeInst>(U))
195 if (isa<UndefValue>(V))
199 if (isa<Constant>(V) || isa<Argument>(V)) {
200 if (isa<UndefValue>(RV)) {
/external/llvm/unittests/Support/
H A DCasting.cpp99 TEST(CastingTest, isa) {
100 EXPECT_TRUE(isa<foo>(B1));
101 EXPECT_TRUE(isa<foo>(B2));
102 EXPECT_TRUE(isa<foo>(B3));
103 EXPECT_TRUE(isa<foo>(B4));
180 // for example, Derived inherits from Base, and we do `isa<Base>(Derived)`.
200 EXPECT_TRUE(isa<Base>(D));
221 EXPECT_TRUE(isa<UseInferredUpcast>(&UIU));
/external/llvm/include/llvm/Support/
H A DCasting.h10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
24 // isa<x> Support Templates
49 // The core of the implementation of isa<X> is here; To and From should be
51 // implementation of isa<> without rewriting it from scratch.
83 assert(Val && "isa<> used on a null pointer");
90 assert(Val && "isa<> used on a null pointer");
97 assert(Val && "isa<> used on a null pointer");
104 assert(Val && "isa<> used on a null pointer");
128 // isa<X> - Return true if the parameter to the template is an instance of the
131 // if (isa<Typ
134 inline bool isa(const Y &Val) { function in namespace:llvm
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp97 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) {
101 else if (isa<BlockDecl>(D)) {
/external/clang/lib/AST/
H A DDeclBase.cpp83 if (Invalid && !isa<ParmVarDecl>(this)) {
160 return isa<FunctionDecl>(this) || isa<FunctionTemplateDecl>(this);
164 return isa<TemplateDecl>(this);
453 } else if (isa<ObjCInterfaceDecl>(this) &&
469 if (isa<WeakImportAttr>(*A))
664 if (isa<TranslationUnitDecl>(this) ||
665 isa<TemplateTypeParmDecl>(this) ||
666 isa<NonTypeTemplateParmDecl>(this) ||
667 !isa<CXXRecordDec
[all...]
/external/clang/test/Analysis/inlining/
H A DInlineObjCInstanceMethod.h9 Class isa; member in struct:objc_object
/external/compiler-rt/BlocksRuntime/tests/
H A Dbyrefsanity.c49 void *isa; member in struct:Block_basic2
H A DobjectRRGC.c38 long isa; member in struct:MyStruct
H A Dobjectassign.c37 long isa; member in struct:MyStruct
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp120 assert((GV || isa<ConstantPointerNull>(V)) &&
207 (isa<VectorType>(T1) && isa<VectorType>(T2) &&
234 if (isa<BitCastInst>(I)) {
238 } else if (isa<GetElementPtrInst>(I)) {
242 } else if (isa<IntToPtrInst>(I)) {
246 if (!isa<VectorType>(I->getType()) &&
250 } else if (isa<PtrToIntInst>(I)) {
254 if (!isa<VectorType>(I->getType()) &&
258 } else if (isa<TruncIns
[all...]
/external/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp38 if (isa<CallInst>(*I))
/external/compiler-rt/BlocksRuntime/
H A Druntime.c320 result->isa = _NSConcreteMallocBlock;
348 result->isa = _NSConcreteFinalizingBlock;
351 result->isa = _NSConcreteAutoBlock;
388 copy->isa = &_NSConcreteWeakBlockVariable; // mark isa field so it gets weak scanning
423 // by using an isa that directs the code to a finalizer that calls the byref_destroy method.
573 // flags will indicate if it holds a __weak reference and needs a special isa
633 if (closure->isa == NULL) {
634 cp += sprintf(cp, "isa: NULL\n");
636 else if (closure->isa
[all...]

Completed in 620 milliseconds

1234567891011>>