| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SValVisitor.h | 37 #define BASIC_SVAL(Id, Parent) case SVal::Id ## Kind: DISPATCH(Id, Id); in Visit() argument 41 #define LOC_SVAL(Id, Parent) \ in Visit() argument 42 case loc::Id ## Kind: DISPATCH(Loc ## Id, loc :: Id); in Visit() 48 #define NONLOC_SVAL(Id, Parent) \ in Visit() argument 49 case nonloc::Id ## Kind: DISPATCH(NonLoc ## Id, nonloc :: Id); in Visit() 57 #define BASIC_SVAL(Id, Parent) \ argument 58 RetTy Visit ## Id(Id V) { DISPATCH(Parent, Id); } 59 #define ABSTRACT_SVAL(Id, Parent) \ argument 60 BASIC_SVAL(Id, Parent) 61 #define LOC_SVAL(Id, Parent) \ argument [all …]
|
| H A D | SVals.def | 15 // BASIC_SVAL(Id, Parent) - for specific SVal sub-kinds, which are 19 // ABSTRACT_SVAL(Id, Parent) - for abstract SVal classes which are 22 // ABSTRACT_SVAL_WITH_KIND(Id, Parent) - for SVal classes which are also 26 // LOC_SVAL(Id, Parent) - for values in loc:: namespace, which occupy a sub-kind 29 // NONLOC_SVAL(Id, Parent) - for values in nonloc:: namespace, which occupy a 35 #define BASIC_SVAL(Id, Parent) 39 #define ABSTRACT_SVAL(Id, Parent) 43 #define ABSTRACT_SVAL_WITH_KIND(Id, Parent) ABSTRACT_SVAL(Id, Parent) 47 #define LOC_SVAL(Id, Parent) 51 #define NONLOC_SVAL(Id, Parent)
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ |
| H A D | Types.cpp | 32 for (auto Id : Phases) in PhasesBitSet() local 33 Bits |= 1 << Id; in PhasesBitSet() 35 bool contains(phases::ID Id) const { return Bits & (1 << Id); } in contains() 52 const char *types::getTypeName(ID Id) { in getTypeName() argument 53 return getInfo(Id).Name; in getTypeName() 56 types::ID types::getPreprocessedType(ID Id) { in getPreprocessedType() argument 57 ID PPT = getInfo(Id).PreprocessedType; in getPreprocessedType() 58 assert((getInfo(Id).Phases.contains(phases::Preprocess) != in getPreprocessedType() 64 static bool isPreprocessedModuleType(ID Id) { in isPreprocessedModuleType() argument 65 return Id == TY_CXXModule || Id == TY_PP_CXXModule; in isPreprocessedModuleType() [all …]
|
| H A D | OptionUtils.cpp | 19 IntTy getLastArgIntValueImpl(const ArgList &Args, OptSpecifier Id, in getLastArgIntValueImpl() argument 23 if (Arg *A = Args.getLastArg(Id)) { in getLastArgIntValueImpl() 36 int getLastArgIntValue(const ArgList &Args, OptSpecifier Id, int Default, in getLastArgIntValue() argument 38 return getLastArgIntValueImpl<int>(Args, Id, Default, Diags, Base); in getLastArgIntValue() 41 uint64_t getLastArgUInt64Value(const ArgList &Args, OptSpecifier Id, in getLastArgUInt64Value() argument 44 return getLastArgIntValueImpl<uint64_t>(Args, Id, Default, Diags, Base); in getLastArgUInt64Value()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
| H A D | Types.h | 32 const char *getTypeName(ID Id); 37 ID getPreprocessedType(ID Id); 42 ID getPrecompiledType(ID Id); 46 const char *getTypeTempSuffix(ID Id, bool CLMode = false); 49 bool onlyPrecompileType(ID Id); 54 bool canTypeBeUserSpecified(ID Id); 59 bool appendSuffixForType(ID Id); 64 bool canLipoType(ID Id); 67 bool isAcceptedByClang(ID Id); 70 bool isCXX(ID Id); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | mustuse.d | 42 import dmd.id : Id; in checkMustUse() 52 Id.udaMustUse.toChars(), e.type.toPrettyChars(true)); in checkMustUse() 71 import dmd.id : Id; in checkMustUseReserved() 81 Id.udaMustUse.toChars()); in checkMustUseReserved() 87 Id.udaMustUse.toChars(), sym.kind()); in checkMustUseReserved() 120 import dmd.id : Id; in isAssignmentOpId() 122 return id == Id.assign in isAssignmentOpId() 123 || id == Id.addass in isAssignmentOpId() 124 || id == Id.subass in isAssignmentOpId() 125 || id == Id.mulass in isAssignmentOpId() [all …]
|
| H A D | opover.d | 76 case EXP.uadd: return Id.uadd; in opId() 77 case EXP.negate: return Id.neg; in opId() 78 case EXP.tilde: return Id.com; in opId() 79 case EXP.cast_: return Id._cast; in opId() 80 case EXP.in_: return Id.opIn; in opId() 81 case EXP.plusPlus: return Id.postinc; in opId() 82 case EXP.minusMinus: return Id.postdec; in opId() 83 case EXP.add: return Id.add; in opId() 84 case EXP.min: return Id.sub; in opId() 85 case EXP.mul: return Id.mul; in opId() [all …]
|
| H A D | traits.d | 430 if (e.ident != Id.compiles && in semanticTraits() 431 e.ident != Id.isSame && in semanticTraits() 432 e.ident != Id.identifier && in semanticTraits() 433 e.ident != Id.getProtection && e.ident != Id.getVisibility && in semanticTraits() 434 e.ident != Id.getAttributes) in semanticTraits() 439 if (e.ident == Id.isDeprecated) in semanticTraits() 545 if (e.ident == Id.isArithmetic) in semanticTraits() 549 if (e.ident == Id.isFloating) in semanticTraits() 553 if (e.ident == Id.isIntegral) in semanticTraits() 557 if (e.ident == Id.isScalar) in semanticTraits() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | OpenCLImageTypes.def | 10 // GENERIC_IMAGE_TYPE(Type, Id) - a generic image with its Id without an 12 // IMAGE_TYPE(Type, Id, SingletonId, AccessType, CGSuffix) - an image type 14 // GENERIC_IMAGE_TYPE_EXT(Type, Id, Ext) - a generic image with its Id and 19 #define IMAGE_READ_TYPE(Type, Id, Ext) GENERIC_IMAGE_TYPE(Type, Id) 20 #define IMAGE_WRITE_TYPE(Type, Id, Ext) 21 #define IMAGE_READ_WRITE_TYPE(Type, Id, Ext) 24 #define IMAGE_READ_TYPE(Type, Id, Ext) GENERIC_IMAGE_TYPE_EXT(Type, Id##ROTy, Ext) 25 #define IMAGE_WRITE_TYPE(Type, Id, Ext) GENERIC_IMAGE_TYPE_EXT(Type, Id##WOTy, Ext) 26 #define IMAGE_READ_WRITE_TYPE(Type, Id, Ext) GENERIC_IMAGE_TYPE_EXT(Type, Id##RWTy, Ext) 30 #define IMAGE_READ_TYPE(Type, Id, Ext) \ [all …]
|
| H A D | PPCTypes.def | 12 // PPC_VECTOR_TYPE(Name, Id, Size) - A PPC vector type of a given size 15 // PPC_VECTOR_MMA_TYPE(Name, Id, Size) - A PPC MMA vector type of a given 18 // PPC_VECTOR_VSX_TYPE(Name, Id, Size) - A PPC VSX vector type of a given 24 #define PPC_VECTOR_MMA_TYPE(Name, Id, Size) PPC_VECTOR_TYPE(Name, Id, Size) 25 #define PPC_VECTOR_VSX_TYPE(Name, Id, Size) PPC_VECTOR_TYPE(Name, Id, Size) 27 #define PPC_VECTOR_VSX_TYPE(Name, Id, Size) 29 #define PPC_VECTOR_MMA_TYPE(Name, Id, Size)
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | OrcRemoteTargetClient.h | 65 Client.destroyRemoteAllocator(Id); in ~RemoteRTDyldMemoryManager() 66 LLVM_DEBUG(dbgs() << "Destroyed remote allocator " << Id << "\n"); in ~RemoteRTDyldMemoryManager() 81 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated code for " in allocateCodeSection() 94 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated ro-data for " in allocateDataSection() 103 LLVM_DEBUG(dbgs() << "Allocator " << Id << " allocated rw-data for " in allocateDataSection() 115 LLVM_DEBUG(dbgs() << "Allocator " << Id << " reserved:\n"); in reserveAllocationSpace() 119 Client.reserveMem(Id, CodeSize, CodeAlign); in reserveAllocationSpace() 130 Client.reserveMem(Id, RODataSize, RODataAlign); in reserveAllocationSpace() 141 Client.reserveMem(Id, RWDataSize, RWDataAlign); in reserveAllocationSpace() 167 LLVM_DEBUG(dbgs() << "Allocator " << Id << " applied mappings:\n"); in notifyObjectLoaded() [all …]
|
| H A D | OrcRemoteTargetServer.h | 222 Error handleCreateRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleCreateRemoteAllocator() argument 223 auto I = Allocators.find(Id); in handleCreateRemoteAllocator() 227 LLVM_DEBUG(dbgs() << " Created allocator " << Id << "\n"); in handleCreateRemoteAllocator() 228 Allocators[Id] = Allocator(); in handleCreateRemoteAllocator() 232 Error handleCreateIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleCreateIndirectStubsOwner() argument 233 auto I = IndirectStubsOwners.find(Id); in handleCreateIndirectStubsOwner() 237 LLVM_DEBUG(dbgs() << " Create indirect stubs owner " << Id << "\n"); in handleCreateIndirectStubsOwner() 238 IndirectStubsOwners[Id] = ISBlockOwnerList(); in handleCreateIndirectStubsOwner() 251 Error handleDestroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleDestroyRemoteAllocator() argument 252 auto I = Allocators.find(Id); in handleDestroyRemoteAllocator() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 72 NodeId Id) const { in getMapped() 74 return TheMapping.getDst(Id); in getMapped() 76 return TheMapping.getSrc(Id); in getMapped() 144 const Node &getNode(NodeId Id) const { return Nodes[Id]; } in getNode() 145 Node &getMutableNode(NodeId Id) { return Nodes[Id]; } in getMutableNode() argument 146 bool isValidNodeId(NodeId Id) const { return Id >= 0 && Id < getSize(); } in isValidNodeId() 148 int getNumberOfDescendants(NodeId Id) const; 149 bool isInSubtree(NodeId Id, NodeId SubtreeRoot) const; 150 int findPositionInParent(NodeId Id, bool Shifted = false) const; 156 std::string getNodeValue(NodeId Id) const; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/ |
| H A D | ASTDiffInternal.h | 30 int Id; 32 NodeId() : Id(InvalidNodeId) {} in NodeId() 33 NodeId(int Id) : Id(Id) {} in NodeId() 35 operator int() const { return Id; } 36 NodeId &operator++() { return ++Id, *this; } 37 NodeId &operator--() { return --Id, *this; } 41 bool isValid() const { return Id != InvalidNodeId; } in isValid() 42 bool isInvalid() const { return Id == InvalidNodeId; } in isInvalid()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | Clustering.h | 41 static ClusterId makeValid(size_t Id, bool IsUnstable = false) { 42 return ClusterId(Id, IsUnstable); 44 static ClusterId makeValidUnstable(size_t Id) { in makeValidUnstable() argument 45 return makeValid(Id, /*IsUnstable=*/true); in makeValidUnstable() 67 ClusterId(size_t Id, bool IsUnstable = false) 68 : Id_(Id), IsUnstable_(IsUnstable) {} in Id_() argument 83 explicit Cluster(const ClusterId &Id) : Id(Id) {} in Cluster() 85 const ClusterId Id; member 96 const Cluster &getCluster(ClusterId Id) const { in getCluster() argument 97 assert(!Id.isUndef() && "unlabeled cluster"); in getCluster() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
| H A D | Stencil.cpp | 37 getNode(const ast_matchers::BoundNodes &Nodes, StringRef Id) { in getNode() argument 39 auto It = NodesMap.find(Id); in getNode() 42 "Id not bound: " + Id); in getNode() 55 explicit DebugPrintNodeData(std::string S) : Id(std::move(S)) {} in DebugPrintNodeData() 56 std::string Id; member 71 UnaryOperationData(UnaryNodeOperator Op, std::string Id) in UnaryOperationData() 72 : Op(Op), Id(std::move(Id)) {} in UnaryOperationData() 74 std::string Id; member 92 IfBoundData(StringRef Id, Stencil TrueStencil, Stencil FalseStencil) in IfBoundData() 93 : Id(std::string(Id)), TrueStencil(std::move(TrueStencil)), in IfBoundData() [all …]
|
| H A D | Parsing.cpp | 167 auto Id = State.Input.take_while( in parseId() local 169 if (Id.empty()) in parseId() 171 return makeParseProgress(advance(State, Id.size()), Id.str()); in parseId() 185 StringRef Id = State.Input.take_until([](char c) { return c == '"'; }); in parseStringId() local 186 if (State.Input.size() == Id.size()) in parseStringId() 189 return makeParseProgress(advance(State, Id.size() + 1), Id.str()); in parseStringId() 248 auto Id = parseId(State); in parseRangeSelectorImpl() local 249 if (!Id) in parseRangeSelectorImpl() 250 return Id.takeError(); in parseRangeSelectorImpl() 252 std::string OpName = std::move(Id->Value); in parseRangeSelectorImpl() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | opover.c | 80 void visit(UAddExp *) { id = Id::uadd; } in opId() 81 void visit(NegExp *) { id = Id::neg; } in opId() 82 void visit(ComExp *) { id = Id::com; } in opId() 83 void visit(CastExp *) { id = Id::_cast; } in opId() 84 void visit(InExp *) { id = Id::opIn; } in opId() 85 void visit(PostExp *e) { id = (e->op == TOKplusplus) ? Id::postinc : Id::postdec; } in opId() 86 void visit(AddExp *) { id = Id::add; } in opId() 87 void visit(MinExp *) { id = Id::sub; } in opId() 88 void visit(MulExp *) { id = Id::mul; } in opId() 89 void visit(DivExp *) { id = Id::div; } in opId() [all …]
|
| H A D | traits.c | 64 if (p->ident == Id::getVirtualFunctions && !f->isVirtual()) in fptraits() 67 if (p->ident == Id::getVirtualMethods && !f->isVirtualMethod()) in fptraits() 494 if (e->ident != Id::compiles && e->ident != Id::isSame && in semanticTraits() 495 e->ident != Id::identifier && e->ident != Id::getProtection) in semanticTraits() 502 if (e->ident == Id::isArithmetic) in semanticTraits() 506 else if (e->ident == Id::isFloating) in semanticTraits() 510 else if (e->ident == Id::isIntegral) in semanticTraits() 514 else if (e->ident == Id::isScalar) in semanticTraits() 518 else if (e->ident == Id::isUnsigned) in semanticTraits() 522 else if (e->ident == Id::isAssociativeArray) in semanticTraits() [all …]
|
| H A D | clone.c | 89 Dsymbol *assign = search_function(ad, Id::assign); in hasIdentityOpAssign() 95 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpAssign() 248 fparams->push(new Parameter(STCnodtor, sd->type, Id::p, NULL)); in buildOpAssign() 251 FuncDeclaration *fop = new FuncDeclaration(declLoc, Loc(), Id::assign, stc, tf); in buildOpAssign() 275 ec = new BlitExp(loc, new ThisExp(loc), new IdentifierExp(loc, Id::p)); in buildOpAssign() 303 new DotVarExp(loc, new IdentifierExp(loc, Id::p), v)); in buildOpAssign() 411 Dsymbol *eq = search_function(ad, Id::eq); in hasIdentityOpEquals() 417 UnionExp el; new(&el) IdentifierExp(ad->loc, Id::p); // dummy lvalue in hasIdentityOpEquals() 496 if (Dsymbol *eq = search_function(sd, Id::eq)) in buildXopEquals() 522 Expression *e = new IdentifierExp(sd->loc, Id::empty); in buildXopEquals() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | SymbolCache.cpp | 194 SymIndexId Id = 0; in findSymbolByTypeIndex() local 197 Id = createSymbolForType<NativeTypeEnum, EnumRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 200 Id = createSymbolForType<NativeTypeArray, ArrayRecord>(Index, in findSymbolByTypeIndex() 206 Id = createSymbolForType<NativeTypeUDT, ClassRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 209 Id = createSymbolForType<NativeTypeUDT, UnionRecord>(Index, std::move(CVT)); in findSymbolByTypeIndex() 212 Id = createSymbolForType<NativeTypePointer, PointerRecord>(Index, in findSymbolByTypeIndex() 216 Id = createSymbolForModifiedType(Index, std::move(CVT)); in findSymbolByTypeIndex() 219 Id = createSymbolForType<NativeTypeFunctionSig, ProcedureRecord>( in findSymbolByTypeIndex() 223 Id = createSymbolForType<NativeTypeFunctionSig, MemberFunctionRecord>( in findSymbolByTypeIndex() 227 Id = createSymbolForType<NativeTypeVTShape, VFTableShapeRecord>( in findSymbolByTypeIndex() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 1000 for (int Id = ID_SYMBOLIC_FIRST_; Id < ID_SYMBOLIC_LAST_; ++Id) { in getHwregId() local 1001 if (IdSymbolic[Id] && Name == IdSymbolic[Id]) in getHwregId() 1002 return Id; in getHwregId() 1018 bool isValidHwreg(int64_t Id, const MCSubtargetInfo &STI) { in isValidHwreg() argument 1020 ID_SYMBOLIC_FIRST_ <= Id && Id < getLastSymbolicHwreg(STI) && in isValidHwreg() 1021 IdSymbolic[Id] && (Id != ID_XNACK_MASK || !AMDGPU::isGFX10_BEncoding(STI)); in isValidHwreg() 1024 bool isValidHwreg(int64_t Id) { in isValidHwreg() argument 1025 return 0 <= Id && isUInt<ID_WIDTH_>(Id); in isValidHwreg() 1036 uint64_t encodeHwreg(uint64_t Id, uint64_t Offset, uint64_t Width) { in encodeHwreg() argument 1037 return (Id << ID_SHIFT_) | in encodeHwreg() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86MachineFunctionInfo.h | 224 void setPreallocatedStackSize(size_t Id, size_t StackSize) { in setPreallocatedStackSize() argument 225 PreallocatedStackSizes[Id] = StackSize; in setPreallocatedStackSize() 228 size_t getPreallocatedStackSize(const size_t Id) { in getPreallocatedStackSize() argument 229 assert(PreallocatedStackSizes[Id] != 0 && "stack size not set"); in getPreallocatedStackSize() 230 return PreallocatedStackSizes[Id]; in getPreallocatedStackSize() 233 void setPreallocatedArgOffsets(size_t Id, ArrayRef<size_t> AO) { in setPreallocatedArgOffsets() argument 234 PreallocatedArgOffsets[Id].assign(AO.begin(), AO.end()); in setPreallocatedArgOffsets() 237 ArrayRef<size_t> getPreallocatedArgOffsets(const size_t Id) { in getPreallocatedArgOffsets() argument 238 assert(!PreallocatedArgOffsets[Id].empty() && "arg offsets not set"); in getPreallocatedArgOffsets() 239 return PreallocatedArgOffsets[Id]; in getPreallocatedArgOffsets()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | RDFGraph.cpp | 110 OS << Print<NodeId>(RA.Id, G) << '<' in printRefHeader() 177 OS << Print<NodeId>(I.Id, P.G); in operator <<() 219 OS << Print<NodeId>(P.Obj.Id, P.G) << ": phi [" in operator <<() 227 OS << Print<NodeId>(P.Obj.Id, P.G) << ": " << P.G.getTII().getName(Opc); in operator <<() 259 OS << "instr? " << Print<NodeId>(P.Obj.Id, P.G); in operator <<() 279 OS << Print<NodeId>(P.Obj.Id, P.G) << ": --- " << printMBBReference(*BB) in operator <<() 299 OS << "DFG dump:[\n" << Print<NodeId>(P.Obj.Id, P.G) << ": Function: " in operator <<() 323 OS << Print<NodeId>(I->Id, P.G) in operator <<() 399 if (Next != NA.Id) { in append() 400 Next = NA.Id; in append() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | RDFDeadCode.cpp | 89 if (!LiveNodes.count(RA.Id)) in scanInstr() 90 WorkQ.push_back(RA.Id); in scanInstr() 98 if (!LiveNodes.count(UA.Id)) in processDef() 99 WorkQ.push_back(UA.Id); in processDef() 102 LiveNodes.insert(TA.Id); in processDef() 108 if (!LiveNodes.count(DA.Id)) in processUse() 109 WorkQ.push_back(DA.Id); in processUse() 152 if (LiveNodes.count(DA.Id)) in collect() 160 if (!LiveNodes.count(RA.Id)) in collect() 161 DeadNodes.insert(RA.Id); in collect() [all …]
|