Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 98) sorted by relevance

1234

/freebsd-9-stable/contrib/llvm/lib/IR/
DFunction.cpp83 return getParent()->getAttributes(). in hasByValAttr()
97 return getParent()->getAttributes(). in hasNestAttr()
105 return getParent()->getAttributes(). in hasNoAliasAttr()
113 return getParent()->getAttributes(). in hasNoCaptureAttr()
123 return getParent()->getAttributes(). in hasStructRetAttr()
130 return getParent()->getAttributes(). in hasReturnedAttr()
137 return getParent()->getAttributes(). in onlyReadsMemory()
139 getParent()->getAttributes(). in onlyReadsMemory()
215 setAttributes(Intrinsic::getAttributes(getContext(), Intrinsic::ID(IID))); in Function()
285 AttributeSet PAL = getAttributes(); in addAttribute()
[all …]
DInstruction.cpp300 CI->getAttributes() == cast<CallInst>(I)->getAttributes(); in isIdenticalToWhenDefined()
303 CI->getAttributes() == cast<InvokeInst>(I)->getAttributes(); in isIdenticalToWhenDefined()
373 CI->getAttributes() == cast<CallInst>(I)->getAttributes(); in isSameOperationAs()
376 CI->getAttributes() == in isSameOperationAs()
377 cast<InvokeInst>(I)->getAttributes(); in isSameOperationAs()
DAttributes.cpp796 std::make_pair(Index, getAttributes(Index)))) : in getParamAttributes()
805 getAttributes(ReturnIndex)))) : in getRetAttributes()
814 getAttributes(FunctionIndex)))) : in getFnAttributes()
819 AttributeSetNode *ASN = getAttributes(Index); in hasAttribute()
824 AttributeSetNode *ASN = getAttributes(Index); in hasAttribute()
829 AttributeSetNode *ASN = getAttributes(Index); in hasAttributes()
849 AttributeSetNode *ASN = getAttributes(Index); in getAttribute()
855 AttributeSetNode *ASN = getAttributes(Index); in getAttribute()
860 AttributeSetNode *ASN = getAttributes(Index); in getParamAlignment()
865 AttributeSetNode *ASN = getAttributes(Index); in getStackAlignment()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/
DInliner.cpp87 AttributeSet CallerAttr = Caller->getAttributes(), in AdjustCallerSSPLevel()
88 CalleeAttr = Callee->getAttributes(); in AdjustCallerSSPLevel()
263 Caller->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in getInlineThreshold()
273 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in getInlineThreshold()
276 && !Caller->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in getInlineThreshold()
593 !F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in removeDeadFunctions()
DMergeFunctions.cpp331 CI->getAttributes() == cast<CallInst>(I2)->getAttributes(); in isEquivalentOperation()
334 CI->getAttributes() == cast<InvokeInst>(I2)->getAttributes(); in isEquivalentOperation()
479 if (F1->getAttributes() != F2->getAttributes()) in compare()
DPruneEH.cpp148 const AttributeSet &PAL = F->getAttributes().getFnAttributes(); in runOnSCC()
183 Call->setAttributes(II->getAttributes()); in SimplifyFunction()
DInlineAlways.cpp96 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in getInlineCost()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DStackProtector.cpp70 Attribute Attr = Fn.getAttributes().getAttribute( in runOnFunction()
179 if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
183 } else if (F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
186 else if (!F->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in RequiresStackProtector()
DMachineFunction.cpp66 if (Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in MachineFunction()
68 FrameInfo->ensureMaxAlignment(Fn->getAttributes(). in MachineFunction()
75 if (!Fn->getAttributes().hasAttribute(AttributeSet::FunctionIndex, in MachineFunction()
DAnalysis.cpp529 AttrBuilder CallerAttrs(F->getAttributes(), in returnTypeIsEligibleForTailCall()
531 AttrBuilder CalleeAttrs(cast<CallInst>(I)->getAttributes(), in returnTypeIsEligibleForTailCall()
/freebsd-9-stable/contrib/llvm/lib/Target/R600/
DSITypeRewriter.cpp65 AttributeSet Set = F.getAttributes(); in runOnFunction()
140 NewF->setAttributes(F->getAttributes()); in visitCallInst()
DAMDGPUMachineFunction.cpp16 AttributeSet Set = MF.getFunction()->getAttributes(); in AMDGPUMachineFunction()
/freebsd-9-stable/contrib/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp41 EnumerateAttributes(cast<Function>(I)->getAttributes()); in ValueEnumerator()
94 EnumerateAttributes(CI->getAttributes()); in ValueEnumerator()
96 EnumerateAttributes(II->getAttributes()); in ValueEnumerator()
478 EnumerateAttributes(F.getAttributes()); in incorporateFunction()
DValueEnumerator.h135 const std::vector<AttributeSet> &getAttributes() const { in getAttributes() function
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DParseDecl.cpp631 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
637 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
643 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
649 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
655 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
661 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
667 DS.getAttributes().addNewInteger( in ParseOpenCLQualifiers()
2833 ParseGNUAttributes(DS.getAttributes(), 0, LateAttrs); in ParseDeclarationSpecifiers()
2838 ParseMicrosoftDeclSpec(DS.getAttributes()); in ParseDeclarationSpecifiers()
2848 DS.getAttributes().addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0, 0, in ParseDeclarationSpecifiers()
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/Support/
DCallSite.h179 const AttributeSet &getAttributes() const { in getAttributes() function
180 CALLSITE_DELEGATE_GETTER(getAttributes()); in getAttributes()
/freebsd-9-stable/contrib/llvm/lib/Target/Hexagon/
DHexagonRemoveSZExtArgs.cpp59 if (F.getAttributes().hasAttribute(Idx, Attribute::SExt)) { in runOnFunction()
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DIntrinsics.h61 AttributeSet getAttributes(LLVMContext &C, ID id);
/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DCloneFunction.cpp91 AttributeSet OldAttrs = OldFunc->getAttributes(); in CloneFunctionInto()
103 NewFunc->setAttributes(NewFunc->getAttributes() in CloneFunctionInto()
107 NewFunc->setAttributes(NewFunc->getAttributes() in CloneFunctionInto()
DSimplifyLibCalls.cpp1098 V = EmitUnaryFloatFnCall(V, Callee->getName(), B, Callee->getAttributes()); in callOptimizer()
1164 return EmitUnaryFloatFnCall(Op2, "exp2", B, Callee->getAttributes()); in callOptimizer()
1186 Callee->getAttributes()); in callOptimizer()
1188 Callee->getAttributes()); in callOptimizer()
1380 Value *Callee = M->getOrInsertFunction(Name, OrigCallee->getAttributes(), in insertSinCosCall()
1636 M->getOrInsertFunction("iprintf", FT, Callee->getAttributes()); in callOptimizer()
1729 M->getOrInsertFunction("siprintf", FT, Callee->getAttributes()); in callOptimizer()
1810 M->getOrInsertFunction("fiprintf", FT, Callee->getAttributes()); in callOptimizer()
/freebsd-9-stable/contrib/llvm/lib/Target/
DTargetMachine.cpp75 (F->getAttributes(). \ in resetTargetOptions()
/freebsd-9-stable/contrib/llvm/lib/Target/Mips/
DMipsSubtarget.cpp132 AttributeSet FnAttrs = MF->getFunction()->getAttributes(); in resetSubtarget()
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp55 AttributeSet FnAttrs = MF->getFunction()->getAttributes(); in resetSubtargetFeatures()
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86PadShortFunction.cpp94 const AttributeSet &FnAttrs = MF.getFunction()->getAttributes(); in runOnMachineFunction()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DDeclSpec.h716 ParsedAttributes &getAttributes() { return Attrs; } in getAttributes() function
717 const ParsedAttributes &getAttributes() const { return Attrs; } in getAttributes() function
2045 const AttributeList *getAttributes() const { return Attrs.getList(); } in getAttributes() function
2046 AttributeList *getAttributes() { return Attrs.getList(); } in getAttributes() function
2052 if (getAttributes() || getDeclSpec().hasAttributes()) return true; in hasAttributes()

1234