Searched refs:isa (Results 201 - 225 of 1051) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp336 if (isa<AllocaInst>(User) &&
338 isa<VectorType>(LI->getType()))
340 return isa<GetElementPtrInst>(LI->getPointerOperand()) && LI->isSimple();
349 if (isa<AllocaInst>(User) &&
351 isa<VectorType>(SI->getValueOperand()->getType()))
353 return (SI->getPointerOperand() == User) && isa<GetElementPtrInst>(User) && SI->isSimple();
501 if (isa<ConstantPointerNull>(OtherOp))
505 if (!isa<AllocaInst>(OtherObj))
839 if (isa<ConstantPointerNull>(CI->getOperand(0)))
842 if (isa<ConstantPointerNul
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp82 isa<UnreachableInst>(BB->getTerminator()) &&
141 if (!isa<PHINode>(BB->begin())) return;
218 if (isa<PHINode>(BB->front())) {
220 if (!isa<PHINode>(PN.getIncomingValue(0)) ||
305 isa<UnreachableInst>(BB->getTerminator()) &&
508 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI) &&
509 !isa<CallBrInst>(TI))
521 while (isa<PHINode>(SplitIt) || SplitIt->isEHPad())
648 for (BasicBlock::iterator I = OrigBB->begin(); isa<PHINode>(I); ) {
748 assert(!isa<IndirectBrIns
[all...]
H A DPredicateInfo.cpp60 assert(isa<PredicateWithEdge>(PB) &&
69 assert(isa<PredicateWithEdge>(PB) &&
78 assert(isa<PredicateWithEdge>(PB) &&
218 assert(isa<PredicateAssume>(VD.PInfo) &&
334 if ((isa<Instruction>(Op0) || isa<Argument>(Op0)) && !Op0->hasOneUse())
336 if ((isa<Instruction>(Op1) || isa<Argument>(Op1)) && !Op1->hasOneUse())
365 } else if (isa<CmpInst>(Operand)) {
437 } else if (isa<CmpIns
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSA.cpp146 if (!isa<FenceInst>(Inst))
352 : IsCall(isa<CallBase>(Inst)), Inst(Inst), OriginalAccess(Access) {
379 return isa<LoadInst>(I) && (I->hasMetadata(LLVMContext::MD_invariant_load) ||
467 assert(isa<MemoryPhi>(MA));
484 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) &&
557 assert(!isa<MemoryUse>(Desc.Last) && "Uses don't exist in my world");
591 assert(isa<MemoryPhi>(Desc.Last) &&
658 assert(isa<MemoryDef>(Query->OriginalAccess));
1093 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front()))
1124 if (isa<MemoryDe
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h71 if (isa<til::Wildcard>(E1))
72 return isa<til::Wildcard>(E2);
73 if (isa<til::Wildcard>(E2))
74 return isa<til::Wildcard>(E1);
323 bool isInvalid() const { return sexpr() && isa<til::Undefined>(sexpr()); }
325 bool isUniversal() const { return sexpr() && isa<til::Wildcard>(sexpr()); }
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h119 assert(isa<CallExpr>(E) || isa<CXXConstructExpr>(E) ||
120 isa<ObjCMessageExpr>(E));
643 assert(isa<CallExpr>(CE) || isa<CXXConstructExpr>(CE) ||
644 isa<ObjCMessageExpr>(CE));
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp182 while (isa<MemberExpr>(base))
184 if (isa<ObjCIvarRefExpr>(base) &&
185 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) {
239 if (isa<ParenExpr>(E->getSubExpr())) {
264 if (isa<ParenExpr>(WrapE)) {
374 } while (parent && isa<FullExpr>(parent));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp616 while (isa<DbgInfoIntrinsic>(BBI)) {
621 if (!isa<DbgInfoIntrinsic>(BBI) && !isa<PHINode>(BBI))
705 !(isa<SwitchInst>(Pred->getTerminator()) ||
706 isa<IndirectBrInst>(Pred->getTerminator())))
723 if (!isa<PHINode>(DestBB->begin()))
772 if (UI->getParent() != DestBB || !isa<PHINode>(UI))
1211 assert(isa<Constant>(Arg1) && "Unexpected input for usubo");
1244 if (isa<Constant>(A))
1298 if (isa<Constan
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp296 if (!isa<UndefValue>(GV->getInitializer()))
502 if (!isa<UndefValue>(V))
543 else if (isa<UndefValue>(Elt))
747 if (isa<CallBrInst>(&TI)) {
881 if (isa<UndefValue>(C))
987 if (isa<UndefValue>(C))
1011 if (isa<UndefValue>(C))
1085 if (isa<UndefValue>(C))
1125 if (isa<UndefValue>(C))
1135 if (TrackedGlobals.empty() || !isa<GlobalVariabl
[all...]
H A DGVNSink.cpp102 return isa<LoadInst>(I) || isa<StoreInst>(I) ||
103 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) ||
104 (isa<CallInst>(I) && !cast<CallInst>(I)->doesNotAccessMemory());
304 return llvm::any_of(Values, [&](Value *V) { return isa<Constant>(V); });
429 if (!isa<Instruction>(V)) {
544 if (isa<LoadInst>(&*I))
581 if (isa<PHINode>(I) || I->isEHPad() || isa<AllocaInst>(I) ||
739 if ((isa<CallIns
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherOpt.cpp148 if ((isa<CheckTypeMatcher>(N) || isa<CheckChildTypeMatcher>(N) ||
149 isa<RecordMatcher>(N)) &&
150 isa<CheckOpcodeMatcher>(N->getNext())) {
356 !isa<CheckOpcodeMatcher>(NewOptionsToMatch[i])) {
413 assert(M && isa<CheckTypeMatcher>(M) && "Unknown Matcher type");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp307 if (isa<Constant>(V))
320 assert(!isa<Constant>(V) && "Constant should already be handled.");
321 if (!isa<Instruction>(V))
460 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType))
468 !isa<VectorType>(VecInput->getType()))
497 assert((isa<VectorType>(Trunc.getSrcTy()) ||
583 if (!isa<VectorType>(SrcTy) && !shouldChangeType(SrcTy, DestTy))
641 if (Shuf && Shuf->hasOneUse() && isa<UndefValue>(Shuf->getOperand(1)) &&
674 if (isa<UndefValue>(VecOp)) {
822 if (Src->hasOneUse() && isa<IntegerTyp
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h588 assert(isa<ObjCMethodDecl>(fd) || isa<FunctionDecl>(fd));
601 assert(isa<ObjCMethodDecl>(FD));
688 assert(isa<GlobalImmutableSpaceRegion>(sreg) ||
689 isa<StackLocalsSpaceRegion>(sreg) ||
690 isa<UnknownSpaceRegion>(sreg));
773 assert(s && isa<SymbolData>(s));
777 assert(isa<UnknownSpaceRegion>(sreg) || isa<HeapSpaceRegion>(sreg));
881 assert(isa<GlobalInternalSpaceRegio
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp437 if (!isa<SExtInst>(OpA) && !isa<ZExtInst>(OpA))
440 bool Signed = isa<SExtInst>(OpA);
453 isa<ConstantInt>(OpB->getOperand(1)) &&
607 bool IsLoadChain = isa<LoadInst>(Chain[0]);
611 assert(isa<LoadInst>(I) &&
614 assert(isa<StoreInst>(I) &&
620 if (isa<LoadInst>(I) || isa<StoreInst>(I)) {
625 } else if (isa<IntrinsicIns
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp398 Value *Addr = isa<StoreInst>(*I)
401 if (isa<AllocaInst>(GetUnderlyingObject(Addr, DL)) &&
420 if (isa<AtomicRMWInst>(I))
422 if (isa<AtomicCmpXchgInst>(I))
424 if (isa<FenceInst>(I))
459 else if (isa<LoadInst>(Inst) || isa<StoreInst>(Inst))
461 else if (isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) {
464 if (isa<MemIntrinsi
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp134 assert(!isa<TagDecl>(this) || !cast<TagDecl>(this)->isCompleteDefinition());
139 if (!isa<ParmVarDecl>(this)) {
227 return isa<TemplateDecl>(this);
340 if (!isa<TagDecl>(LDC))
663 } else if (isa<ObjCInterfaceDecl>(this) &&
679 if (isa<WeakImportAttr>(A))
927 if (isa<TranslationUnitDecl>(this) ||
928 isa<TemplateTypeParmDecl>(this) ||
929 isa<NonTypeTemplateParmDecl>(this) ||
931 !isa<CXXRecordDec
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp652 return isa<ReturnStmt>(*LastStmt);
1052 if (D && isa<CXXMethodDecl>(D) && cast<CXXMethodDecl>(D)->isInstance()) {
1106 EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall
1226 if (MD && (isa<CXXConstructorDecl>(MD) || isa<CXXDestructorDecl>(MD)))
1291 if (isa<CXXDestructorDecl>(FD))
1293 else if (isa<CXXConstructorDecl>(FD))
1299 else if (isa<CXXMethodDecl>(FD) &&
1304 } else if (FD->isDefaulted() && isa<CXXMethodDecl>(FD) &&
1363 if (isa<LabelStm
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-isa.c44 #include <isa/isavar.h>
206 DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, NULL, NULL);
/freebsd-11-stable/sys/pc98/cbus/
H A Dpmc.c47 #include <isa/isavar.h>
244 DRIVER_MODULE(pmc, isa, pmc_isa_driver, pmc_devclass, 0, 0);
H A Dsyscons_cbus.c47 #include <isa/isavar.h>
202 DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0);
/freebsd-11-stable/sys/sparc64/sparc64/
H A Drtc.c56 #include <isa/isavar.h>
123 DRIVER_MODULE(rtc, isa, rtc_isa_driver, rtc_devclass, 0, 0);
/freebsd-11-stable/sys/dev/fdc/
H A Dfdc_cbus.c47 #include <isa/isavar.h>
184 DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0);
/freebsd-11-stable/sys/isa/
H A Disavar.h37 #include <isa/pnpvar.h>
75 * inform the isa bus about the resource possibilities of the
142 * Simplified accessors for isa devices
145 __BUS_ACCESSOR(isa, var, ISA, ivar, type)
H A Dsyscons_isa.c61 #include <isa/isavar.h>
254 DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0);
/freebsd-11-stable/sys/dev/scd/
H A Dscd_isa.c23 #include <isa/isavar.h>
175 DRIVER_MODULE(scd, isa, scd_isa_driver, scd_devclass, NULL, 0);

Completed in 176 milliseconds

1234567891011>>