Home
last modified time | relevance | path

Searched refs:setAttributes (Results 1 – 25 of 38) sorted by relevance

12

/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DLegacyPassManagerTest.cpp441 func_test1->setAttributes(func_test1_PAL); in makeLLVMModule()
449 func_test2->setAttributes(func_test2_PAL); in makeLLVMModule()
457 func_test3->setAttributes(func_test3_PAL); in makeLLVMModule()
465 func_test4->setAttributes(func_test4_PAL); in makeLLVMModule()
485 int32_3->setAttributes(int32_3_PAL); in makeLLVMModule()
500 int32_6->setAttributes(int32_6_PAL); in makeLLVMModule()
515 int32_9->setAttributes(int32_9_PAL); in makeLLVMModule()
H A DVerifierTest.cpp53 F->setAttributes(AS.addAttribute(C, AttributeSet::ReturnIndex, in TEST()
H A DInstructionsTest.cpp513 Call->setAttributes(AttributeSet::get(C, AttributeSet::FunctionIndex, AB)); in TEST()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DFunction.h179 void setAttributes(AttributeSet attrs) { AttributeSets = attrs; }
183 setAttributes(AttributeSets.addAttribute(getContext(),
189 setAttributes(AttributeSets.removeAttribute(
195 setAttributes(
200 setAttributes(
H A DCallSite.h201 void setAttributes(const AttributeSet &PAL) { in setAttributes() function
202 CALLSITE_DELEGATE_SETTER(setAttributes(PAL)); in setAttributes()
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DIRBindings.cpp33 Func->setAttributes(PALnew); in LLVMAddFunctionAttr2()
50 Func->setAttributes(PALnew); in LLVMRemoveFunctionAttr2()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp64 NewCall->setAttributes(II->getAttributes()); in runOnFunction()
H A DCloneFunction.cpp96 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()
108 NewFunc->setAttributes( in CloneFunctionInto()
H A DBuildLibCalls.cpp312 CI->setAttributes(Attrs); in EmitUnaryFloatFnCall()
333 CI->setAttributes(Attrs); in EmitBinaryFloatFnCall()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DFunction.cpp260 setAttributes(Intrinsic::getAttributes(getContext(), Intrinsic::ID(IID))); in Function()
331 setAttributes(PAL); in addAttribute()
337 setAttributes(PAL); in addAttributes()
343 setAttributes(PAL); in removeAttributes()
396 setAttributes(SrcF->getAttributes()); in copyAttributesFrom()
H A DModule.cpp124 New->setAttributes(AttributeList); in getOrInsertFunction()
H A DInstructions.cpp326 setAttributes(CI.getAttributes()); in CallInst()
337 setAttributes(PAL); in addAttribute()
346 setAttributes(PAL); in removeAttribute()
562 setAttributes(II.getAttributes()); in InvokeInst()
597 setAttributes(PAL); in addAttribute()
605 setAttributes(PAL); in removeAttribute()
H A DCore.cpp1720 Func->setAttributes(PALnew); in LLVMAddFunctionAttr()
1743 Func->setAttributes(PALnew); in LLVMRemoveFunctionAttr()
2038 Call.setAttributes( in LLVMAddInstrAttribute()
2048 Call.setAttributes(Call.getAttributes() in LLVMRemoveInstrAttribute()
2059 Call.setAttributes(Call.getAttributes() in LLVMSetInstrParamAlignment()
H A DAutoUpgrade.cpp247 F->setAttributes(Intrinsic::getAttributes(F->getContext(), in UpgradeIntrinsicFunction()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp265 cast<InvokeInst>(New)->setAttributes(PAL); in DeleteDeadVarargs()
269 cast<CallInst>(New)->setAttributes(PAL); in DeleteDeadVarargs()
862 NF->setAttributes(NewPAL); in RemoveDeadStuffFromFunction()
939 cast<InvokeInst>(New)->setAttributes(NewCallPAL); in RemoveDeadStuffFromFunction()
943 cast<CallInst>(New)->setAttributes(NewCallPAL); in RemoveDeadStuffFromFunction()
H A DPruneEH.cpp184 Call->setAttributes(II->getAttributes()); in SimplifyFunction()
H A DArgumentPromotion.cpp718 NF->setAttributes(AttributeSet::get(F->getContext(), AttributesVec)); in DoPromotion()
841 cast<InvokeInst>(New)->setAttributes(AttributeSet::get(II->getContext(), in DoPromotion()
846 cast<CallInst>(New)->setAttributes(AttributeSet::get(New->getContext(), in DoPromotion()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp140 NewF->setAttributes(F->getAttributes()); in visitCallInst()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1600 cast<InvokeInst>(NC)->setAttributes(NewCallerPAL); in transformConstExprCastCall()
1608 cast<CallInst>(NC)->setAttributes(NewCallerPAL); in transformConstExprCastCall()
1785 cast<InvokeInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
1792 cast<CallInst>(NewCaller)->setAttributes(NewPAL); in transformCallThroughTrampoline()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DFastISel.h52 void setAttributes(ImmutableCallSite *CS, unsigned AttrIdx);
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DShadowStackGC.cpp182 II->setAttributes(CI->getAttributes()); in Next()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp79 void FastISel::ArgListEntry::setAttributes(ImmutableCallSite *CS, in setAttributes() function in FastISel::ArgListEntry
692 Entry.setAttributes(&CS, AttrI); in lowerCallOperands()
874 Entry.setAttributes(&CS, ArgI + 1); in lowerCallTo()
1007 Entry.setAttributes(&CS, i - CS.arg_begin() + 1); in lowerCall()
H A DStatepointLowering.cpp250 Tmp->setAttributes(CI.getAttributes()); in lowerCallFromStatepoint()
/minix3/external/bsd/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp84 Fn->setAttributes(AS); in ValidateEndOfModule()
95 CI->setAttributes(AS); in ValidateEndOfModule()
106 II->setAttributes(AS); in ValidateEndOfModule()
3445 Fn->setAttributes(PAL); in ParseFunctionHeader()
4025 II->setAttributes(PAL); in ParseInvoke()
4439 CI->setAttributes(PAL); in ParseCall()
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGVTables.cpp351 Call->setAttributes(Attrs); in EmitMustTailThunk()

12