Home
last modified time | relevance | path

Searched refs:ReturnIndex (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp542 AttributeSet::ReturnIndex, in buildWrapperFunction()
543 AttributeSet::get(F->getContext(), AttributeSet::ReturnIndex, in buildWrapperFunction()
627 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
635 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
644 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule()
720 AttributeSet::ReturnIndex, in runOnModule()
721 AttributeSet::get(NewF->getContext(), AttributeSet::ReturnIndex, in runOnModule()
991 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows()
1004 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows()
1108 FallbackCall->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in loadShadow()
[all …]
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp854 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
857 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction()
861 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
903 AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction()
905 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction()
DFunctionAttrs.cpp904 if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in addNonNullAttrs()
924 F->addAttribute(AttributeSet::ReturnIndex, Attribute::NonNull); in addNonNullAttrs()
937 if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in addNonNullAttrs()
943 F->addAttribute(AttributeSet::ReturnIndex, Attribute::NonNull); in addNonNullAttrs()
DArgumentPromotion.cpp641 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
766 if (CallPAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
DMergeFunctions.cpp1616 Context, AttributeSet::ReturnIndex, NewFuncAttrs.getRetAttributes()); in replaceDirectCallers()
/external/llvm/unittests/IR/
DVerifierTest.cpp53 F->setAttributes(AS.addAttribute(C, AttributeSet::ReturnIndex, in TEST()
/external/llvm/lib/CodeGen/
DAnalysis.cpp543 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall()
545 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall()
DTargetLoweringBase.cpp1466 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1468 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1486 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::InReg)) in GetReturnInfo()
1490 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1492 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
DCodeGenPrepare.cpp1932 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in dupRetToEnableTailCallOpts()
1933 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in dupRetToEnableTailCallOpts()
1991 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()
1993 AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in dupRetToEnableTailCallOpts()
/external/llvm/docs/
DHowToUseAttributes.rst49 at index ``AttributeSet::ReturnIndex``; and the function's parameters'
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1778 II->addAttribute(AttributeSet::ReturnIndex, Attribute::NonNull); in visitCallInst()
1784 II->addDereferenceableAttr(AttributeSet::ReturnIndex, Bytes); in visitCallInst()
2098 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall()
2209 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall()
2218 AttributeSet::ReturnIndex, RAttrs)); in transformConstExprCastCall()
2386 if (Attrs.hasAttributes(AttributeSet::ReturnIndex)) in transformCallThroughTrampoline()
/external/llvm/include/llvm/IR/
DAttributes.h176 ReturnIndex = 0U, enumerator
/external/llvm/lib/IR/
DAttributes.cpp977 return pImpl && hasAttributes(ReturnIndex) ? in getRetAttributes()
980 std::make_pair(ReturnIndex, in getRetAttributes()
981 getAttributes(ReturnIndex)))) : in getRetAttributes()
DAsmWriter.cpp2563 if (Attrs.hasAttributes(AttributeSet::ReturnIndex)) in printFunction()
2564 Out << Attrs.getAsString(AttributeSet::ReturnIndex) << ' '; in printFunction()
2942 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in printInstruction()
2943 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex); in printInstruction()
2985 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in printInstruction()
2986 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex); in printInstruction()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1274 if (Index == AttributeSet::ReturnIndex || in legalizeCallAttributes()
2519 RemoveNonValidAttrAtIndex(Ctx, F, AttributeSet::ReturnIndex); in stripNonValidAttributesFromPrototype()
2554 RemoveNonValidAttrAtIndex(Ctx, CS, AttributeSet::ReturnIndex); in stripNonValidAttributesFromBody()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp117 .addAttributes(NewFunc->getContext(), AttributeSet::ReturnIndex, in CloneFunctionInto()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp55 if (AttrBuilder(CallerAttrs, AttributeSet::ReturnIndex) in isInTailCallPosition()
60 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in isInTailCallPosition()
61 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in isInTailCallPosition()
DFastISel.cpp866 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex, in getReturnAttrs()
DSelectionDAGBuilder.cpp1357 if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet()
1360 else if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet()
1365 bool RetInReg = F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet()
6976 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex, in getReturnAttrs()
/external/llvm/lib/AsmParser/
DLLParser.cpp4445 AttributeSet::ReturnIndex, in ParseFunctionHeader()
5076 AttributeSet::ReturnIndex, in ParseInvoke()
5680 AttributeSet::ReturnIndex, in ParseCall()
/external/clang/lib/CodeGen/
DCGCall.cpp1640 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList()
DCodeGenModule.cpp2583 if (oldAttrs.hasAttributes(llvm::AttributeSet::ReturnIndex)) in replaceUsesOfNonProtoConstant()
/external/llvm/lib/Analysis/
DValueTracking.cpp1587 Align = CS.getAttributes().getParamAlignment(AttributeSet::ReturnIndex); in getAlignment()