Home
last modified time | relevance | path

Searched refs:ArgAttrs (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp413 AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() local
414 ArgAttrs.remove(AttributeFuncs::typeIncompatible(FormalTy)); in promoteCall()
418 if (ArgAttrs.getByValType()) { in promoteCall()
420 ArgAttrs.addByValAttr( in promoteCall()
424 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall()
DInlineFunction.cpp1920 SmallVector<AttributeSet, 8> ArgAttrs; in InlineFunction() local
1924 ArgAttrs.push_back(Attrs.getParamAttributes(ArgNo)); in InlineFunction()
1928 ArgAttrs.append(VarArgsAttrs.begin(), VarArgsAttrs.end()); in InlineFunction()
1930 Attrs.getRetAttributes(), ArgAttrs); in InlineFunction()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions.h79 const std::vector<const FunctionDef::ArgAttrs*>& arg_attr() const;
99 std::vector<const FunctionDef::ArgAttrs*> arg_attr,
111 std::vector<const FunctionDef::ArgAttrs*> arg_attr_;
Dfunctions.cc41 std::vector<const FunctionDef::ArgAttrs*> arg_attr, in GrapplerFunctionItem()
113 const std::vector<const FunctionDef::ArgAttrs*>&
288 std::vector<const FunctionDef::ArgAttrs*> arg_attr(inputs.size(), nullptr); in MakeGrapplerFunctionItem()
Dfunctions_test.cc529 FunctionDef::ArgAttrs arg_attr; in TEST_F()
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp28 AttributeSet ArgAttrs[2] = { in TEST() local
33 F->setAttributes(AttributeList::get(Context, FnAttrs, RetAttrs, ArgAttrs)); in TEST()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp492 AttrBuilder ArgAttrs(CallerPAL.getParamAttributes(ArgNo)); in promoteCall() local
493 ArgAttrs.remove(AttributeFuncs::typeIncompatible(FormalTy)); in promoteCall()
497 if (ArgAttrs.getByValType()) { in promoteCall()
499 ArgAttrs.addByValAttr( in promoteCall()
503 NewArgAttrs.push_back(AttributeSet::get(Ctx, ArgAttrs)); in promoteCall()
DInlineFunction.cpp1981 SmallVector<AttributeSet, 8> ArgAttrs; in InlineFunction() local
1985 ArgAttrs.push_back(Attrs.getParamAttributes(ArgNo)); in InlineFunction()
1989 ArgAttrs.append(VarArgsAttrs.begin(), VarArgsAttrs.end()); in InlineFunction()
1991 Attrs.getRetAttributes(), ArgAttrs); in InlineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp1041 ArrayRef<AttributeSet> ArgAttrs) { in get() argument
1046 for (size_t I = ArgAttrs.size(); I != 0; --I) { in get()
1047 if (ArgAttrs[I - 1].hasAttributes()) { in get()
1073 ArgAttrs = ArgAttrs.take_front(NumSets - 2); in get()
1074 AttrSets.insert(AttrSets.end(), ArgAttrs.begin(), ArgAttrs.end()); in get()
DVerifier.cpp1726 AttributeSet ArgAttrs = Attrs.getParamAttributes(i); in verifyFunctionAttrs() local
1729 Assert(!ArgAttrs.hasAttribute(Attribute::ImmArg), in verifyFunctionAttrs()
1733 verifyParameterAttrs(ArgAttrs, Ty, V); in verifyFunctionAttrs()
1735 if (ArgAttrs.hasAttribute(Attribute::Nest)) { in verifyFunctionAttrs()
1740 if (ArgAttrs.hasAttribute(Attribute::Returned)) { in verifyFunctionAttrs()
1749 if (ArgAttrs.hasAttribute(Attribute::StructRet)) { in verifyFunctionAttrs()
1756 if (ArgAttrs.hasAttribute(Attribute::SwiftSelf)) { in verifyFunctionAttrs()
1761 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
1767 if (ArgAttrs.hasAttribute(Attribute::InAlloca)) { in verifyFunctionAttrs()
2029 AttributeSet ArgAttrs = Attrs.getParamAttributes(5 + i); in verifyStatepoint() local
[all …]
/external/tensorflow/tensorflow/core/framework/
Dfunction.proto37 message ArgAttrs { message
40 map<uint32, ArgAttrs> arg_attr = 7;
Dfunction_test.cc1488 TEST(InstantiateFunctionTest, ArgAttrs) { in TEST() argument
1513 FunctionDef::ArgAttrs arg_attrs; in TEST()
1574 FunctionDef::ArgAttrs arg_attrs; in TEST()
Dgraph_to_functiondef.cc429 FunctionDef::ArgAttrs arg_attrs; in GraphToFunctionDef()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp1166 ArrayRef<AttributeSet> ArgAttrs) { in get() argument
1171 for (size_t I = ArgAttrs.size(); I != 0; --I) { in get()
1172 if (ArgAttrs[I - 1].hasAttributes()) { in get()
1198 ArgAttrs = ArgAttrs.take_front(NumSets - 2); in get()
1199 AttrSets.insert(AttrSets.end(), ArgAttrs.begin(), ArgAttrs.end()); in get()
DVerifier.cpp1850 AttributeSet ArgAttrs = Attrs.getParamAttributes(i); in verifyFunctionAttrs() local
1853 Assert(!ArgAttrs.hasAttribute(Attribute::ImmArg), in verifyFunctionAttrs()
1857 verifyParameterAttrs(ArgAttrs, Ty, V); in verifyFunctionAttrs()
1859 if (ArgAttrs.hasAttribute(Attribute::Nest)) { in verifyFunctionAttrs()
1864 if (ArgAttrs.hasAttribute(Attribute::Returned)) { in verifyFunctionAttrs()
1873 if (ArgAttrs.hasAttribute(Attribute::StructRet)) { in verifyFunctionAttrs()
1880 if (ArgAttrs.hasAttribute(Attribute::SwiftSelf)) { in verifyFunctionAttrs()
1885 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs()
1891 if (ArgAttrs.hasAttribute(Attribute::InAlloca)) { in verifyFunctionAttrs()
2153 AttributeSet ArgAttrs = Attrs.getParamAttributes(5 + i); in verifyStatepoint() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp189 SmallVector<AttributeSet, 8> ArgAttrs; in DeleteDeadVarargs() local
191 ArgAttrs.push_back(PAL.getParamAttributes(ArgNo)); in DeleteDeadVarargs()
193 PAL.getRetAttributes(), ArgAttrs); in DeleteDeadVarargs()
/external/llvm-project/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp189 SmallVector<AttributeSet, 8> ArgAttrs; in DeleteDeadVarargs() local
191 ArgAttrs.push_back(PAL.getParamAttributes(ArgNo)); in DeleteDeadVarargs()
193 PAL.getRetAttributes(), ArgAttrs); in DeleteDeadVarargs()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp2278 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall() local
2280 ArgAttrs.reserve(NumActualArgs); in transformConstExprCastCall()
2303 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); in transformConstExprCastCall()
2305 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
2312 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall()
2332 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
2342 assert((ArgAttrs.size() == FT->getNumParams() || FT->isVarArg()) && in transformConstExprCastCall()
2345 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp4689 SmallVector<AttributeSet, 8> ArgAttrs; in transformConstExprCastCall() local
4691 ArgAttrs.reserve(NumActualArgs); in transformConstExprCastCall()
4714 ArgAttrs.push_back(AttributeSet::get(Ctx, AB)); in transformConstExprCastCall()
4716 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
4723 ArgAttrs.push_back(AttributeSet()); in transformConstExprCastCall()
4743 ArgAttrs.push_back(CallerPAL.getParamAttributes(i)); in transformConstExprCastCall()
4753 assert((ArgAttrs.size() == FT->getNumParams() || FT->isVarArg()) && in transformConstExprCastCall()
4756 Ctx, FnAttrs, AttributeSet::get(Ctx, RAttrs), ArgAttrs); in transformConstExprCastCall()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h367 ArrayRef<AttributeSet> ArgAttrs);
/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp2137 SmallVector<llvm::AttributeSet, 4> ArgAttrs(IRFunctionArgs.totalIRArgs()); in ConstructAttributeList() local
2147 ArgAttrs[IRFunctionArgs.getSRetArgNo()] = in ConstructAttributeList()
2155 ArgAttrs[IRFunctionArgs.getInallocaArgNo()] = in ConstructAttributeList()
2186 ArgAttrs[IRArgs.first] = llvm::AttributeSet::get(getLLVMContext(), Attrs); in ConstructAttributeList()
2200 ArgAttrs[IRFunctionArgs.getPaddingArgNo(ArgNo)] = in ConstructAttributeList()
2340 ArgAttrs[FirstIRArg + i] = in ConstructAttributeList()
2348 llvm::AttributeSet::get(getLLVMContext(), RetAttrs), ArgAttrs); in ConstructAttributeList()
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h395 ArrayRef<AttributeSet> ArgAttrs);
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc691 FunctionDef::ArgAttrs func_def_arg_i_attrs; in ConvertLibFunction()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp2606 AttrBuilder ArgAttrs; in parseParameterList() local
2616 if (parseOptionalParamAttrs(ArgAttrs) || parseValue(ArgTy, V, PFS)) in parseParameterList()
2620 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in parseParameterList()
6468 SmallVector<AttributeSet, 8> ArgAttrs; in parseInvoke() local
6486 ArgAttrs.push_back(ArgList[i].Attrs); in parseInvoke()
6498 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseInvoke()
6794 SmallVector<AttributeSet, 8> ArgAttrs; in parseCallBr() local
6812 ArgAttrs.push_back(ArgList[i].Attrs); in parseCallBr()
6824 AttributeSet::get(Context, RetAttrs), ArgAttrs); in parseCallBr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp2461 AttrBuilder ArgAttrs; in ParseParameterList() local
2471 if (ParseOptionalParamAttrs(ArgAttrs) || ParseValue(ArgTy, V, PFS)) in ParseParameterList()
2475 ArgLoc, V, AttributeSet::get(V->getContext(), ArgAttrs))); in ParseParameterList()
6097 SmallVector<AttributeSet, 8> ArgAttrs; in ParseInvoke() local
6115 ArgAttrs.push_back(ArgList[i].Attrs); in ParseInvoke()
6127 AttributeSet::get(Context, RetAttrs), ArgAttrs); in ParseInvoke()
6427 SmallVector<AttributeSet, 8> ArgAttrs; in ParseCallBr() local
6445 ArgAttrs.push_back(ArgList[i].Attrs); in ParseCallBr()
6457 AttributeSet::get(Context, RetAttrs), ArgAttrs); in ParseCallBr()

12