/freebsd-10.2-release/contrib/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.h | 105 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 D | ValueEnumerator.cpp | 426 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 D | Function.cpp | 285 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 D | AsmWriter.cpp | 1892 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 D | Instructions.cpp | 335 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 D | Core.cpp | 1500 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 D | DeadArgumentElimination.cpp | 278 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 D | PruneEH.cpp | 148 const AttributeSet &PAL = F->getAttributes().getFnAttributes(); local 152 if (PAL != NPAL) {
|
H A D | ArgumentPromotion.cpp | 515 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 D | CallSite.h | 182 void setAttributes(const AttributeSet &PAL) { argument 183 CALLSITE_DELEGATE_SETTER(setAttributes(PAL));
|
/freebsd-10.2-release/contrib/llvm/lib/Target/XCore/ |
H A D | XCoreFrameLowering.cpp | 102 const AttributeSet &PAL = MF.getFunction()->getAttributes(); local 104 if (PAL.hasAttrSomewhere(Attribute::Nest))
|
/freebsd-10.2-release/contrib/llvm/lib/Target/CppBackend/ |
H A D | CPPBackend.cpp | 145 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 D | CGCall.cpp | 990 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 D | CodeGenModule.h | 920 /// \param PAL [out] - On return, the attribute list to use. 924 AttributeListType &PAL,
|
/freebsd-10.2-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 1490 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 D | NVPTXISelLowering.cpp | 1393 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 D | LLParser.cpp | 3053 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 D | BitcodeReader.cpp | 2638 AttributeSet PAL = getAttributes(Record[0]); 2682 cast<InvokeInst>(I)->setAttributes(PAL); 2908 AttributeSet PAL = getAttributes(Record[0]); 2952 cast<CallInst>(I)->setAttributes(PAL);
|