Searched refs:PAL (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h105 unsigned getAttributeID(AttributeSet PAL) const {
106 if (PAL.isEmpty()) return 0; // Null maps to zero.
107 AttributeMapType::const_iterator I = AttributeMap.find(PAL);
112 unsigned getAttributeGroupID(AttributeSet PAL) const {
113 if (PAL.isEmpty()) return 0; // Null maps to zero.
114 AttributeGroupMapType::const_iterator I = AttributeGroupMap.find(PAL);
163 void EnumerateAttributes(AttributeSet PAL);
H A DValueEnumerator.cpp421 void ValueEnumerator::EnumerateAttributes(AttributeSet PAL) { argument
422 if (PAL.isEmpty()) return; // null is always 0.
425 unsigned &Entry = AttributeMap[PAL];
428 Attribute.push_back(PAL);
433 for (unsigned i = 0, e = PAL.getNumSlots(); i != e; ++i) {
434 AttributeSet AS = PAL.getSlotAttributes(i);
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DFunction.cpp273 AttributeSet PAL = getAttributes(); local
274 PAL = PAL.addAttribute(getContext(), i, attr);
275 setAttributes(PAL);
279 AttributeSet PAL = getAttributes(); local
280 PAL = PAL.addAttributes(getContext(), i, attrs);
281 setAttributes(PAL);
285 AttributeSet PAL = getAttributes(); local
286 PAL
[all...]
H A DAsmWriter.cpp1935 const AttributeSet &PAL = CI->getAttributes(); local
1937 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
1938 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
1958 writeParamOperand(CI->getArgOperand(op), PAL, op + 1);
1961 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
1962 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes());
1968 const AttributeSet &PAL = II->getAttributes(); local
1976 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
1977 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
1997 writeParamOperand(II->getArgOperand(op), PAL, o
[all...]
H A DInstructions.cpp335 AttributeSet PAL = getAttributes(); local
336 PAL = PAL.addAttribute(getContext(), i, attr);
337 setAttributes(PAL);
341 AttributeSet PAL = getAttributes(); local
344 PAL = PAL.removeAttributes(Context, i,
346 setAttributes(PAL);
594 AttributeSet PAL = getAttributes(); local
595 PAL
600 AttributeSet PAL = getAttributes(); local
[all...]
H A DCore.cpp1439 const AttributeSet PAL = Func->getAttributes(); local
1442 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex,
1462 const AttributeSet PAL = Func->getAttributes(); local
1465 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex,
1473 const AttributeSet PAL = Func->getAttributes(); local
1474 return (LLVMAttribute)PAL.Raw(AttributeSet::FunctionIndex);
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp274 AttributeSet PAL = CS.getAttributes(); local
275 if (!PAL.isEmpty() && PAL.getSlotIndex(PAL.getNumSlots() - 1) > NumArgs) {
277 for (unsigned i = 0; PAL.getSlotIndex(i) <= NumArgs; ++i)
278 AttributesVec.push_back(PAL.getSlotAttributes(i));
279 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
281 PAL.getFnAttributes()));
282 PAL = AttributeSet::get(Fn.getContext(), AttributesVec);
290 cast<InvokeInst>(New)->setAttributes(PAL);
700 const AttributeSet &PAL = F->getAttributes(); local
[all...]
H A DPruneEH.cpp148 const AttributeSet &PAL = F->getAttributes(); local
150 PAL.addAttributes(F->getContext(), AttributeSet::FunctionIndex,
154 if (PAL != NPAL) {
H A DArgumentPromotion.cpp518 const AttributeSet &PAL = F->getAttributes(); local
521 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
523 PAL.getRetAttributes()));
539 AttributeSet attrs = PAL.getParamAttributes(ArgIndex);
596 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
598 PAL.getFnAttributes()));
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DCallSite.h182 void setAttributes(const AttributeSet &PAL) { argument
183 CALLSITE_DELEGATE_SETTER(setAttributes(PAL));
/freebsd-10.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp101 const AttributeSet &PAL = MF.getFunction()->getAttributes(); local
103 if (PAL.hasAttrSomewhere(Attribute::Nest))
/freebsd-10.0-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp144 void printAttributes(const AttributeSet &PAL, const std::string &name);
467 void CppWriter::printAttributes(const AttributeSet &PAL, argument
471 if (!PAL.isEmpty()) {
475 for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
476 unsigned index = PAL.getSlotIndex(i);
477 AttrBuilder attrs(PAL.getSlotAttributes(i), index);
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1507 const AttributeSet &PAL = F->getAttributes(); local
1542 if (PAL.hasAttribute(paramIndex + 1, Attribute::ByVal) == false) {
1545 // <a> = PAL.getparamalignment
1547 unsigned align = PAL.getParamAlignment(paramIndex + 1);
1626 // <a> = PAL.getparamalignment
1628 unsigned align = PAL.getParamAlignment(paramIndex + 1);
H A DNVPTXISelLowering.cpp1055 const AttributeSet &PAL = F->getAttributes(); local
1110 if (PAL.hasAttribute(i + 1, Attribute::ByVal) == false) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp969 AttributeListType &PAL,
1069 PAL.push_back(llvm::
1084 PAL.push_back(llvm::
1097 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index,
1124 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index + I,
1160 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, Attrs));
1164 PAL.push_back(llvm::
967 ConstructAttributeList(const CGFunctionInfo &FI, const Decl *TargetDecl, AttributeListType &PAL, unsigned &CallingConv, bool AttrOnCallSite) argument
H A DCodeGenModule.h893 /// \param PAL [out] - On return, the attribute list to use.
897 AttributeListType &PAL,
/freebsd-10.0-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp3039 AttributeSet PAL = AttributeSet::get(Context, Attrs);
3041 if (PAL.hasAttribute(1, Attribute::StructRet) && !RetType->isVoidTy())
3097 Fn->setAttributes(PAL);
3607 AttributeSet PAL = AttributeSet::get(Context, Attrs);
3611 II->setAttributes(PAL);
4013 AttributeSet PAL = AttributeSet::get(Context, Attrs);
4018 CI->setAttributes(PAL);
/freebsd-10.0-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2468 AttributeSet PAL = getAttributes(Record[0]);
2511 cast<InvokeInst>(I)->setAttributes(PAL);
2733 AttributeSet PAL = getAttributes(Record[0]);
2776 cast<CallInst>(I)->setAttributes(PAL);

Completed in 205 milliseconds