/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 542 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/ |
D | DeadArgumentElimination.cpp | 854 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()
|
D | FunctionAttrs.cpp | 904 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()
|
D | ArgumentPromotion.cpp | 641 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion() 766 if (CallPAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
|
D | MergeFunctions.cpp | 1616 Context, AttributeSet::ReturnIndex, NewFuncAttrs.getRetAttributes()); in replaceDirectCallers()
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 53 F->setAttributes(AS.addAttribute(C, AttributeSet::ReturnIndex, in TEST()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 543 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall() 545 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall()
|
D | TargetLoweringBase.cpp | 1466 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()
|
D | CodeGenPrepare.cpp | 1932 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/ |
D | HowToUseAttributes.rst | 49 at index ``AttributeSet::ReturnIndex``; and the function's parameters'
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1778 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/ |
D | Attributes.h | 176 ReturnIndex = 0U, enumerator
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 977 return pImpl && hasAttributes(ReturnIndex) ? in getRetAttributes() 980 std::make_pair(ReturnIndex, in getRetAttributes() 981 getAttributes(ReturnIndex)))) : in getRetAttributes()
|
D | AsmWriter.cpp | 2563 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/ |
D | RewriteStatepointsForGC.cpp | 1274 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/ |
D | CloneFunction.cpp | 117 .addAttributes(NewFunc->getContext(), AttributeSet::ReturnIndex, in CloneFunctionInto()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 55 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()
|
D | FastISel.cpp | 866 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex, in getReturnAttrs()
|
D | SelectionDAGBuilder.cpp | 1357 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/ |
D | LLParser.cpp | 4445 AttributeSet::ReturnIndex, in ParseFunctionHeader() 5076 AttributeSet::ReturnIndex, in ParseInvoke() 5680 AttributeSet::ReturnIndex, in ParseCall()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1640 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList()
|
D | CodeGenModule.cpp | 2583 if (oldAttrs.hasAttributes(llvm::AttributeSet::ReturnIndex)) in replaceUsesOfNonProtoConstant()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1587 Align = CS.getAttributes().getParamAlignment(AttributeSet::ReturnIndex); in getAlignment()
|