Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceAttributes.cpp173 I.first->setAttributes(convertAttributeRefToAttributeSet(C, I.second)); in extractAttributesFromModule()
175 I.first->setAttributes(convertAttributeRefVecToAttributeList(C, I.second)); in extractAttributesFromModule()
177 I.first->setAttributes(convertAttributeRefVecToAttributeList(C, I.second)); in extractAttributesFromModule()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp131 void setAttributes(Function &F, const ArrayRef<Optional<Attribute>> NewAttrs);
277 setAttributes(F, NewProps.Attributes); in process()
320 setAttributes(*NewF, NewProps.Attributes); in cloneWithProperties()
347 void AMDGPUPropagateAttributes::setAttributes(Function &F, in setAttributes() function in AMDGPUPropagateAttributes
/llvm-project-15.0.7/llvm/unittests/IR/
H A DLegacyPassManagerTest.cpp454 func_test1->setAttributes(func_test1_PAL); in makeLLVMModule()
462 func_test2->setAttributes(func_test2_PAL); in makeLLVMModule()
470 func_test3->setAttributes(func_test3_PAL); in makeLLVMModule()
478 func_test4->setAttributes(func_test4_PAL); in makeLLVMModule()
500 int32_3->setAttributes(int32_3_PAL); in makeLLVMModule()
516 int32_6->setAttributes(int32_6_PAL); in makeLLVMModule()
532 int32_9->setAttributes(int32_9_PAL); in makeLLVMModule()
H A DVerifierTest.cpp102 F->setAttributes(AS.addRetAttribute( in TEST()
H A DInstructionsTest.cpp735 Call->setAttributes( in TEST()
754 Call->setAttributes(AttributeList::get(C, AttributeList::FunctionIndex, AB)); in TEST()
783 Invoke->setAttributes( in TEST()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DIndirectionUtilsTest.cpp33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp58 NewCall->setAttributes(II->getAttributes()); in runImpl()
H A DSimplifyLibCalls.cpp655 NewCI->setAttributes(CI->getAttributes()); in optimizeStrCpy()
689 NewCI->setAttributes(CI->getAttributes()); in optimizeStpCpy()
753 NewCI->setAttributes(CI->getAttributes()); in optimizeStrNCpy()
1444 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpy()
1500 NewCI->setAttributes(CI->getAttributes()); in optimizeMemPCpy()
1515 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMove()
1530 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSet()
3608 NewCI->setAttributes(CI->getAttributes()); in optimizeMemCpyChk()
3622 NewCI->setAttributes(CI->getAttributes()); in optimizeMemMoveChk()
3636 NewCI->setAttributes(CI->getAttributes()); in optimizeMemSetChk()
[all …]
H A DCallPromotionUtils.cpp530 CB.setAttributes(AttributeList::get(Ctx, CallerPAL.getFnAttrs(), in promoteCall()
H A DCloneFunction.cpp101 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()
121 NewFunc->setAttributes( in CloneFunctionInto()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp137 NewF->setAttributes(F.getAttributes()); in runOnModule()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGlobalVariable.h237 void setAttributes(AttributeSet A) { in setAttributes() function
H A DFunction.h317 void setAttributes(AttributeList Attrs) { AttributeSets = Attrs; } in setAttributes() function
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp207 NewCB->setAttributes(PAL); in deleteDeadVarargs()
861 NF->setAttributes(NewPAL); in removeDeadStuffFromFunction()
938 NewCB->setAttributes(NewCallPAL); in removeDeadStuffFromFunction()
H A DArgumentPromotion.cpp211 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
280 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
H A DAttributor.cpp822 ScopeFn->setAttributes(Attrs); in manifestAttrs()
827 cast<CallBase>(IRP.getAnchorValue()).setAttributes(Attrs); in manifestAttrs()
2320 Wrapper->setAttributes(F.getAttributes()); in createShallowWrapper()
2604 NewFn->setAttributes(AttributeList::get( in rewriteFunctionSignatures()
2681 NewCB->setAttributes(AttributeList::get( in rewriteFunctionSignatures()
H A DThinLTOBitcodeWriter.cpp191 NewF->setAttributes(AttributeList::get(M.getContext(), in simplifyExternals()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCPseudoProbe.h139 void setAttributes(uint8_t Attr) { Attributes = Attr; } in setAttributes() function
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp192 F.setAttributes(Attrs); in LLVMCreateMCJITCompilerForModule()
/llvm-project-15.0.7/llvm/lib/IR/
H A DFunction.cpp287 getParent()->setAttributes(AL); in addAttrs()
305 getParent()->setAttributes(AL); in removeAttrs()
409 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); in Function()
717 setAttributes(Src->getAttributes()); in copyAttributesFrom()
H A DGlobals.cpp487 setAttributes(Src->getAttributes()); in copyAttributesFrom()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DStackProtector.cpp498 Call->setAttributes(GuardCheck->getAttributes()); in InsertStackProtectors()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp266 Call->setAttributes(F.getAttributes()); in makeStub()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1805 SPCall->setAttributes(legalizeCallAttributes( in makeStatepointExplicitImpl()
1832 SPInvoke->setAttributes(legalizeCallAttributes( in makeStatepointExplicitImpl()
1876 GCResult->setAttributes( in makeStatepointExplicitImpl()
2806 F.setAttributes(Intrinsic::getAttributes(Ctx, id)); in stripNonValidAttributesFromPrototype()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/
H A DLLVMToLLVMIRTranslation.cpp353 inst->setAttributes(attrList); in convertOperationImpl()

123