Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp88 KernArgSegment->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in runOnFunction()
89 KernArgSegment->addAttribute(AttributeList::ReturnIndex, in runOnFunction()
223 AttributeList::ReturnIndex, in runOnFunction()
DAMDGPUPromoteAlloca.cpp240 DispatchPtr->addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in getLocalSizeYZ()
241 DispatchPtr->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in getLocalSizeYZ()
244 DispatchPtr->addDereferenceableAttr(AttributeList::ReturnIndex, 64); in getLocalSizeYZ()
DAMDGPURewriteOutArguments.cpp378 NewFunc->removeAttributes(AttributeList::ReturnIndex, RetAttrs); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp658 AttributeList::ReturnIndex, in buildWrapperFunction()
741 AL = AL.addAttribute(M.getContext(), AttributeList::ReturnIndex, in runOnModule()
755 AL = AL.addAttribute(M.getContext(), AttributeList::ReturnIndex, in runOnModule()
768 AL = AL.addAttribute(M.getContext(), AttributeList::ReturnIndex, in runOnModule()
848 AttributeList::ReturnIndex, in runOnModule()
1124 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows()
1137 Call->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in combineShadows()
1240 FallbackCall->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in loadShadow()
1299 FallbackCall->addAttribute(AttributeList::ReturnIndex, Attribute::ZExt); in loadShadow()
1749 *DFSF.DFS.Ctx, AttributeList::ReturnIndex, in visitCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp291 setArgFlags(CurArgInfo, AttributeList::ReturnIndex, DL, F); in lowerReturn()
302 if (F.getAttributes().hasAttribute(AttributeList::ReturnIndex, in lowerReturn()
305 else if (F.getAttributes().hasAttribute(AttributeList::ReturnIndex, in lowerReturn()
355 setArgFlags(CurArgInfo, AttributeList::ReturnIndex, DL, F); in lowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp1047 if (F->getAttributes().hasAttribute(AttributeList::ReturnIndex, in addNonNullAttrs()
1069 F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in addNonNullAttrs()
1082 if (F->getAttributes().hasAttribute(AttributeList::ReturnIndex, in addNonNullAttrs()
1088 F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in addNonNullAttrs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFunction.h619 return AttributeSets.hasAttribute(AttributeList::ReturnIndex, in returnDoesNotAlias()
623 addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in setReturnDoesNotAlias()
DCallSite.h648 else if (getDereferenceableBytes(AttributeList::ReturnIndex) > 0 && in isReturnNonNull()
DAttributes.h340 ReturnIndex = 0U,
DInstrTypes.h1525 if (i == AttributeList::ReturnIndex)
1638 return Attrs.hasAttribute(AttributeList::ReturnIndex, Attribute::NoAlias);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroutines.cpp301 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in buildFrom()
302 CB->addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in buildFrom()
DCoroSplit.cpp1211 F.removeAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in splitRetconCoroutine()
1212 F.removeAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in splitRetconCoroutine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1479 if (attr.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1481 else if (attr.hasAttribute(AttributeList::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
1501 if (attr.hasAttribute(AttributeList::ReturnIndex, Attribute::InReg)) in GetReturnInfo()
1505 if (attr.hasAttribute(AttributeList::ReturnIndex, Attribute::SExt)) in GetReturnInfo()
1507 else if (attr.hasAttribute(AttributeList::ReturnIndex, Attribute::ZExt)) in GetReturnInfo()
DAnalysis.cpp566 AttrBuilder CallerAttrs(F->getAttributes(), AttributeList::ReturnIndex); in attributesPermitTailCall()
568 AttributeList::ReturnIndex); in attributesPermitTailCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp433 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in promoteCall()
DBuildLibCalls.cpp76 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NoAlias)) in setRetDoesNotAlias()
78 F.addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias); in setRetDoesNotAlias()
110 if (F.hasAttribute(AttributeList::ReturnIndex, Attribute::NonNull)) in setRetNonNull()
112 F.addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in setRetNonNull()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DValue.cpp627 DerefBytes = Call->getDereferenceableBytes(AttributeList::ReturnIndex); in getPointerDereferenceableBytes()
630 Call->getDereferenceableOrNullBytes(AttributeList::ReturnIndex); in getPointerDereferenceableBytes()
DAsmWriter.cpp3453 if (Attrs.hasAttributes(AttributeList::ReturnIndex)) in printFunction()
3454 Out << Attrs.getAsString(AttributeList::ReturnIndex) << ' '; in printFunction()
3860 if (PAL.hasAttributes(AttributeList::ReturnIndex)) in printInstruction()
3861 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex); in printInstruction()
3905 if (PAL.hasAttributes(AttributeList::ReturnIndex)) in printInstruction()
3906 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex); in printInstruction()
3948 if (PAL.hasAttributes(AttributeList::ReturnIndex)) in printInstruction()
3949 Out << ' ' << PAL.getAsString(AttributeList::ReturnIndex); in printInstruction()
DAttributes.cpp1294 return getAttributes(ReturnIndex); in getRetAttributes()
1352 return getAttributes(ReturnIndex).getAlignment(); in getRetAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.h201 ReturnIndex = 0U, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4153 II->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull); in visitCallInst()
4362 Call.addAttribute(AttributeList::ReturnIndex, in annotateAnyAllocSite()
4366 Call.addAttribute(AttributeList::ReturnIndex, in annotateAnyAllocSite()
4370 Call.addAttribute(AttributeList::ReturnIndex, in annotateAnyAllocSite()
4378 Call.addAttribute(AttributeList::ReturnIndex, in annotateAnyAllocSite()
4386 Call.addAttribute(AttributeList::ReturnIndex, in annotateAnyAllocSite()
4392 AttributeList::ReturnIndex, in annotateAnyAllocSite()
4587 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
4694 AttrBuilder RAttrs(CallerPAL, AttributeList::ReturnIndex); in transformConstExprCastCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallLowering.cpp210 setArgFlags(CurArgInfo, AttributeList::ReturnIndex, DL, F); in lowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp60 setArgFlags(Info.OrigRet, AttributeList::ReturnIndex, DL, CS); in lowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1573 AttributeList::get(GCResult->getContext(), AttributeList::ReturnIndex, in makeStatepointExplicitImpl()
2409 RemoveNonValidAttrAtIndex(Ctx, F, AttributeList::ReturnIndex); in stripNonValidAttributesFromPrototype()
2480 RemoveNonValidAttrAtIndex(Ctx, *Call, AttributeList::ReturnIndex); in stripNonValidDataFromBody()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallLowering.cpp253 setArgFlags(OrigRetInfo, AttributeList::ReturnIndex, DL, F); in lowerReturnVal()

12