/external/llvm/lib/Transforms/IPO/ |
D | DeadArgumentElimination.cpp | 853 AttributeSet::get(NRetTy->getContext(), AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction() 854 AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 856 typeIncompatible(NRetTy, AttributeSet::ReturnIndex), in RemoveDeadStuffFromFunction() 857 AttributeSet::ReturnIndex)); in RemoveDeadStuffFromFunction() 859 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() 861 typeIncompatible(NRetTy, AttributeSet::ReturnIndex), in RemoveDeadStuffFromFunction() 862 AttributeSet::ReturnIndex) && in RemoveDeadStuffFromFunction() 865 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex)) in RemoveDeadStuffFromFunction() 907 AttributeSet::get(NF->getContext(), AttributeSet::ReturnIndex, in RemoveDeadStuffFromFunction() 908 AttrBuilder(RAttrs, AttributeSet::ReturnIndex). in RemoveDeadStuffFromFunction() [all …]
|
D | ArgumentPromotion.cpp | 613 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion() 749 if (CallPAL.hasAttributes(AttributeSet::ReturnIndex)) in DoPromotion()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 529 AttributeSet::ReturnIndex, in buildWrapperFunction() 531 AttributeSet::ReturnIndex)); in buildWrapperFunction() 613 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 621 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 630 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in runOnModule() 706 AttributeSet::ReturnIndex, in runOnModule() 708 AttributeSet::ReturnIndex)); in runOnModule() 976 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows() 989 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in combineShadows() 1092 FallbackCall->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt); in loadShadow() [all …]
|
/external/llvm/unittests/IR/ |
D | VerifierTest.cpp | 53 F->setAttributes(AS.addAttribute(C, AttributeSet::ReturnIndex, in TEST()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 1204 II->addAttribute(AttributeSet::ReturnIndex, Attribute::NonNull); in visitCallInst() 1210 II->addDereferenceableAttr(AttributeSet::ReturnIndex, Bytes); in visitCallInst() 1498 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 1501 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex), in transformConstExprCastCall() 1502 AttributeSet::ReturnIndex)) in transformConstExprCastCall() 1613 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex); in transformConstExprCastCall() 1619 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex), in transformConstExprCastCall() 1620 AttributeSet::ReturnIndex); in transformConstExprCastCall() 1625 AttributeSet::ReturnIndex, RAttrs)); in transformConstExprCastCall() 1790 if (Attrs.hasAttributes(AttributeSet::ReturnIndex)) in transformCallThroughTrampoline()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 539 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall() 541 AttributeSet::ReturnIndex); in returnTypeIsEligibleForTailCall()
|
D | TargetLoweringBase.cpp | 1469 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo() 1471 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo() 1489 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::InReg)) in GetReturnInfo() 1493 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in GetReturnInfo() 1495 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
|
D | CodeGenPrepare.cpp | 1452 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) || in DupRetToEnableTailCallOpts() 1453 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt)) in DupRetToEnableTailCallOpts() 1511 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex). in DupRetToEnableTailCallOpts() 1513 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/IR/ |
D | Attributes.cpp | 887 return pImpl && hasAttributes(ReturnIndex) ? in getRetAttributes() 890 std::make_pair(ReturnIndex, in getRetAttributes() 891 getAttributes(ReturnIndex)))) : in getRetAttributes()
|
D | AsmWriter.cpp | 2475 if (Attrs.hasAttributes(AttributeSet::ReturnIndex)) in printFunction() 2476 Out << Attrs.getAsString(AttributeSet::ReturnIndex) << ' '; in printFunction() 2788 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in printInstruction() 2789 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex); in printInstruction() 2829 if (PAL.hasAttributes(AttributeSet::ReturnIndex)) in printInstruction() 2830 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex); in printInstruction()
|
/external/llvm/include/llvm/IR/ |
D | Attributes.h | 222 ReturnIndex = 0U, enumerator
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 110 .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 | SelectionDAGBuilder.cpp | 1261 if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet() 1264 else if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet() 1269 bool RetInReg = F->getAttributes().hasAttribute(AttributeSet::ReturnIndex, in visitRet() 7145 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex, in getReturnAttrs()
|
D | FastISel.cpp | 851 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex, in getReturnAttrs()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 4152 AttributeSet::ReturnIndex, in ParseFunctionHeader() 4769 AttributeSet::ReturnIndex, in ParseInvoke() 5185 AttributeSet::ReturnIndex, in ParseCall()
|
/external/llvm/lib/Transforms/Scalar/ |
D | RewriteStatepointsForGC.cpp | 1028 if (index == AttributeSet::ReturnIndex || in legalizeCallAttributes()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 2295 if (oldAttrs.hasAttributes(llvm::AttributeSet::ReturnIndex)) in replaceUsesOfNonProtoConstant()
|
D | CGCall.cpp | 1546 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList()
|