/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | FileEntry.h | 68 StringRef getNameAsRequested() const { return ME->first(); } in getNameAsRequested() 73 DirectoryEntryRef getDir() const { return ME->second->Dir; } in getDir() 128 MapValue(MapEntry &ME, DirectoryEntryRef Dir) : V(&ME), Dir(Dir) {} in MapValue() 132 bool isSameRef(const FileEntryRef &RHS) const { return ME == RHS.ME; } in isSameRef() 154 explicit FileEntryRef(const MapEntry &ME) : ME(&ME) { in FileEntryRef() argument 155 assert(ME.second && "Expected payload"); in FileEntryRef() 156 assert(ME.second->V && "Expected non-null"); in FileEntryRef() 161 const clang::FileEntryRef::MapEntry &getMapEntry() const { return *ME; } in getMapEntry() 165 const MapEntry *Base = ME; in getBaseMapEntry() 176 FileEntryRef(optional_none_tag) : ME(nullptr) {} in FileEntryRef() [all …]
|
H A D | DirectoryEntry.h | 50 const DirectoryEntry &getDirEntry() const { return *ME->getValue(); } in getDirEntry() 52 StringRef getName() const { return ME->getKey(); } in getName() 62 const MapEntry &getMapEntry() const { return *ME; } in getMapEntry() 65 bool isSameRef(DirectoryEntryRef RHS) const { return ME == RHS.ME; } in isSameRef() 68 explicit DirectoryEntryRef(const MapEntry &ME) : ME(&ME) {} in DirectoryEntryRef() argument 94 DirectoryEntryRef(optional_none_tag) : ME(nullptr) {} in DirectoryEntryRef() 95 bool hasOptionalValue() const { return ME; } in hasOptionalValue() 103 : ME(llvm::DenseMapInfo<const MapEntry *>::getEmptyKey()) {} 105 : ME(llvm::DenseMapInfo<const MapEntry *>::getTombstoneKey()) {} 111 const MapEntry *ME;
|
/freebsd/sbin/newfs/ |
H A D | runtest01.sh | 6 ME=98 9 mdconfig -d -u $ME || true 11 mdconfig -a -t malloc -s $s -u $ME 13 disklabel -w md$ME auto 15 ./newfs -R /dev/md${ME}c 16 if cmp /dev/md${MD}c /dev/md${ME}c ; then 24 mdconfig -d -u $ME || true
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnusedInitDelegate.cpp | 49 bool VisitObjCMessageExpr(ObjCMessageExpr *ME) { in VisitObjCMessageExpr() argument 50 if (ME->isDelegateInitCall() && in VisitObjCMessageExpr() 51 isRemovable(ME) && in VisitObjCMessageExpr() 53 ME->getExprLoc())) { in VisitObjCMessageExpr() 56 ME->getExprLoc()); in VisitObjCMessageExpr() 57 SourceRange ExprRange = ME->getSourceRange(); in VisitObjCMessageExpr()
|
H A D | TransZeroOutPropsInDealloc.cpp | 42 bool VisitObjCMessageExpr(ObjCMessageExpr *ME) { in VisitObjCMessageExpr() argument 46 if (ME->getReceiverKind() != ObjCMessageExpr::Instance) in VisitObjCMessageExpr() 48 Expr *receiver = ME->getInstanceReceiver(); in VisitObjCMessageExpr() 61 if (PropDecl->getSetterName() == ME->getSelector()) { in VisitObjCMessageExpr() 71 Expr *RHS = ME->getArg(0); in VisitObjCMessageExpr() 75 if (RHSIsNull && isRemovable(ME)) in VisitObjCMessageExpr() 76 TA.removeStmt(ME); in VisitObjCMessageExpr()
|
H A D | TransRetainReleaseDealloc.cpp | 294 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E)) { in getReferencedDecl() local 295 switch (ME->getMethodFamily()) { in getReferencedDecl() 300 return getReferencedDecl(ME->getInstanceReceiver()); in getReferencedDecl() 307 if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getReferencedDecl() local 308 return ME->getMemberDecl(); in getReferencedDecl() 404 if (ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(E)) in isDelegateMessage() local 405 return (ME->isInstanceMessage() && ME->getSelector() == DelegateSel); in isDelegateMessage()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyDebugValueManager.cpp | 37 ME = Def->getParent()->end(); in WebAssemblyDebugValueManager() local 38 MI != ME; ++MI) { in WebAssemblyDebugValueManager() 75 ME = Def->getParent()->end(); in getSinkableDebugValues() local 76 MI != ME; ++MI) { in getSinkableDebugValues() 96 ME = Def->getParent()->end(); in getSinkableDebugValues() local 97 MI != ME; ++MI) { in getSinkableDebugValues() 102 ME = Insert->getIterator(); in getSinkableDebugValues() local 103 MI != ME; ++MI) { in getSinkableDebugValues() 225 ME = Insert; in isInsertSamePlace() local 226 MI != ME; ++MI) { in isInsertSamePlace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonMCInstLower.cpp | 44 const MCExpr *ME; in GetSymbolRef() local 85 ME = MCSymbolRefExpr::create(Symbol, RelocationType, MC); in GetSymbolRef() 88 ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC), in GetSymbolRef() 91 ME = HexagonMCExpr::create(ME, MC); in GetSymbolRef() 92 HexagonMCInstrInfo::setMustExtend(*ME, MustExtend); in GetSymbolRef() 93 return MCOperand::createExpr(ME); in GetSymbolRef()
|
H A D | BitTracker.cpp | 184 dbgs() << printReg(P.first, &ME.TRI) << " -> " << P.second << "\n"; in print_cells() 188 : ME(E), MF(F), MRI(F.getRegInfo()), Map(*new CellMapType), Trace(false) { in BitTracker() 805 uint16_t DefBW = ME.getRegBitWidth(DefRR); in visitPHI() 807 RegisterCell DefC = ME.getCell(DefRR, Map); in visitPHI() 826 RegisterCell ResC = ME.getCell(RU, Map); in visitPHI() 828 dbgs() << " input reg: " << printReg(RU.Reg, &ME.TRI, RU.Sub) in visitPHI() 835 dbgs() << "Output: " << printReg(DefRR.Reg, &ME.TRI, DefRR.Sub) in visitPHI() 837 ME.putCell(DefRR, DefC, Map); in visitPHI() 850 bool Eval = ME.evaluate(MI, Map, ResMap); in visitNonBranch() 857 dbgs() << " input reg: " << printReg(RU.Reg, &ME.TRI, RU.Sub) in visitNonBranch() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | ObjCNoReturn.cpp | 49 bool ObjCNoReturn::isImplicitNoReturn(const ObjCMessageExpr *ME) { in isImplicitNoReturn() argument 50 Selector S = ME->getSelector(); in isImplicitNoReturn() 52 if (ME->isInstanceMessage()) { in isImplicitNoReturn() 57 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
|
H A D | ThreadSafetyCommon.cpp | 80 const auto *ME = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); in isCalleeArrow() local 81 return ME ? ME->isArrow() : false; in isCalleeArrow() 129 else if (const auto *ME = dyn_cast<MemberExpr>(DeclExp)) { in translateAttrExpr() local 130 Ctx.SelfArg = ME->getBase(); in translateAttrExpr() 131 Ctx.SelfArrow = ME->isArrow(); in translateAttrExpr() 391 til::SExpr *SExprBuilder::translateMemberExpr(const MemberExpr *ME, in translateMemberExpr() argument 393 til::SExpr *BE = translate(ME->getBase(), Ctx); in translateMemberExpr() 396 const auto *D = cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr() 447 const CXXMemberCallExpr *ME, CallingContext *Ctx) { in translateCXXMemberCallExpr() argument 450 if (ME->getMethodDecl()->getNameAsString() == "get" && in translateCXXMemberCallExpr() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RunLoopAutoreleaseLeakChecker.cpp | 91 const auto *ME = Match.getNodeAs<ObjCMessageExpr>(OtherMsgBind); in emitDiagnostics() local 92 assert(ME); in emitDiagnostics() 103 assert(ME != RLR); in emitDiagnostics() 106 if (seenBefore(DeclBody, RLR, ME)) in emitDiagnostics() 113 ME, BR.getSourceManager(), ADC); in emitDiagnostics() 114 SourceRange Range = ME->getSourceRange(); in emitDiagnostics()
|
H A D | InvalidatedIteratorChecker.cpp | 46 void checkPreStmt(const MemberExpr *ME, CheckerContext &C) const; 102 void InvalidatedIteratorChecker::checkPreStmt(const MemberExpr *ME, in checkPreStmt() argument 104 if (!ME->isArrow() || ME->isImplicitAccess()) in checkPreStmt() 108 SVal BaseVal = State->getSVal(ME->getBase(), C.getLocationContext()); in checkPreStmt()
|
H A D | MallocOverflowSecurityChecker.cpp | 144 static const Decl *getDecl(const MemberExpr *ME) { in getDecl() argument 145 return ME->getMemberDecl(); in getDecl() 167 else if (const auto *ME = dyn_cast<MemberExpr>(E)) { in CheckExpr() local 168 Erase<MemberExpr>(ME, PrecedesMalloc); in CheckExpr() 224 else if (const auto *ME = dyn_cast<MemberExpr>(E)) in CheckAssignmentExpr() local 225 Erase<MemberExpr>(ME, pred); in CheckAssignmentExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchMCInstLower.cpp | 122 const MCExpr *ME = in lowerSymbolOperand() local 126 ME = MCBinaryExpr::createAdd( in lowerSymbolOperand() 127 ME, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand() 130 ME = LoongArchMCExpr::create(ME, Kind, Ctx); in lowerSymbolOperand() 131 return MCOperand::createExpr(ME); in lowerSymbolOperand()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
H A D | CodeGenIntrinsics.cpp | 162 ME = MemoryEffects::none(); in setProperty() 164 if (ME.onlyWritesMemory()) in setProperty() 168 ME &= MemoryEffects::readOnly(); in setProperty() 170 if (ME.onlyReadsMemory()) in setProperty() 174 ME &= MemoryEffects::writeOnly(); in setProperty() 176 ME &= MemoryEffects::argMemOnly(); in setProperty() 178 ME &= MemoryEffects::inaccessibleMemOnly(); in setProperty() 180 ME &= MemoryEffects::inaccessibleOrArgMemOnly(); in setProperty()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ModRef.h | 171 MemoryEffectsBase ME = *this; in getWithModRef() local 172 ME.setModRef(Loc, MR); in getWithModRef() 173 return ME; in getWithModRef() 178 MemoryEffectsBase ME = *this; in getWithoutLoc() local 179 ME.setModRef(Loc, ModRefInfo::NoModRef); in getWithoutLoc() 180 return ME; in getWithoutLoc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYMCInstLower.cpp | 67 const MCExpr *ME = in lowerSymbolOperand() local 71 ME = CSKYMCExpr::create(ME, Kind, Ctx); in lowerSymbolOperand() 73 return MCOperand::createExpr(ME); in lowerSymbolOperand()
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | AnyCall.h | 79 AnyCall(const ObjCMessageExpr *ME) in AnyCall() argument 80 : E(ME), D(ME->getMethodDecl()), K(ObjCMethod) {} in AnyCall() 114 if (const auto *ME = dyn_cast<ObjCMessageExpr>(E)) { in forExpr() local 115 return AnyCall(ME); in forExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
H A D | XtensaAsmPrinter.cpp | 204 const MCExpr *ME = in LowerSymbolOperand() local 206 ME = XtensaMCExpr::create(ME, Kind, OutContext); in LowerSymbolOperand() 214 ME = MCBinaryExpr::createAdd(ME, OffsetExpr, OutContext); in LowerSymbolOperand() 217 return MCOperand::createExpr(ME); in LowerSymbolOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCTargetDesc.h | 76 static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { in isRunOfOnes() 84 ME = llvm::countl_zero((Val - 1) ^ Val); in isRunOfOnes64() 90 ME = llvm::countl_zero(Val) - 1; in isRunOfOnes64() 100 static inline bool isRunOfOnes64(uint64_t Val, unsigned &MB, unsigned &ME) { in isRunOfOnes64() 108 ME = llvm::countl_zero((Val - 1) ^ Val); 114 ME = llvm::countl_zero(Val) - 1; 57 isRunOfOnes(unsigned Val,unsigned & MB,unsigned & ME) isRunOfOnes() argument 81 isRunOfOnes64(uint64_t Val,unsigned & MB,unsigned & ME) isRunOfOnes64() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 114 static void addLocAccess(MemoryEffects &ME, const MemoryLocation &Loc, in addLocAccess() argument 125 ME |= MemoryEffects::argMemOnly(MR); in addLocAccess() 131 ME |= MemoryEffects::argMemOnly(MR); in addLocAccess() 132 ME |= MemoryEffects(IRMemLocation::Other, MR); in addLocAccess() 135 static void addArgLocs(MemoryEffects &ME, const CallBase *Call, in addArgLocs() argument 141 addLocAccess(ME, in addArgLocs() 170 MemoryEffects ME = MemoryEffects::none(); in checkFunctionMemoryAccess() local 177 ME |= MemoryEffects::argMemOnly(ModRefInfo::ModRef); in checkFunctionMemoryAccess() 210 ME |= CallME.getWithoutLoc(IRMemLocation::ArgMem); in checkFunctionMemoryAccess() 216 ME |= MemoryEffects::argMemOnly(OtherMR); in checkFunctionMemoryAccess() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 84 const MemberExpr *ME = cast<MemberExpr>(E); in getBaseInfo() local 85 D = ME->getMemberDecl(); in getBaseInfo() 86 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo() 241 } else if (auto *ME = dyn_cast<MemberExpr>(E)) { in visitPotentialCaptures() local 242 Callback(cast<ValueDecl>(ME->getMemberDecl()), E); in visitPotentialCaptures()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | IntrinsicEmitter.cpp | 393 uint32_t LK = L->ME.toIntValue(); in compareFnAttributes() 394 uint32_t RK = R->ME.toIntValue(); in compareFnAttributes() 529 MemoryEffects ME = Intrinsic.ME; in EmitAttributes() local 531 if (ME.doesNotAccessMemory() && Intrinsic.hasSideEffects) in EmitAttributes() 532 ME = MemoryEffects::unknown(); in EmitAttributes() 533 if (ME != MemoryEffects::unknown()) { in EmitAttributes() 535 << "MemoryEffects::createFromIntValue(" << ME.toIntValue() << ")),\n"; in EmitAttributes() 596 (Intrinsic.ME != MemoryEffects::unknown() && in EmitAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCAsmInfo.cpp | 43 const MCExpr *ME = in getExprForFDESymbol() local 46 return RISCVMCExpr::create(ME, RISCVMCExpr::VK_RISCV_32_PCREL, Ctx); in getExprForFDESymbol()
|