Searched refs:Attrs (Results 1 - 21 of 21) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DAttributes.cpp165 SmallVector<AttributeWithIndex, 4> Attrs; member in class:llvm::AttributeListImpl
168 : Attrs(attrs.begin(), attrs.end()) {
186 Profile(ID, Attrs);
188 static void Profile(FoldingSetNodeID &ID, ArrayRef<AttributeWithIndex> Attrs){ argument
189 for (unsigned i = 0, e = Attrs.size(); i != e; ++i) {
190 ID.AddInteger(Attrs[i].Attrs.Raw());
191 ID.AddInteger(Attrs[i].Index);
203 AttrListPtr AttrListPtr::get(ArrayRef<AttributeWithIndex> Attrs) { argument
205 if (Attrs
285 const SmallVector<AttributeWithIndex, 4> &Attrs = AttrList->Attrs; local
298 const SmallVector<AttributeWithIndex, 4> &Attrs = AttrList->Attrs; local
[all...]
H A DVerifier.cpp300 void VerifyParameterAttrs(Attributes Attrs, Type *Ty,
302 void VerifyFunctionAttrs(FunctionType *FT, const AttrListPtr &Attrs,
527 void Verifier::VerifyParameterAttrs(Attributes Attrs, Type *Ty, argument
529 if (Attrs == Attribute::None)
532 Attributes FnCheckAttr = Attrs & Attribute::FunctionOnly;
537 Attributes RetI = Attrs & Attribute::ParameterOnly;
544 Attributes MutI = Attrs & Attribute::MutuallyIncompatible[i];
549 Attributes TypeI = Attrs & Attributes::typeIncompatible(Ty);
553 Attributes ByValI = Attrs & Attribute::ByVal;
568 const AttrListPtr &Attrs,
567 VerifyFunctionAttrs(FunctionType *FT, const AttrListPtr &Attrs, const Value *V) argument
610 VerifyAttributeCount(const AttrListPtr &Attrs, unsigned Params) argument
646 const AttrListPtr &Attrs = F.getAttributes(); local
1159 const AttrListPtr &Attrs = CS.getAttributes(); local
[all...]
H A DAsmWriter.cpp1184 void writeParamOperand(const Value *Operand, Attributes Attrs);
1193 void printArgument(const Argument *FA, Attributes Attrs);
1238 Attributes Attrs) {
1247 if (Attrs != Attribute::None)
1248 Out << ' ' << Attrs.getAsString();
1558 const AttrListPtr &Attrs = F->getAttributes(); local
1559 Attributes RetAttrs = Attrs.getRetAttributes();
1561 Out << Attrs.getRetAttributes().getAsString() << ' ';
1577 printArgument(I, Attrs.getParamAttributes(Idx));
1589 Attributes ArgAttrs = Attrs
1237 writeParamOperand(const Value *Operand, Attributes Attrs) argument
1632 printArgument(const Argument *Arg, Attributes Attrs) argument
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/
H A DAttributes.h34 AttrConst operator | (const AttrConst Attrs) const {
35 AttrConst Res = {v | Attrs.v};
365 bool operator == (const Attributes &Attrs) const {
366 return Bits == Attrs.Bits;
368 bool operator != (const Attributes &Attrs) const {
369 return Bits != Attrs.Bits;
371 Attributes operator | (const Attributes &Attrs) const {
372 return Attributes(Bits | Attrs.Bits);
374 Attributes operator & (const Attributes &Attrs) const {
375 return Attributes(Bits & Attrs
380 operator |=(const Attributes &Attrs) argument
384 operator &=(const Attributes &Attrs) argument
421 encodeLLVMAttributesForBitcode(Attributes Attrs) argument
467 Attributes Attrs; ///< The attributes that are set, or'd together. member in struct:llvm::AttributeWithIndex
472 get(unsigned Idx, Attributes Attrs) argument
[all...]
H A DInstructions.h1262 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; } argument
3024 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; } argument
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DSelectionDAGPrinter.cpp115 const std::string &Attrs = Graph->getGraphAttrs(N); local
116 if (!Attrs.empty()) {
117 if (Attrs.find("shape=") == std::string::npos)
118 return std::string("shape=Mrecord,") + Attrs;
120 return Attrs;
176 void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) { argument
178 NodeGraphAttrs[N] = Attrs;
/macosx-10.10/llvmCore-3425.0.34/lib/AsmParser/
H A DLLParser.cpp919 bool LLParser::ParseOptionalAttrs(Attributes &Attrs, unsigned AttrKind) {
920 Attrs = Attribute::None;
929 case lltok::kw_zeroext: Attrs |= Attribute::ZExt; break;
930 case lltok::kw_signext: Attrs |= Attribute::SExt; break;
931 case lltok::kw_inreg: Attrs |= Attribute::InReg; break;
932 case lltok::kw_sret: Attrs |= Attribute::StructRet; break;
933 case lltok::kw_noalias: Attrs |= Attribute::NoAlias; break;
934 case lltok::kw_nocapture: Attrs |= Attribute::NoCapture; break;
935 case lltok::kw_byval: Attrs |= Attribute::ByVal; break;
936 case lltok::kw_nest: Attrs |
[all...]
H A DLLParser.h178 bool ParseOptionalAttrs(Attributes &Attrs, unsigned AttrKind);
311 Attributes Attrs; member in struct:llvm::LLParser::ParamInfo
313 : Loc(loc), V(v), Attrs(attrs) {}
332 Attributes Attrs; member in struct:llvm::LLParser::ArgInfo
335 : Loc(L), Ty(ty), Attrs(Attr), Name(N) {}
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/
H A DGraphWriter.h273 const std::string &Attrs) {
284 if (!Attrs.empty())
285 O << "[" << Attrs << "]"; local
271 emitEdge(const void *SrcNodeID, int SrcNodePort, const void *DestNodeID, int DestNodePort, const std::string &Attrs) argument
/macosx-10.10/llvmCore-3425.0.34/lib/MC/
H A DMCSectionMachO.cpp255 StringRef Attrs = Comma.first; local
258 std::pair<StringRef, StringRef> Plus = Attrs.split('+');
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h84 const AttrListPtr &Attrs);
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp743 if (Attributes Attrs = PAL.getParamAttributes(i + 1))
744 AttributesVec.push_back(AttributeWithIndex::get(Params.size(), Attrs));
803 if (Attributes Attrs = CallPAL.getParamAttributes(i + 1))
804 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
810 if (Attributes Attrs = CallPAL.getParamAttributes(i + 1))
811 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
H A DArgumentPromotion.cpp648 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex))
649 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
709 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex))
710 AttributesVec.push_back(AttributeWithIndex::get(Args.size(), Attrs));
H A DGlobalOpt.cpp2064 static AttrListPtr StripNest(const AttrListPtr &Attrs) { argument
2065 for (unsigned i = 0, e = Attrs.getNumSlots(); i != e; ++i) {
2066 if ((Attrs.getSlot(i).Attrs & Attribute::Nest) == 0)
2070 return Attrs.removeAttr(Attrs.getSlot(i).Index, Attribute::Nest);
2073 return Attrs;
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1069 Attributes Attrs = CallerPAL.getParamAttributes(i + 1);
1070 if (Attrs & Attributes::typeIncompatible(ParamTy))
1075 if (ParamTy != ActTy && (Attrs & Attribute::ByVal)) {
1126 Attributes PAttrs = CallerPAL.getSlot(i - 1).Attrs;
1262 const AttrListPtr &Attrs = CS.getAttributes(); local
1266 if (Attrs.hasAttrSomewhere(Attribute::Nest))
1298 NewAttrs.reserve(Attrs.getNumSlots() + 1);
1304 if (Attributes Attr = Attrs.getRetAttributes())
1325 if (Attributes Attr = Attrs.getParamAttributes(Idx))
1334 if (Attributes Attr = Attrs
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DBuildLibCalls.cpp272 const AttrListPtr &Attrs) {
288 CI->setAttributes(Attrs);
271 EmitUnaryFloatFnCall(Value *Op, StringRef Name, IRBuilder<> &B, const AttrListPtr &Attrs) argument
/macosx-10.10/llvmCore-3425.0.34/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp169 const std::vector<AttrListPtr> &Attrs = VE.getAttributes(); local
170 if (Attrs.empty()) return;
175 for (unsigned i = 0, e = Attrs.size(); i != e; ++i) {
176 const AttrListPtr &A = Attrs[i];
180 Record.push_back(Attributes::encodeLLVMAttributesForBitcode(PAWI.Attrs));
/macosx-10.10/llvmCore-3425.0.34/lib/Bitcode/Reader/
H A DBitcodeReader.cpp445 SmallVector<AttributeWithIndex, 8> Attrs; local
486 Attrs.push_back(AttributeWithIndex::get(Record[i],
490 MAttributes.push_back(AttrListPtr::get(Attrs));
491 Attrs.clear();
/macosx-10.10/llvmCore-3425.0.34/include/llvm/CodeGen/
H A DSelectionDAG.h263 void setGraphAttrs(const SDNode *N, const char *Attrs);
/macosx-10.10/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp473 Out << "SmallVector<AttributeWithIndex, 4> Attrs;"; nl(Out);
477 Attributes attrs = PAL.getSlot(i).Attrs;
478 Out << "PAWI.Index = " << index << "U; PAWI.Attrs = Attribute::None ";
517 Out << "Attrs.push_back(PAWI);";
520 Out << name << "_PAL = AttrListPtr::get(Attrs);";
/macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/
H A DX86ISelLowering.cpp10490 const AttrListPtr &Attrs = Func->getAttributes(); local
10492 if (!Attrs.isEmpty() && !Func->isVarArg()) {
10498 if (Attrs.paramHasAttr(Idx, Attribute::InReg))

Completed in 295 milliseconds