Searched refs:ReturnIndex (Results 1 - 19 of 19) sorted by relevance

/external/llvm/unittests/IR/
H A DVerifierTest.cpp53 F->setAttributes(AS.addAttribute(C, AttributeSet::ReturnIndex,
/external/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp853 AttributeSet::get(NRetTy->getContext(), AttributeSet::ReturnIndex,
854 AttrBuilder(RAttrs, AttributeSet::ReturnIndex).
856 typeIncompatible(NRetTy, AttributeSet::ReturnIndex),
857 AttributeSet::ReturnIndex));
859 assert(!AttrBuilder(RAttrs, AttributeSet::ReturnIndex).
861 typeIncompatible(NRetTy, AttributeSet::ReturnIndex),
862 AttributeSet::ReturnIndex) &&
865 if (RAttrs.hasAttributes(AttributeSet::ReturnIndex))
907 AttributeSet::get(NF->getContext(), AttributeSet::ReturnIndex,
908 AttrBuilder(RAttrs, AttributeSet::ReturnIndex)
[all...]
H A DArgumentPromotion.cpp613 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
749 if (CallPAL.hasAttributes(AttributeSet::ReturnIndex))
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp529 AttributeSet::ReturnIndex,
531 AttributeSet::ReturnIndex));
613 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt);
621 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt);
630 F->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt);
706 AttributeSet::ReturnIndex,
708 AttributeSet::ReturnIndex));
976 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt);
989 Call->addAttribute(AttributeSet::ReturnIndex, Attribute::ZExt);
1092 FallbackCall->addAttribute(AttributeSet::ReturnIndex, Attribut
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1204 II->addAttribute(AttributeSet::ReturnIndex, Attribute::NonNull);
1210 II->addDereferenceableAttr(AttributeSet::ReturnIndex, Bytes);
1498 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex);
1501 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex),
1502 AttributeSet::ReturnIndex))
1613 AttrBuilder RAttrs(CallerPAL, AttributeSet::ReturnIndex);
1619 typeIncompatible(NewRetTy, AttributeSet::ReturnIndex),
1620 AttributeSet::ReturnIndex); member in class:AttributeSet
1625 AttributeSet::ReturnIndex, RAttrs));
1790 if (Attrs.hasAttributes(AttributeSet::ReturnIndex))
[all...]
/external/llvm/lib/CodeGen/
H A DAnalysis.cpp539 AttributeSet::ReturnIndex);
541 AttributeSet::ReturnIndex); member in class:AttributeSet
H A DTargetLoweringBase.cpp1469 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1471 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt))
1489 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::InReg))
1493 if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1495 else if (attr.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt))
H A DCodeGenPrepare.cpp1452 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) ||
1453 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
1511 if (AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex).
1513 AttrBuilder(CalleeAttrs, AttributeSet::ReturnIndex).
/external/llvm/include/llvm/IR/
H A DAttributes.h217 /// `AttributeSet::ReturnIndex', and the attributes for the parameters start at
222 ReturnIndex = 0U,
/external/llvm/lib/IR/
H A DAttributes.cpp887 return pImpl && hasAttributes(ReturnIndex) ?
890 std::make_pair(ReturnIndex,
891 getAttributes(ReturnIndex)))) :
H A DAsmWriter.cpp2475 if (Attrs.hasAttributes(AttributeSet::ReturnIndex))
2476 Out << Attrs.getAsString(AttributeSet::ReturnIndex) << ' ';
2788 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
2789 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
2829 if (PAL.hasAttributes(AttributeSet::ReturnIndex))
2830 Out << ' ' << PAL.getAsString(AttributeSet::ReturnIndex);
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp110 .addAttributes(NewFunc->getContext(), AttributeSet::ReturnIndex,
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp55 if (AttrBuilder(CallerAttrs, AttributeSet::ReturnIndex)
60 if (CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::ZExt) ||
61 CallerAttrs.hasAttribute(AttributeSet::ReturnIndex, Attribute::SExt))
H A DFastISel.cpp851 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex,
H A DSelectionDAGBuilder.cpp1261 if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex,
1264 else if (F->getAttributes().hasAttribute(AttributeSet::ReturnIndex,
1269 bool RetInReg = F->getAttributes().hasAttribute(AttributeSet::ReturnIndex,
7145 return AttributeSet::get(CLI.RetTy->getContext(), AttributeSet::ReturnIndex,
/external/llvm/lib/AsmParser/
H A DLLParser.cpp4152 AttributeSet::ReturnIndex,
4769 AttributeSet::ReturnIndex,
5185 AttributeSet::ReturnIndex,
/external/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1028 if (index == AttributeSet::ReturnIndex ||
/external/clang/lib/CodeGen/
H A DCGCall.cpp1546 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs));
H A DCodeGenModule.cpp2295 if (oldAttrs.hasAttributes(llvm::AttributeSet::ReturnIndex))

Completed in 1016 milliseconds