/freebsd/contrib/file/src/ |
H A D | encoding.c | 301 #define AS 0xF0 // ASCII: size 1 macro 316 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x00-0x0F 317 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x10-0x1F 318 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x20-0x2F 319 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x30-0x3F 320 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x40-0x4F 321 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x50-0x5F 322 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x60-0x6F 323 AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, AS, // 0x70-0x7F
|
/freebsd/sys/kern/ |
H A D | init_sysent.c | 11 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 70 …{ .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = … 72 …{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = … 73 …{ .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags… 74 …{ .sy_narg = AS(open_args), .sy_call = (sy_call_t *)sys_open, .sy_auevent = AUE_OPEN_RWTC, .sy_fla… 75 …{ .sy_narg = AS(close_args), .sy_call = (sy_call_t *)sys_close, .sy_auevent = AUE_CLOSE, .sy_flags… 76 …{ .sy_narg = AS(wait4_args), .sy_call = (sy_call_t *)sys_wait4, .sy_auevent = AUE_WAIT4, .sy_flags… 77 …{ compat(AS(ocreat_args),creat), .sy_auevent = AUE_CREAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATI… 78 …{ .sy_narg = AS(link_args), .sy_call = (sy_call_t *)sys_link, .sy_auevent = AUE_LINK, .sy_flags = … 79 …{ .sy_narg = AS(unlink_args), .sy_call = (sy_call_t *)sys_unlink, .sy_auevent = AUE_UNLINK, .sy_fl… [all …]
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_sysent.c | 12 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 71 …{ .sy_narg = AS(exit_args), .sy_call = (sy_call_t *)sys_exit, .sy_auevent = AUE_EXIT, .sy_flags = … 73 …{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_READ, .sy_flags = … 74 …{ .sy_narg = AS(write_args), .sy_call = (sy_call_t *)sys_write, .sy_auevent = AUE_WRITE, .sy_flags… 75 …{ .sy_narg = AS(open_args), .sy_call = (sy_call_t *)sys_open, .sy_auevent = AUE_OPEN_RWTC, .sy_fla… 76 …{ .sy_narg = AS(close_args), .sy_call = (sy_call_t *)sys_close, .sy_auevent = AUE_CLOSE, .sy_flags… 77 …{ .sy_narg = AS(freebsd32_wait4_args), .sy_call = (sy_call_t *)freebsd32_wait4, .sy_auevent = AUE_… 78 …{ compat(AS(ocreat_args),creat), .sy_auevent = AUE_CREAT, .sy_flags = 0, .sy_thrcnt = SY_THR_STATI… 79 …{ .sy_narg = AS(link_args), .sy_call = (sy_call_t *)sys_link, .sy_auevent = AUE_LINK, .sy_flags = … 80 …{ .sy_narg = AS(unlink_args), .sy_call = (sy_call_t *)sys_unlink, .sy_auevent = AUE_UNLINK, .sy_fl… [all …]
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysent.c | 13 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 18 …{ .sy_narg = AS(linux_exit_args), .sy_call = (sy_call_t *)linux_exit, .sy_auevent = AUE_EXIT, .sy_… 20 …{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_NULL, .sy_flags = … 21 …{ .sy_narg = AS(linux_write_args), .sy_call = (sy_call_t *)linux_write, .sy_auevent = AUE_NULL, .s… 22 …{ .sy_narg = AS(linux_open_args), .sy_call = (sy_call_t *)linux_open, .sy_auevent = AUE_OPEN_RWTC,… 23 …{ .sy_narg = AS(close_args), .sy_call = (sy_call_t *)sys_close, .sy_auevent = AUE_CLOSE, .sy_flags… 24 …{ .sy_narg = AS(linux_waitpid_args), .sy_call = (sy_call_t *)linux_waitpid, .sy_auevent = AUE_WAIT… 25 …{ .sy_narg = AS(linux_creat_args), .sy_call = (sy_call_t *)linux_creat, .sy_auevent = AUE_CREAT, .… 26 …{ .sy_narg = AS(linux_link_args), .sy_call = (sy_call_t *)linux_link, .sy_auevent = AUE_LINK, .sy_… 27 …{ .sy_narg = AS(linux_unlink_args), .sy_call = (sy_call_t *)linux_unlink, .sy_auevent = AUE_UNLINK… [all …]
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_sysent.c | 14 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 19 …{ .sy_narg = AS(linux_exit_args), .sy_call = (sy_call_t *)linux_exit, .sy_auevent = AUE_EXIT, .sy_… 21 …{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_NULL, .sy_flags = … 22 …{ .sy_narg = AS(linux_write_args), .sy_call = (sy_call_t *)linux_write, .sy_auevent = AUE_NULL, .s… 23 …{ .sy_narg = AS(linux_open_args), .sy_call = (sy_call_t *)linux_open, .sy_auevent = AUE_OPEN_RWTC,… 24 …{ .sy_narg = AS(close_args), .sy_call = (sy_call_t *)sys_close, .sy_auevent = AUE_CLOSE, .sy_flags… 25 …{ .sy_narg = AS(linux_waitpid_args), .sy_call = (sy_call_t *)linux_waitpid, .sy_auevent = AUE_WAIT… 26 …{ .sy_narg = AS(linux_creat_args), .sy_call = (sy_call_t *)linux_creat, .sy_auevent = AUE_CREAT, .… 27 …{ .sy_narg = AS(linux_link_args), .sy_call = (sy_call_t *)linux_link, .sy_auevent = AUE_LINK, .sy_… 28 …{ .sy_narg = AS(linux_unlink_args), .sy_call = (sy_call_t *)linux_unlink, .sy_auevent = AUE_UNLINK… [all …]
|
/freebsd/sys/amd64/linux/ |
H A D | linux_sysent.c | 13 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 17 …{ .sy_narg = AS(read_args), .sy_call = (sy_call_t *)sys_read, .sy_auevent = AUE_NULL, .sy_flags = … 18 …{ .sy_narg = AS(linux_write_args), .sy_call = (sy_call_t *)linux_write, .sy_auevent = AUE_NULL, .s… 19 …{ .sy_narg = AS(linux_open_args), .sy_call = (sy_call_t *)linux_open, .sy_auevent = AUE_OPEN_RWTC,… 20 …{ .sy_narg = AS(close_args), .sy_call = (sy_call_t *)sys_close, .sy_auevent = AUE_CLOSE, .sy_flags… 21 …{ .sy_narg = AS(linux_newstat_args), .sy_call = (sy_call_t *)linux_newstat, .sy_auevent = AUE_STAT… 22 …{ .sy_narg = AS(linux_newfstat_args), .sy_call = (sy_call_t *)linux_newfstat, .sy_auevent = AUE_FS… 23 …{ .sy_narg = AS(linux_newlstat_args), .sy_call = (sy_call_t *)linux_newlstat, .sy_auevent = AUE_LS… 24 …{ .sy_narg = AS(linux_poll_args), .sy_call = (sy_call_t *)linux_poll, .sy_auevent = AUE_POLL, .sy_… 25 …{ .sy_narg = AS(linux_lseek_args), .sy_call = (sy_call_t *)linux_lseek, .sy_auevent = AUE_LSEEK, .… [all …]
|
/freebsd/sys/arm64/linux/ |
H A D | linux_sysent.c | 13 #define AS(name) (sizeof(struct name) / sizeof(syscallarg_t)) macro 22 …{ .sy_narg = AS(linux_setxattr_args), .sy_call = (sy_call_t *)linux_setxattr, .sy_auevent = AUE_NU… 23 …{ .sy_narg = AS(linux_lsetxattr_args), .sy_call = (sy_call_t *)linux_lsetxattr, .sy_auevent = AUE_… 24 …{ .sy_narg = AS(linux_fsetxattr_args), .sy_call = (sy_call_t *)linux_fsetxattr, .sy_auevent = AUE_… 25 …{ .sy_narg = AS(linux_getxattr_args), .sy_call = (sy_call_t *)linux_getxattr, .sy_auevent = AUE_NU… 26 …{ .sy_narg = AS(linux_lgetxattr_args), .sy_call = (sy_call_t *)linux_lgetxattr, .sy_auevent = AUE_… 27 …{ .sy_narg = AS(linux_fgetxattr_args), .sy_call = (sy_call_t *)linux_fgetxattr, .sy_auevent = AUE_… 28 …{ .sy_narg = AS(linux_listxattr_args), .sy_call = (sy_call_t *)linux_listxattr, .sy_auevent = AUE_… 29 …{ .sy_narg = AS(linux_llistxattr_args), .sy_call = (sy_call_t *)linux_llistxattr, .sy_auevent = AU… 30 …{ .sy_narg = AS(linux_flistxattr_args), .sy_call = (sy_call_t *)linux_flistxattr, .sy_auevent = AU… [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasSetTracker.cpp | 44 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST, in mergeSetIn() argument 46 assert(!AS.Forward && "Alias set is already forwarding!"); in mergeSetIn() 50 Access |= AS.Access; in mergeSetIn() 51 Alias |= AS.Alias; in mergeSetIn() 57 return any_of(AS.MemoryLocs, [&](const MemoryLocation &ASMemLoc) { in mergeSetIn() 66 std::swap(MemoryLocs, AS.MemoryLocs); in mergeSetIn() 68 append_range(MemoryLocs, AS.MemoryLocs); in mergeSetIn() 69 AS.MemoryLocs.clear(); in mergeSetIn() 72 bool ASHadUnknownInsts = !AS.UnknownInsts.empty(); in mergeSetIn() 75 std::swap(UnknownInsts, AS.UnknownInsts); in mergeSetIn() [all …]
|
H A D | ScalarEvolutionAliasAnalysis.cpp | 46 const SCEV *AS = SE.getSCEV(const_cast<Value *>(LocA.Ptr)); in alias() local 50 if (AS == BS) in alias() 55 if (canComputePointerDiff(SE, AS, BS)) { in alias() 56 unsigned BitWidth = SE.getTypeSizeInBits(AS->getType()); in alias() 69 SE.getPtrToIntExpr(AS, SE.getEffectiveSCEVType(AS->getType())); in alias() 73 AS = AInt; in alias() 78 const SCEV *BA = SE.getMinusSCEV(BS, AS); in alias() 93 const SCEV *AB = SE.getMinusSCEV(AS, BS); in alias() 107 Value *AO = GetBaseValue(AS); in alias()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | AddressSpaces.h | 77 inline bool isTargetAddressSpace(LangAS AS) { in isTargetAddressSpace() argument 78 return (unsigned)AS >= (unsigned)LangAS::FirstTargetAddressSpace; in isTargetAddressSpace() 81 inline unsigned toTargetAddressSpace(LangAS AS) { in toTargetAddressSpace() argument 82 assert(isTargetAddressSpace(AS)); in toTargetAddressSpace() 83 return (unsigned)AS - (unsigned)LangAS::FirstTargetAddressSpace; in toTargetAddressSpace() 91 inline bool isPtrSizeAddressSpace(LangAS AS) { in isPtrSizeAddressSpace() argument 92 return (AS == LangAS::ptr32_sptr || AS == LangAS::ptr32_uptr || in isPtrSizeAddressSpace() 93 AS == LangAS::ptr64); in isPtrSizeAddressSpace()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | WasmAddressSpaces.h |
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclAccessPair.h | 44 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make() argument 46 p.set(D, AS); in make() 50 static DeclAccessPair makeLazy(uint64_t ID, AccessSpecifier AS) { in makeLazy() argument 52 p.Ptr = (ID << 3) | (0x1 << 2) | uint64_t(AS); in makeLazy() 70 void setAccess(AccessSpecifier AS) { in setAccess() argument 71 set(getDecl(), AS); in setAccess() 73 void set(NamedDecl *D, AccessSpecifier AS) { in set() argument 74 Ptr = uint64_t(AS) | reinterpret_cast<uint64_t>(D); in set()
|
H A D | ASTUnresolvedSet.h | 56 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() argument 57 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl() 60 void addLazyDecl(ASTContext &C, GlobalDeclID ID, AccessSpecifier AS) { in addLazyDecl() argument 61 Decls.push_back(DeclAccessPair::makeLazy(ID.getRawValue(), AS), C); in addLazyDecl() 67 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { in replace() argument 70 I->set(New, AS); in replace() 117 void addLazyDecl(ASTContext &C, GlobalDeclID ID, AccessSpecifier AS) { in addLazyDecl() argument 120 Impl.addLazyDecl(C, ID, AS); in addLazyDecl()
|
H A D | UnresolvedSet.h | 54 void setAccess(AccessSpecifier AS) { I->setAccess(AS); } in setAccess() argument 96 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() argument 97 decls().push_back(DeclAccessPair::make(D, AS)); in addDecl() 114 void replace(iterator I, NamedDecl *New, AccessSpecifier AS) { in replace() argument 115 I.I->set(New, AS); in replace() 130 void setAccess(iterator I, AccessSpecifier AS) { I.I->setAccess(AS); } in setAccess() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Type.h |
|
/freebsd/contrib/unbound/contrib/android/ |
H A D | setenv_android.sh | 78 AS="arm-linux-androideabi-as" 91 AS="aarch64-linux-android-as" 104 AS="i686-linux-android-as" 117 AS="x86_64-linux-android-as" 159 if [ ! -e "$ANDROID_TOOLCHAIN/$AS" ]; then 180 export CPP CC CXX LD AS AR RANLIB STRIP 194 echo "AS: $(command -v "$AS")"
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
H A D | AVR.h | 68 unsigned AS = PT->getAddressSpace(); in getAddressSpace() local 69 if (AS < NumAddrSpaces) in getAddressSpace() 70 return static_cast<AddressSpace>(AS); in getAddressSpace() 89 AddressSpace AS = getAddressSpace(V); in getProgramMemoryBank() local 90 assert(ProgramMemory <= AS && AS <= ProgramMemory5); in getProgramMemoryBank() 91 return static_cast<int>(AS - ProgramMemory); in getProgramMemoryBank()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AliasSetTracker.h | 115 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST, BatchAAResults &BatchAA); 155 inline raw_ostream& operator<<(raw_ostream &OS, const AliasSet &AS) { 156 AS.print(OS); 232 void removeAliasSet(AliasSet *AS); 240 void collapseForwardingIn(AliasSet *&AS) { in collapseForwardingIn() argument 241 if (AS->Forward) { in collapseForwardingIn() 242 collapseForwardingIn(AS->Forward); in collapseForwardingIn() 244 AliasSet *NewAS = AS->Forward; in collapseForwardingIn() 246 AS->dropRef(*this); in collapseForwardingIn() 247 AS = NewAS; in collapseForwardingIn()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | AMDGPU.h | 98 uint64_t getPointerWidthV(LangAS AS) const override { in getPointerWidthV() argument 101 unsigned TargetAS = getTargetAddressSpace(AS); in getPointerWidthV() 330 LangAS getOpenCLBuiltinAddressSpace(unsigned AS) const override { in getOpenCLBuiltinAddressSpace() argument 331 switch (AS) { in getOpenCLBuiltinAddressSpace() 343 return getLangASFromTargetAS(AS); in getOpenCLBuiltinAddressSpace() 347 LangAS getCUDABuiltinAddressSpace(unsigned AS) const override { in getCUDABuiltinAddressSpace() argument 348 switch (AS) { in getCUDABuiltinAddressSpace() 358 return getLangASFromTargetAS(AS); in getCUDABuiltinAddressSpace() 415 uint64_t getNullPointerValue(LangAS AS) const override { in getNullPointerValue() argument 417 return (AS == LangAS::opencl_local || AS == LangAS::opencl_private || in getNullPointerValue() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAliasAnalysis.cpp | 102 unsigned AS = Loc.Ptr->getType()->getPointerAddressSpace(); in getModRefInfoMask() 103 if (AS == AMDGPUAS::CONSTANT_ADDRESS || in getModRefInfoMask() local 104 AS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in getModRefInfoMask() 108 AS = Base->getType()->getPointerAddressSpace(); in getModRefInfoMask() 109 if (AS == AMDGPUAS::CONSTANT_ADDRESS || in getModRefInfoMask() 110 AS == AMDGPUAS::CONSTANT_ADDRESS_32BIT) in getModRefInfoMask()
|
H A D | AMDGPU.h | 415 inline bool isFlatGlobalAddrSpace(unsigned AS) { in isFlatGlobalAddrSpace() argument 416 return AS == AMDGPUAS::GLOBAL_ADDRESS || in isFlatGlobalAddrSpace() 417 AS == AMDGPUAS::FLAT_ADDRESS || in isFlatGlobalAddrSpace() 418 AS == AMDGPUAS::CONSTANT_ADDRESS || in isFlatGlobalAddrSpace() 419 AS > AMDGPUAS::MAX_AMDGPU_ADDRESS; in isFlatGlobalAddrSpace() 422 inline bool isExtendedGlobalAddrSpace(unsigned AS) { in isExtendedGlobalAddrSpace() argument 423 return AS == AMDGPUAS::GLOBAL_ADDRESS || AS == AMDGPUAS::CONSTANT_ADDRESS || in isExtendedGlobalAddrSpace() 424 AS == AMDGPUAS::CONSTANT_ADDRESS_32BIT || in isExtendedGlobalAddrSpace() 425 AS > AMDGPUAS::MAX_AMDGPU_ADDRESS; in isExtendedGlobalAddrSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | Target.cpp | 77 unsigned LLVMPointerSizeForAS(LLVMTargetDataRef TD, unsigned AS) { in LLVMPointerSizeForAS() argument 78 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS() 85 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForAS() argument 86 return wrap(unwrap(TD)->getIntPtrType(*unwrap(LLVMGetGlobalContext()), AS)); in LLVMIntPtrTypeForAS() 93 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS) { in LLVMIntPtrTypeForASInContext() argument 94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C), AS)); in LLVMIntPtrTypeForASInContext()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Statepoint.cpp | 24 llvm::parseStatepointDirectivesFromAttrs(AttributeList AS) { in parseStatepointDirectivesFromAttrs() argument 27 Attribute AttrID = AS.getFnAttr("statepoint-id"); in parseStatepointDirectivesFromAttrs() 34 Attribute AttrNumPatchBytes = AS.getFnAttr("statepoint-num-patch-bytes"); in parseStatepointDirectivesFromAttrs()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXTargetTransformInfo.h | 52 bool canHaveNonUndefGlobalInitializerInAddressSpace(unsigned AS) const { in canHaveNonUndefGlobalInitializerInAddressSpace() argument 53 return AS != AddressSpace::ADDRESS_SPACE_SHARED && in canHaveNonUndefGlobalInitializerInAddressSpace() 54 AS != AddressSpace::ADDRESS_SPACE_LOCAL && AS != ADDRESS_SPACE_PARAM; in canHaveNonUndefGlobalInitializerInAddressSpace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFASpaceCastSimplifyPass.cpp | 43 static PointerType *changeAddressSpace(PointerType *Ty, unsigned AS) { in changeAddressSpace() 44 return Ty->get(Ty->getContext(), AS); in changeAddressSpace() 54 unsigned AS = OuterCast->getDestAddressSpace(); in rewrite() local 60 NewGEP->mutateType(changeAddressSpace(GEPTy, AS)); in rewrite()
|