Searched refs:hasAttribute (Results 1 - 25 of 63) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DAttributes.cpp129 bool Attribute::hasAttribute(AttrKind Kind) const { function in class:Attribute
130 return (pImpl && pImpl->hasAttribute(Kind)) || (!pImpl && Kind == None);
133 bool Attribute::hasAttribute(StringRef Kind) const { function in class:Attribute
135 return pImpl && pImpl->hasAttribute(Kind);
140 assert(hasAttribute(Attribute::Alignment) &&
148 assert(hasAttribute(Attribute::StackAlignment) &&
156 if (hasAttribute(Attribute::SanitizeAddress))
158 if (hasAttribute(Attribute::AlwaysInline))
160 if (hasAttribute(Attribute::ByVal))
162 if (hasAttribute(Attribut
308 bool AttributeImpl::hasAttribute(Attribute::AttrKind A) const { function in class:AttributeImpl
313 bool AttributeImpl::hasAttribute(StringRef Kind) const { function in class:AttributeImpl
438 bool AttributeSetNode::hasAttribute(Attribute::AttrKind Kind) const { function in class:AttributeSetNode
446 bool AttributeSetNode::hasAttribute(StringRef Kind) const { function in class:AttributeSetNode
797 bool AttributeSet::hasAttribute(unsigned Index, Attribute::AttrKind Kind) const{ function in class:AttributeSet
802 bool AttributeSet::hasAttribute(unsigned Index, StringRef Kind) const { function in class:AttributeSet
[all...]
H A DAttributeImpl.h122 bool hasAttribute(Attribute::AttrKind A) const;
123 bool hasAttribute(StringRef Kind) const;
172 bool hasAttribute(Attribute::AttrKind Kind) const;
173 bool hasAttribute(StringRef Kind) const;
H A DVerifier.cpp718 Assert1(!Attrs.hasAttribute(Idx, Attribute::ByVal) &&
719 !Attrs.hasAttribute(Idx, Attribute::Nest) &&
720 !Attrs.hasAttribute(Idx, Attribute::StructRet) &&
721 !Attrs.hasAttribute(Idx, Attribute::NoCapture) &&
722 !Attrs.hasAttribute(Idx, Attribute::Returned),
727 Assert1(!((Attrs.hasAttribute(Idx, Attribute::ByVal) &&
728 Attrs.hasAttribute(Idx, Attribute::Nest)) ||
729 (Attrs.hasAttribute(Idx, Attribute::ByVal) &&
730 Attrs.hasAttribute(Idx, Attribute::StructRet)) ||
731 (Attrs.hasAttribute(Id
[all...]
H A DFunction.cpp84 hasAttribute(getArgNo()+1, Attribute::ByVal);
98 hasAttribute(getArgNo()+1, Attribute::Nest);
106 hasAttribute(getArgNo()+1, Attribute::NoAlias);
114 hasAttribute(getArgNo()+1, Attribute::NoCapture);
124 hasAttribute(1, Attribute::StructRet);
131 hasAttribute(getArgNo()+1, Attribute::Returned);
H A DInstructions.cpp350 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
353 return F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, A);
358 if (AttributeList.hasAttribute(i, A))
361 return F->getAttributes().hasAttribute(i, A);
578 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
581 return F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, A);
586 if (AttributeList.hasAttribute(i, A))
589 return F->getAttributes().hasAttribute(i, A);
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DFunction.h194 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
197 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex, Kind);
223 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
233 AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
242 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
251 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
260 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
270 return AttributeSets.hasAttribute(AttributeSet::FunctionIndex,
285 return AttributeSets.hasAttribute(1, Attribute::StructRet);
291 return AttributeSets.hasAttribute(
[all...]
H A DAttributes.h144 bool hasAttribute(AttrKind Val) const;
147 bool hasAttribute(StringRef Val) const;
285 bool hasAttribute(unsigned Index, Attribute::AttrKind Kind) const;
288 bool hasAttribute(unsigned Index, StringRef Kind) const;
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp90 if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex,
94 } else if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex,
96 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex,
100 } else if (CalleeAttr.hasAttribute(AttributeSet::FunctionIndex,
102 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex,
104 !CallerAttr.hasAttribute(AttributeSet::FunctionIndex,
240 Caller->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
250 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
253 && !Caller->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
570 !F->getAttributes().hasAttribute(AttributeSe
[all...]
H A DInlineAlways.cpp96 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsSubtarget.cpp113 ChangeToMips16 = FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
115 ChangeToNoMips16 = FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
H A DMipsAsmPrinter.cpp254 getAttributes().hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/lib/Target/Hexagon/
H A DHexagonRemoveSZExtArgs.cpp59 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) {
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp108 !CPUAttr.hasAttribute(Attribute::None) ?CPUAttr.getValueAsString() : "";
110 !FSAttr.hasAttribute(Attribute::None) ? FSAttr.getValueAsString() : "";
H A DThumb2SizeReduction.cpp1013 OptimizeSize = FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
1015 MinimizeSize = FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp95 if (FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
97 FnAttrs.hasAttribute(AttributeSet::FunctionIndex,
H A DX86Subtarget.cpp373 !CPUAttr.hasAttribute(Attribute::None) ?CPUAttr.getValueAsString() : "";
375 !FSAttr.hasAttribute(Attribute::None) ? FSAttr.getValueAsString() : "";
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DStackProtector.cpp205 if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
208 else if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
211 else if (!F->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
H A DAnalysis.cpp421 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) ||
422 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
H A DPrologEpilogInserter.cpp98 if (!F->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
114 if (!F->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
211 if (F.getFunction()->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
H A DTargetLoweringBase.cpp1135 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1137 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt))
1155 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::InReg))
1159 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1161 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt))
H A DMachineFunction.cpp63 if (Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
70 if (!Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/include/llvm/MC/
H A DMCSectionMachO.h160 bool hasAttribute(unsigned Value) const { function in class:llvm::MCSectionMachO
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp155 hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp704 !F.getAttributes().hasAttribute(AttributeSet::FunctionIndex,
1178 if (Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
1189 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
1213 F.getAttributes().hasAttribute(AttributeSet::FunctionIndex,
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCSectionMachO.cpp158 return hasAttribute(MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS);

Completed in 310 milliseconds

123