| /minix3/external/bsd/llvm/dist/clang/test/FixIt/ |
| H A D | auto-isa-fixit.m | 12 x123->isa = 0; 13 x123->isa = rhs(); 14 x123->isa = (id)(x123->isa); 15 x123->isa = (id)x123->isa; 16 x123->isa = (x123->isa); 17 x123->isa = (id)(x123->isa); 18 return x123->isa; 24 Class isa; // expected-note 3 {{instance variable is declared here}} field 31 Class isa; // note, not first ivar; field 43 Class isa; // note, isa is not in root class field [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/ |
| H A D | deprecated-objc-introspection.m | 4 // Test deprecated direct usage of the 'isa' pointer. 10 struct objc_class *isa; field 15 struct objc_class *isa; field 29 …[(*x).isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor o… 30 …[x->isa self]; // expected-warning {{direct access to Objective-C's isa is deprecated in favor of … 35 // instance variable 'isa' is @protected; this will be a hard error in the future 38 [(*y).isa self]; // expected-error {{instance variable 'isa' is protected}} \ 40 [y->isa self]; // expected-error {{instance variable 'isa' is protected}} \ 45 // If an ivar is (1) the first ivar in a root class and (2) named `isa`, 46 // then it should get the same warnings that id->isa gets. [all …]
|
| H A D | opaque-is-access-warn.m | 1 …ple-darwin -arch arm64 -mios-version-min=7 -fsyntax-only -Wdeprecated-objc-isa-usage %s -Xclang -v… 3 …apple-darwin -mios-simulator-version-min=7 -fsyntax-only -Wdeprecated-objc-isa-usage %s -Xclang -v… 7 struct objc_class *isa; field 11 struct objc_class *isa; field 22 …[(*x).isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of … 23 …[x->isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of …
|
| H A D | opaque-is-access.m | 6 struct objc_class *isa; field 10 struct objc_class *isa; field 21 …[(*x).isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of … 22 …[x->isa self]; // expected-error {{direct access to Objective-C's isa is deprecated in favor of …
|
| H A D | class-getter-using-dotsyntax.m | 7 Class isa; field 11 Class isa; typedef 34 // FIXIT. (*version).isa does not work. Results in compiler error. 35 return version->isa;
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 35 if (isa<PointerType>(From) && isa<PointerType>(To)) { in compareTypesSimple() 69 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion() 70 isa<CallExpr>(Expr) || in tryToFixConversion() 71 isa<DeclRefExpr>(Expr) || in tryToFixConversion() 72 isa<CastExpr>(Expr) || in tryToFixConversion() 73 isa<CXXNewExpr>(Expr) || in tryToFixConversion() 74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion() 75 isa<CXXDeleteExpr>(Expr) || in tryToFixConversion() 76 isa<CXXNoexceptExpr>(Expr) || in tryToFixConversion() 77 isa<CXXPseudoDestructorExpr>(Expr) || in tryToFixConversion() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/ |
| H A D | id-isa-codegen.m | 7 Class isa; field 20 [object->isa isSubclassOfClass:[I class]]; 22 [(*object).isa isSubclassOfClass:[I class]]; 24 object->isa = src_object->isa; 25 (*src_object).isa = (*object).isa; 34 if(((id)inObject1)->isa == MyClass) 35 return ((id)inObject1)->isa; 42 id isa; field 48 if([Foo method]->isa) 49 return (*[Foo method]).isa; [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ScheduleDAGSDNodes.h | 56 if (isa<ConstantSDNode>(Node)) return true; in isPassiveNode() 57 if (isa<ConstantFPSDNode>(Node)) return true; in isPassiveNode() 58 if (isa<RegisterSDNode>(Node)) return true; in isPassiveNode() 59 if (isa<RegisterMaskSDNode>(Node)) return true; in isPassiveNode() 60 if (isa<GlobalAddressSDNode>(Node)) return true; in isPassiveNode() 61 if (isa<BasicBlockSDNode>(Node)) return true; in isPassiveNode() 62 if (isa<FrameIndexSDNode>(Node)) return true; in isPassiveNode() 63 if (isa<ConstantPoolSDNode>(Node)) return true; in isPassiveNode() 64 if (isa<TargetIndexSDNode>(Node)) return true; in isPassiveNode() 65 if (isa<JumpTableSDNode>(Node)) return true; in isPassiveNode() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 46 if (isa<BinaryOperator>(A) || isa<CastInst>(A) || isa<PHINode>(A) || in AreEquivalentAddressValues() 47 isa<GetElementPtrInst>(A)) in AreEquivalentAddressValues() 124 if (isa<CallInst>(BBI) && BBI->mayWriteToMemory() && in isSafeToLoadUnconditionally() 125 !isa<DbgInfoIntrinsic>(BBI)) in isSafeToLoadUnconditionally() 193 if (isa<DbgInfoIntrinsic>(Inst)) in FindAvailableLoadedValue() 232 if ((isa<AllocaInst>(StrippedPtr) || isa<GlobalVariable>(StrippedPtr)) && in FindAvailableLoadedValue() 233 (isa<AllocaInst>(StorePtr) || isa<GlobalVariable>(StorePtr)) && in FindAvailableLoadedValue()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 212 return isa<InvokeInst>(V) ? IC_CallOrUser : IC_User; in GetBasicInstructionClass() 266 return isa<ConstantPointerNull>(V) || isa<UndefValue>(V); in IsNullOrUndef() 270 return isa<BitCastInst>(I) || in IsNoopInstruction() 271 (isa<GetElementPtrInst>(I) && in IsNoopInstruction() 291 isa<ConstantPointerNull>(OldArg))) && in EraseInstruction() 306 if (isa<Constant>(Op) || isa<AllocaInst>(Op)) in IsPotentialRetainableObjPtr() 367 if (isa<CallInst>(V) || isa<InvokeInst>(V) || in IsObjCIdentifiedObject() 368 isa<Argument>(V) || isa<Constant>(V) || in IsObjCIdentifiedObject() 369 isa<AllocaInst>(V)) in IsObjCIdentifiedObject()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64AddressTypePromotion.cpp | 155 if (isa<SExtInst>(Inst)) in canGetThrough() 159 if (BinOp && isa<OverflowingBinaryOperator>(BinOp) && in canGetThrough() 164 if (isa<TruncInst>(Inst) && isa<SExtInst>(Inst->getOperand(0))) { in canGetThrough() 182 if (isa<SExtInst>(Inst) && in shouldGetThrough() 193 if (isa<TruncInst>(Inst)) in shouldGetThrough() 200 if (isa<BinaryOperator>(Inst) && isa<ConstantInt>(Inst->getOperand(1))) in shouldGetThrough() 207 if (isa<SelectInst>(Inst) && OpIdx == 0) in shouldSExtOperand() 218 if (isa<GetElementPtrInst>(U)) in shouldConsiderSExt() 281 if (isa<SExtInst>(Inst) || isa<TruncInst>(Inst)) { in propagateSignExtension() 328 if (isa<UndefValue>(Opnd)) { in propagateSignExtension() [all …]
|
| H A D | AArch64PromoteConstant.cpp | 243 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse() 247 if (isa<const ExtractValueInst>(Instr) && OpIdx > 0) in shouldConvertUse() 251 if (isa<const InsertValueInst>(Instr) && OpIdx > 1) in shouldConvertUse() 254 if (isa<const AllocaInst>(Instr) && OpIdx > 0) in shouldConvertUse() 258 if (isa<const LoadInst>(Instr) && OpIdx > 0) in shouldConvertUse() 262 if (isa<const StoreInst>(Instr) && OpIdx > 1) in shouldConvertUse() 266 if (isa<const GetElementPtrInst>(Instr) && OpIdx > 0) in shouldConvertUse() 271 if (isa<const LandingPadInst>(Instr)) in shouldConvertUse() 275 if (isa<const SwitchInst>(Instr)) in shouldConvertUse() 279 if (isa<const IndirectBrInst>(Instr)) in shouldConvertUse() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 70 if ((isa<ObjCStringLiteral>(Arg) && in rewriteObjCRedundantCallWithLiteral() 75 (isa<ObjCArrayLiteral>(Arg) && in rewriteObjCRedundantCallWithLiteral() 80 (isa<ObjCDictionaryLiteral>(Arg) && in rewriteObjCRedundantCallWithLiteral() 775 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral() 891 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens() 892 isa<CallExpr>(Expr) || in subscriptOperatorNeedsParens() 893 isa<DeclRefExpr>(Expr) || in subscriptOperatorNeedsParens() 894 isa<CXXNamedCastExpr>(Expr) || in subscriptOperatorNeedsParens() 895 isa<CXXConstructExpr>(Expr) || in subscriptOperatorNeedsParens() 896 isa<CXXThisExpr>(Expr) || in subscriptOperatorNeedsParens() [all …]
|
| /minix3/crypto/external/bsd/heimdal/dist/base/ |
| H A D | heimbase.c | 44 heim_type_t isa; member 53 heim_type_t isa; member 136 if (p->isa->dealloc) in heim_release() 137 p->isa->dealloc(ptr); in heim_release() 167 return p->isa; in _heim_get_isa() 181 heim_type_t isa = _heim_get_isa(ptr); in heim_get_tid() local 182 return isa->tid; in heim_get_tid() 196 heim_type_t isa = _heim_get_isa(ptr); in heim_get_hash() local 197 if (isa->hash) in heim_get_hash() 198 return isa->hash(ptr); in heim_get_hash() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 70 return isa<CastInst>(Inst) || isa<BinaryOperator>(Inst) || in canHandle() 71 isa<GetElementPtrInst>(Inst) || isa<CmpInst>(Inst) || in canHandle() 72 isa<SelectInst>(Inst) || isa<ExtractElementInst>(Inst) || in canHandle() 73 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle() 74 isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst); in canHandle() 101 if (isa<OverflowingBinaryOperator>(BinOp)) { in getHashValue() 135 assert((isa<CallInst>(Inst) || isa<BinaryOperator>(Inst) || in getHashValue() 136 isa<GetElementPtrInst>(Inst) || isa<SelectInst>(Inst) || in getHashValue() 137 isa<ExtractElementInst>(Inst) || isa<InsertElementInst>(Inst) || in getHashValue() 138 isa<ShuffleVectorInst>(Inst)) && "Invalid/unknown instruction"); in getHashValue() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | GlobalStatus.cpp | 35 if (isa<GlobalValue>(C)) in isSafeToDestroyConstant() 38 if (isa<ConstantInt>(C) || isa<ConstantFP>(C)) in isSafeToDestroyConstant() 59 if (!isa<PointerType>(CE->getType())) in analyzeGlobalAux() 107 } else if (isa<LoadInst>(StoredVal) && in analyzeGlobalAux() 124 } else if (isa<BitCastInst>(I)) { in analyzeGlobalAux() 127 } else if (isa<GetElementPtrInst>(I)) { in analyzeGlobalAux() 130 } else if (isa<SelectInst>(I)) { in analyzeGlobalAux() 139 } else if (isa<CmpInst>(I)) { in analyzeGlobalAux()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 55 return isa<CallInst>(V) && classof(cast<CallInst>(V)); in classof() 74 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 99 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 127 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 204 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 229 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 264 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 278 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 291 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() 303 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); in classof() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 73 if (isa<BitCastInst>(I) || isa<AddrSpaceCastInst>(I)) { in isOnlyCopiedFromConstantGlobal() 191 while (isa<AllocaInst>(*It) || isa<DbgInfoIntrinsic>(*It)) ++It; in visitAllocaInst() 208 } else if (isa<UndefValue>(AI.getArraySize())) { in visitAllocaInst() 432 if (isa<ConstantPointerNull>(GEPI0) && GEPI->getPointerAddressSpace() == 0){ in visitLoadInst() 445 if (isa<UndefValue>(Op) || in visitLoadInst() 446 (isa<ConstantPointerNull>(Op) && LI.getPointerAddressSpace() == 0)) { in visitLoadInst() 481 if (isa<ConstantPointerNull>(SI->getOperand(1)) && in visitLoadInst() 488 if (isa<ConstantPointerNull>(SI->getOperand(2)) && in visitLoadInst() 593 if (isa<BinaryOperator>(A) || in equivalentAddressValues() 594 isa<CastInst>(A) || in equivalentAddressValues() [all …]
|
| H A D | InstCombineVectorOps.cpp | 44 isa<ConstantInt>(I->getOperand(2))) in CheapToScalarize() 77 if (!isa<ConstantInt>(III->getOperand(2))) in FindScalarElement() 132 !(isa<BinaryOperator>(PHIUser)) || !CheapToScalarize(PHIUser, true)) in scalarizePHI() 164 if (pos && !isa<PHINode>(pos)) { in scalarizePHI() 238 CheapToScalarize(BO, isa<ConstantInt>(EI.getOperand(1)))) { in visitExtractElementInst() 253 if (isa<Constant>(IE->getOperand(2)) && isa<Constant>(EI.getOperand(1))) { in visitExtractElementInst() 335 if (isa<UndefValue>(V)) { in CollectSingleShuffleElements() 359 if (!isa<ConstantInt>(IdxOp)) in CollectSingleShuffleElements() 363 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. in CollectSingleShuffleElements() 372 if (isa<ConstantInt>(EI->getOperand(1))) { in CollectSingleShuffleElements() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ParentMap.cpp | 127 do { S = getParent(S); } while (S && isa<ParenExpr>(S)); in getParentIgnoreParens() 135 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts() 143 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); in getParentIgnoreParenImpCasts() 150 while (isa<ParenExpr>(S)) { in getOuterParenParent() 162 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr() 163 isa<ExprWithCleanups>(P))) { in isConsumedExpr() 173 return isa<Expr>(P); in isConsumedExpr()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 146 if (isa<ConstantAggregateZero>(V)) in FoldBitCast() 156 if (isa<ConstantInt>(V) || isa<ConstantFP>(V)) in FoldBitCast() 162 if (isa<ConstantPointerNull>(V)) // ptr->ptr cast. in FoldBitCast() 514 if (isa<UndefValue>(V)) { in ConstantFoldCastInstruction() 555 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction() 628 bool isOne = isa<ConstantInt>(Idx) && cast<ConstantInt>(Idx)->isOne(); in ConstantFoldCastInstruction() 733 } else if (isa<UndefValue>(Cond)) { in ConstantFoldSelectInstruction() 734 V = isa<UndefValue>(V1Element) ? V1Element : V2Element; in ConstantFoldSelectInstruction() 736 if (!isa<ConstantInt>(Cond)) break; in ConstantFoldSelectInstruction() 747 if (isa<UndefValue>(Cond)) { in ConstantFoldSelectInstruction() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.cpp | 61 if (C->getNumOperands() && !isa<GlobalValue>(C)) in orderValue() 63 if (!isa<BasicBlock>(Op) && !isa<GlobalValue>(Op)) in orderValue() 83 if (!isa<GlobalValue>(G.getInitializer())) in orderModule() 86 if (!isa<GlobalValue>(A.getAliasee())) in orderModule() 90 if (!isa<GlobalValue>(F.getPrefixData())) in orderModule() 93 if (!isa<GlobalValue>(F.getPrologueData())) in orderModule() 127 if ((isa<Constant>(*Op) && !isa<GlobalValue>(*Op)) || in orderModule() 128 isa<InlineAsm>(*Op)) in orderModule() 223 if (isa<Constant>(Op)) // Visit GlobalValues. in predictValueUseListOrder() 251 if (isa<Constant>(*Op) || isa<InlineAsm>(*Op)) // Visit GlobalValues. in predictUseListOrder() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/tools/llvm-diff/ |
| H A D | DiffConsumer.cpp | 50 out << (isa<GlobalValue>(V) ? '@' : '%') << V->getName(); in printValue() 54 if (isa<StoreInst>(V)) { in printValue() 57 } else if (isa<CallInst>(V)) { in printValue() 60 } else if (isa<InvokeInst>(V)) { in printValue() 68 if (isa<Constant>(V)) { in printValue() 99 if (isa<Function>(I->L)) { in header() 110 } else if (isa<BasicBlock>(I->L)) { in header() 122 } else if (isa<Instruction>(I->L)) { in header()
|
| H A D | DifferenceEngine.cpp | 255 if (isa<CmpInst>(L)) { in diff() 261 } else if (isa<CallInst>(L)) { in diff() 263 } else if (isa<PHINode>(L)) { in diff() 276 } else if (isa<InvokeInst>(L)) { in diff() 288 } else if (isa<BranchInst>(L)) { in diff() 306 } else if (isa<SwitchInst>(L)) { in diff() 344 } else if (isa<UnreachableInst>(L)) { in diff() 373 if (isa<GlobalValue>(L)) in equivalentAsOperands() 378 if (isa<ConstantExpr>(L)) in equivalentAsOperands() 384 if (isa<ConstantPointerNull>(L)) in equivalentAsOperands() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/unittests/Support/ |
| H A D | Casting.cpp | 103 TEST(CastingTest, isa) { in TEST() argument 104 EXPECT_TRUE(isa<foo>(B1)); in TEST() 105 EXPECT_TRUE(isa<foo>(B2)); in TEST() 106 EXPECT_TRUE(isa<foo>(B3)); in TEST() 107 EXPECT_TRUE(isa<foo>(B4)); in TEST() 204 EXPECT_TRUE(isa<Base>(D)); in TEST() 225 EXPECT_TRUE(isa<UseInferredUpcast>(&UIU)); in TEST() 295 EXPECT_TRUE(!isa<pointer_wrappers::Derived>(MB)); in TEST() 296 EXPECT_TRUE(!isa<pointer_wrappers::Derived>(CB)); in TEST() 297 EXPECT_TRUE(isa<pointer_wrappers::Derived>(MD)); in TEST() [all …]
|