Lines Matching refs:FunctionIndex
867 F->addAttributes(llvm::AttributeSet::FunctionIndex, in SetLLVMFunctionAttributesForDefinition()
870 llvm::AttributeSet::FunctionIndex, B)); in SetLLVMFunctionAttributesForDefinition()
883 !F->getAttributes().hasAttribute(llvm::AttributeSet::FunctionIndex, in SetLLVMFunctionAttributesForDefinition()
898 F->addAttributes(llvm::AttributeSet::FunctionIndex, in SetLLVMFunctionAttributesForDefinition()
900 F->getContext(), llvm::AttributeSet::FunctionIndex, B)); in SetLLVMFunctionAttributesForDefinition()
1070 F->addAttribute(llvm::AttributeSet::FunctionIndex, in SetFunctionAttributes()
1916 if (ExtraAttrs.hasAttributes(llvm::AttributeSet::FunctionIndex)) { in GetOrCreateLLVMFunction()
1917 llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeSet::FunctionIndex); in GetOrCreateLLVMFunction()
1918 F->addAttributes(llvm::AttributeSet::FunctionIndex, in GetOrCreateLLVMFunction()
1920 llvm::AttributeSet::FunctionIndex, in GetOrCreateLLVMFunction()
2793 if (oldAttrs.hasAttributes(llvm::AttributeSet::FunctionIndex)) in replaceUsesOfNonProtoConstant()