HomeSort by: relevance | last modified time | path
    Searched defs:Attrs (Results 1 - 25 of 77) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
attributes.c 32 LLVMAttributeRef *Attrs = 0;
34 Attrs =
36 assert(Attrs);
38 LLVMGetAttributesAtIndex(F, Idx, Attrs);
39 free(Attrs);
67 LLVMAttributeRef *Attrs = 0;
69 Attrs = (LLVMAttributeRef *)malloc(
71 assert(Attrs);
73 LLVMGetCallSiteAttributes(I, Idx, Attrs);
74 free(Attrs);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CommandFlags.cpp 612 AttributeList Attrs = F.getAttributes();
680 // Let NewAttrs override Attrs.
682 Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs));
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCSectionMachO.cpp 194 StringRef Attrs = GetEmptyOrTrim(3);
233 if (Attrs.empty()) {
244 Attrs.split(SectionAttrs, '+', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransGCAttrs.cpp 234 ObjCPropertyAttribute::Kind Attrs = ObjCPropertyAttribute::kind_noattr;
238 Attrs = PD->getPropertyAttributesAsWritten();
276 if (Attrs & ObjCPropertyAttribute::kind_assign)
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
GlobalVariable.h 43 AttributeSet Attrs;
189 Attrs = Attrs.addAttribute(getContext(), Kind);
194 Attrs = Attrs.addAttribute(getContext(), Kind, Val);
199 return Attrs.hasAttribute(Kind);
204 return Attrs.hasAttribute(Kind);
209 return Attrs.hasAttributes();
214 return Attrs.getAttribute(Kind);
219 return Attrs.getAttribute(Kind)
    [all...]
Attributes.h 260 // removeAttribute for enum attrs.
275 static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs);
407 ArrayRef<std::pair<unsigned, Attribute>> Attrs);
409 ArrayRef<std::pair<unsigned, AttributeSet>> Attrs);
423 AttributeSet Attrs) const;
433 static AttributeList get(LLVMContext &C, ArrayRef<AttributeList> Attrs);
556 auto Attrs = removeAttribute(C, ArgNo, Kind);
557 return Attrs.addAttribute(C, ArgNo, Attr.getWithNewType(C, ReplacementTy));
805 std::bitset<Attribute::EndAttrKinds> Attrs;
837 Attrs[Val] = true
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DIEHash.cpp 116 void DIEHash::collectAttributes(const DIE &Die, DIEAttrs &Attrs) {
125 Attrs.NAME = V; \
327 // Go through the attributes from \param Attrs in the order specified in 7.27.4
329 void DIEHash::hashAttributes(const DIEAttrs &Attrs, dwarf::Tag Tag) {
332 if (Attrs.NAME) \
333 hashAttribute(Attrs.NAME, Tag); \
341 DIEAttrs Attrs = {};
342 collectAttributes(Die, Attrs);
343 hashAttributes(Attrs, Die.getTag());
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
TypeIndexDiscovery.cpp 17 static inline MethodKind getMethodKind(uint16_t Attrs) {
18 Attrs &= uint16_t(MethodOptions::MethodKindMask);
19 Attrs >>= 2;
20 return MethodKind(Attrs);
23 static inline bool isIntroVirtual(uint16_t Attrs) {
24 MethodKind MK = getMethodKind(Attrs);
29 static inline PointerMode getPointerMode(uint32_t Attrs) {
30 return static_cast<PointerMode>((Attrs >> PointerRecord::PointerModeShift) &
34 static inline bool isMemberPointer(uint32_t Attrs) {
35 PointerMode Mode = getPointerMode(Attrs);
    [all...]
TypeRecordMapping.cpp 125 std::string Attrs = getMemberAttributes(
127 error(IO.mapInteger(Method.Attrs.Attrs, "Attrs: " + Attrs));
362 SmallString<128> Attr("Attrs: ");
395 error(IO.mapInteger(Record.Attrs, Attr));
618 std::string Attrs = getMemberAttributes(
620 error(IO.mapInteger(Record.Attrs.Attrs, "Attrs: " + Attrs))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/
TargetLoweringObjectFile.cpp 323 auto Attrs = GVar->getAttributes();
324 if ((Attrs.hasAttribute("bss-section") && Kind.isBSS()) ||
325 (Attrs.hasAttribute("data-section") && Kind.isData()) ||
326 (Attrs.hasAttribute("relro-section") && Kind.isReadOnlyWithRel()) ||
327 (Attrs.hasAttribute("rodata-section") && Kind.isReadOnly())) {
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGLoopInfo.h 90 LoopInfo(llvm::BasicBlock *Header, const LoopAttributes &Attrs,
101 const LoopAttributes &getAttributes() const { return Attrs; }
116 LoopAttributes Attrs;
140 /// @param Attrs The loop's transformations.
152 createPipeliningMetadata(const LoopAttributes &Attrs,
156 createPartialUnrollMetadata(const LoopAttributes &Attrs,
160 createUnrollAndJamMetadata(const LoopAttributes &Attrs,
164 createLoopVectorizeMetadata(const LoopAttributes &Attrs,
168 createLoopDistributeMetadata(const LoopAttributes &Attrs,
172 createFullUnrollMetadata(const LoopAttributes &Attrs,
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
CFGPrinter.h 259 std::string Attrs = formatv("label=\"W:{0}\" penwidth={1}",
261 if (Attrs.size())
262 return Attrs;
294 std::string Attrs = "color=\"" + EdgeColor + "ff\", style=filled," +
296 return Attrs;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
GraphWriter.h 283 const std::string &Attrs) {
294 if (!Attrs.empty())
295 O << "[" << Attrs << "]";
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
CallPrinter.cpp 189 std::string Attrs = "label=\"" + std::to_string(Counter) +
191 return Attrs;
199 std::string attrs;
206 attrs = "color=\"" + edgeColor + "ff\", style=filled, fillcolor=\"" +
209 return attrs;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGPrinter.cpp 120 const std::string &Attrs = Graph->getGraphAttrs(N);
121 if (!Attrs.empty()) {
122 if (Attrs.find("shape=") == std::string::npos)
123 return std::string("shape=Mrecord,") + Attrs;
125 return Attrs;
195 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) {
197 NodeGraphAttrs[N] = Attrs;
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
ModuleMap.h 255 Attributes Attrs;
378 Attributes Attrs, Module *Parent);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
CallLowering.cpp 73 const AttributeList &Attrs,
75 addFlagsUsingAttrFn(Flags, [&Attrs, &OpIdx](Attribute::AttrKind Attr) {
76 return Attrs.hasAttribute(OpIdx, Attr);
156 const AttributeList &Attrs = FuncInfo.getAttributes();
157 addArgFlagsFromAttributes(Flags, Attrs, OpIdx);
164 auto Ty = Attrs.getAttribute(OpIdx, Attribute::ByVal).getValueAsType();
880 AttributeList Attrs,
888 addArgFlagsFromAttributes(Flags, Attrs, AttributeList::ReturnIndex);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 189 auto Attrs = F.getAttributes();
191 Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex,
193 F.setAttributes(Attrs);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUHSAMetadataStreamer.cpp 265 auto &Attrs = HSAMetadata.mKernels.back().mAttrs;
268 Attrs.mReqdWorkGroupSize = getWorkGroupDimensions(Node);
270 Attrs.mWorkGroupSizeHint = getWorkGroupDimensions(Node);
272 Attrs.mVecTypeHint = getTypeName(
277 Attrs.mRuntimeHandle =
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Attributor.cpp 168 /// attribute list \p Attrs. This is only the case if it was not already present
169 /// in \p Attrs at the position describe by \p PK and \p AttrIdx.
171 AttributeList &Attrs, int AttrIdx) {
175 if (Attrs.hasAttribute(AttrIdx, Kind))
176 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind)))
178 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr);
183 if (Attrs.hasAttribute(AttrIdx, Kind))
184 if (isEqualOrWorse(Attr, Attrs.getAttribute(AttrIdx, Kind)))
186 Attrs = Attrs.addAttribute(Ctx, AttrIdx, Attr)
    [all...]
DeadArgumentElimination.cpp 905 AttributeSet Attrs = CallPAL.getParamAttributes(Pi);
906 if (NRetTy != RetTy && Attrs.hasAttribute(Attribute::Returned)) {
914 AttrBuilder(Attrs).removeAttribute(Attribute::Returned)));
917 ArgAttrVec.push_back(Attrs);
  /src/external/apache2/llvm/dist/clang/lib/AST/
CommentParser.cpp 445 SmallVector<HTMLStartTagComment::Attribute, 2> Attrs;
452 Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(),
462 Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(),
469 Attrs.push_back(HTMLStartTagComment::Attribute(
482 S.copyArray(llvm::makeArrayRef(Attrs)),
490 S.copyArray(llvm::makeArrayRef(Attrs)),
509 S.copyArray(llvm::makeArrayRef(Attrs)),
517 S.copyArray(llvm::makeArrayRef(Attrs)),
  /src/external/apache2/llvm/dist/clang/lib/Index/
CommentToXML.cpp 994 const AttrVec &Attrs = DI->CommentDecl->getAttrs();
995 for (unsigned i = 0, e = Attrs.size(); i != e; i++) {
996 const AvailabilityAttr *AA = dyn_cast<AvailabilityAttr>(Attrs[i]);
998 if (const DeprecatedAttr *DA = dyn_cast<DeprecatedAttr>(Attrs[i])) {
1007 else if (const UnavailableAttr *UA = dyn_cast<UnavailableAttr>(Attrs[i])) {
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseCXXInlineMethods.cpp 707 ParsedAttributes Attrs(AttrFactory);
731 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc,
740 ParseGNUAttributeArgs(&LA.AttrName, LA.AttrNameLoc, Attrs, &endLoc,
748 if (OnDefinition && !Attrs.empty() && !Attrs.begin()->isCXX11Attribute() &&
749 Attrs.begin()->isKnownToGCC())
754 Actions.ActOnFinishDelayedAttribute(getCurScope(), LA.Decls[i], Attrs);
783 ParsedAttributesWithRange Attrs(AttrFactory);
784 (void)ParseOpenMPDeclarativeDirectiveWithExtDecl(AS, Attrs);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
JumpDiagnostics.cpp 1007 ArrayRef<const Attr *> Attrs = AS->getAttrs();
1009 llvm::find_if(Attrs, [](const Attr *A) { return isa<MustTailAttr>(A); });
1010 return Iter != Attrs.end() ? *Iter : nullptr;

Completed in 47 milliseconds

1 2 3 4