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

/freebsd-10.2-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.cpp426 void ValueEnumerator::EnumerateAttributes(AttributeSet PAL) { argument
427 if (PAL.isEmpty()) return; // null is always 0.
430 unsigned &Entry = AttributeMap[PAL];
433 Attribute.push_back(PAL);
438 for (unsigned i = 0, e = PAL.getNumSlots(); i != e; ++i) {
439 AttributeSet AS = PAL.getSlotAttributes(i);
/freebsd-10.2-release/contrib/llvm/lib/IR/
H A DFunction.cpp285 AttributeSet PAL = getAttributes(); local
286 PAL = PAL.addAttribute(getContext(), i, attr);
287 setAttributes(PAL);
291 AttributeSet PAL = getAttributes(); local
292 PAL = PAL.addAttributes(getContext(), i, attrs);
293 setAttributes(PAL);
297 AttributeSet PAL = getAttributes(); local
298 PAL
[all...]
H A DAsmWriter.cpp1892 const AttributeSet &PAL = CI->getAttributes(); local
1894 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
1895 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
1915 writeParamOperand(CI->getArgOperand(op), PAL, op + 1);
1918 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
1919 Out << " #" << Machine.getAttributeGroupSlot(PAL.getFnAttributes());
1925 const AttributeSet &PAL = II->getAttributes(); local
1933 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
1934 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
1954 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.cpp1500 const AttributeSet PAL = Func->getAttributes(); local
1503 PAL.addAttributes(Func->getContext(), AttributeSet::FunctionIndex,
1523 const AttributeSet PAL = Func->getAttributes(); local
1526 PAL.removeAttributes(Func->getContext(), AttributeSet::FunctionIndex,
1534 const AttributeSet PAL = Func->getAttributes(); local
1535 return (LLVMAttribute)PAL.Raw(AttributeSet::FunctionIndex);
/freebsd-10.2-release/contrib/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp278 AttributeSet PAL = CS.getAttributes(); local
279 if (!PAL.isEmpty() && PAL.getSlotIndex(PAL.getNumSlots() - 1) > NumArgs) {
281 for (unsigned i = 0; PAL.getSlotIndex(i) <= NumArgs; ++i)
282 AttributesVec.push_back(PAL.getSlotAttributes(i));
283 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
285 PAL.getFnAttributes()));
286 PAL = AttributeSet::get(Fn.getContext(), AttributesVec);
294 cast<InvokeInst>(New)->setAttributes(PAL);
737 const AttributeSet &PAL = F->getAttributes(); local
[all...]
H A DPruneEH.cpp148 const AttributeSet &PAL = F->getAttributes().getFnAttributes(); local
152 if (PAL != NPAL) {
H A DArgumentPromotion.cpp515 const AttributeSet &PAL = F->getAttributes(); local
518 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
520 PAL.getRetAttributes()));
536 AttributeSet attrs = PAL.getParamAttributes(ArgIndex);
593 if (PAL.hasAttributes(AttributeSet::FunctionIndex))
595 PAL.getFnAttributes()));
/freebsd-10.2-release/contrib/llvm/include/llvm/Support/
H A DCallSite.h182 void setAttributes(const AttributeSet &PAL) { argument
183 CALLSITE_DELEGATE_SETTER(setAttributes(PAL));
/freebsd-10.2-release/contrib/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp102 const AttributeSet &PAL = MF.getFunction()->getAttributes(); local
104 if (PAL.hasAttrSomewhere(Attribute::Nest))
/freebsd-10.2-release/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp145 void printAttributes(const AttributeSet &PAL, const std::string &name);
466 void CppWriter::printAttributes(const AttributeSet &PAL, argument
470 if (!PAL.isEmpty()) {
474 for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
475 unsigned index = PAL.getSlotIndex(i);
476 AttrBuilder attrs(PAL.getSlotAttributes(i), index);
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp990 AttributeListType &PAL,
1097 PAL.push_back(llvm::
1112 PAL.push_back(llvm::
1125 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index,
1152 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index + I,
1188 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, Attrs));
1192 PAL.push_back(llvm::
988 ConstructAttributeList(const CGFunctionInfo &FI, const Decl *TargetDecl, AttributeListType &PAL, unsigned &CallingConv, bool AttrOnCallSite) argument
H A DCodeGenModule.h920 /// \param PAL [out] - On return, the attribute list to use.
924 AttributeListType &PAL,
/freebsd-10.2-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1490 const AttributeSet &PAL = F->getAttributes(); local
1525 if (PAL.hasAttribute(paramIndex + 1, Attribute::ByVal) == false) {
1528 // <a> = PAL.getparamalignment
1530 unsigned align = PAL.getParamAlignment(paramIndex + 1);
1608 // <a> = PAL.getparamalignment
1610 unsigned align = PAL.getParamAlignment(paramIndex + 1);
H A DNVPTXISelLowering.cpp1393 const AttributeSet &PAL = F->getAttributes(); local
1475 if (PAL.hasAttribute(i + 1, Attribute::ByVal) == false) {
/freebsd-10.2-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp3053 AttributeSet PAL = AttributeSet::get(Context, Attrs);
3055 if (PAL.hasAttribute(1, Attribute::StructRet) && !RetType->isVoidTy())
3111 Fn->setAttributes(PAL);
3622 AttributeSet PAL = AttributeSet::get(Context, Attrs);
3626 II->setAttributes(PAL);
4028 AttributeSet PAL = AttributeSet::get(Context, Attrs);
4033 CI->setAttributes(PAL);
/freebsd-10.2-release/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2638 AttributeSet PAL = getAttributes(Record[0]);
2682 cast<InvokeInst>(I)->setAttributes(PAL);
2908 AttributeSet PAL = getAttributes(Record[0]);
2952 cast<CallInst>(I)->setAttributes(PAL);

Completed in 145 milliseconds