Home
last modified time | relevance | path

Searched refs:paramHasAttr (Results 1 – 25 of 58) sorted by relevance

123

/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h178 return AttributeList.paramHasAttr(~0U, N);
203 bool paramHasAttr(unsigned i, Attributes attr) const {
204 return AttributeList.paramHasAttr(i, attr);
274 return paramHasAttr(1, Attribute::StructRet);
280 return paramHasAttr(n, Attribute::NoAlias);
290 return paramHasAttr(n, Attribute::NoCapture);
DInstructions.h1256 bool paramHasAttr(unsigned i, Attributes attr) const;
1264 bool isNoInline() const { return paramHasAttr(~0, Attribute::NoInline); }
1272 return paramHasAttr(~0, Attribute::ReturnsTwice);
1281 return paramHasAttr(~0, Attribute::ReadNone);
1290 return doesNotAccessMemory() || paramHasAttr(~0, Attribute::ReadOnly);
1298 bool doesNotReturn() const { return paramHasAttr(~0, Attribute::NoReturn); }
1305 bool doesNotThrow() const { return paramHasAttr(~0, Attribute::NoUnwind); }
1315 return paramHasAttr(1, Attribute::StructRet);
2737 bool paramHasAttr(unsigned i, Attributes attr) const;
2745 bool isNoInline() const { return paramHasAttr(~0, Attribute::NoInline); }
[all …]
DAttributes.h244 bool paramHasAttr(unsigned Idx, Attributes Attr) const { in paramHasAttr() function
/external/llvm/include/llvm/IR/
DCallSite.h347 bool paramHasAttr(unsigned i, Attribute::AttrKind Kind) const { in paramHasAttr() function
348 CALLSITE_DELEGATE_GETTER(paramHasAttr(i, Kind)); in paramHasAttr()
540 return paramHasAttr(ArgNo + 1, Attribute::ByVal); in isByValArgument()
545 return paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isInAllocaArgument()
550 return paramHasAttr(ArgNo + 1, Attribute::ByVal) || in isByValOrInAllocaArgument()
551 paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isByValOrInAllocaArgument()
557 return paramHasAttr(arg_size(), Attribute::InAlloca); in hasInAllocaArgument()
573 if (paramHasAttr(0, Attribute::NonNull)) in isReturnNonNull()
DStatepoint.h180 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() function
182 return getCallSite().paramHasAttr(i + CallArgsBeginPos, A) || in paramHasAttr()
/external/llvm/include/llvm/CodeGen/
DFastISel.h104 IsInReg = Call.paramHasAttr(0, Attribute::InReg); in setCallee()
108 RetSExt = Call.paramHasAttr(0, Attribute::SExt); in setCallee()
109 RetZExt = Call.paramHasAttr(0, Attribute::ZExt); in setCallee()
128 IsInReg = Call.paramHasAttr(0, Attribute::InReg);
132 RetSExt = Call.paramHasAttr(0, Attribute::SExt);
133 RetZExt = Call.paramHasAttr(0, Attribute::ZExt);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DCallSite.h377 bool paramHasAttr(unsigned ArgNo, Attribute::AttrKind Kind) const { in paramHasAttr() function
378 CALLSITE_DELEGATE_GETTER(paramHasAttr(ArgNo, Kind)); in paramHasAttr()
599 return paramHasAttr(ArgNo, Attribute::ByVal); in isByValArgument()
604 return paramHasAttr(ArgNo, Attribute::InAlloca); in isInAllocaArgument()
609 return paramHasAttr(ArgNo, Attribute::ByVal) || in isByValOrInAllocaArgument()
610 paramHasAttr(ArgNo, Attribute::InAlloca); in isByValOrInAllocaArgument()
616 return !arg_empty() && paramHasAttr(arg_size() - 1, Attribute::InAlloca); in hasInAllocaArgument()
DStatepoint.h200 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() function
202 return getCallSite().paramHasAttr(i + CallArgsBeginPos, A) || in paramHasAttr()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp80 return getParent()->paramHasAttr(getArgNo()+1, Attribute::ByVal); in hasByValAttr()
93 return getParent()->paramHasAttr(getArgNo()+1, Attribute::Nest); in hasNestAttr()
100 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoAlias); in hasNoAliasAttr()
107 return getParent()->paramHasAttr(getArgNo()+1, Attribute::NoCapture); in hasNoCaptureAttr()
116 return getParent()->paramHasAttr(1, Attribute::StructRet); in hasStructRetAttr()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCallSite.h188 bool paramHasAttr(uint16_t i, Attributes attr) const { in paramHasAttr() function
189 CALLSITE_DELEGATE_GETTER(paramHasAttr(i, attr)); in paramHasAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp43 EXPECT_TRUE(Call->paramHasAttr(1U, Attribute::ByVal)) in TEST()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp57 if (CS.paramHasAttr(1 + i, Attribute::Returned)) { in visitCallSite()
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp45 EXPECT_TRUE(Call->paramHasAttr(2U, Attribute::ByVal)) in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp61 if (CS.paramHasAttr(i, Attribute::Returned)) { in visitCallSite()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DCaptureTracking.cpp89 if (A->get() == V && !CS.paramHasAttr(A - B + 1, Attribute::NoCapture)) in PointerMayBeCaptured()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp83 IsSExt = CS->paramHasAttr(AttrIdx, Attribute::SExt); in setAttributes()
84 IsZExt = CS->paramHasAttr(AttrIdx, Attribute::ZExt); in setAttributes()
85 IsInReg = CS->paramHasAttr(AttrIdx, Attribute::InReg); in setAttributes()
86 IsSRet = CS->paramHasAttr(AttrIdx, Attribute::StructRet); in setAttributes()
87 IsNest = CS->paramHasAttr(AttrIdx, Attribute::Nest); in setAttributes()
88 IsByVal = CS->paramHasAttr(AttrIdx, Attribute::ByVal); in setAttributes()
89 IsInAlloca = CS->paramHasAttr(AttrIdx, Attribute::InAlloca); in setAttributes()
90 IsReturned = CS->paramHasAttr(AttrIdx, Attribute::Returned); in setAttributes()
91 IsSwiftSelf = CS->paramHasAttr(AttrIdx, Attribute::SwiftSelf); in setAttributes()
92 IsSwiftError = CS->paramHasAttr(AttrIdx, Attribute::SwiftError); in setAttributes()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp392 if (PAL.paramHasAttr(Idx, Attribute::ByVal)) { in printStructReturnPointerFunctionType()
397 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), ""); in printStructReturnPointerFunctionType()
409 /*isSigned=*/PAL.paramHasAttr(0, Attribute::SExt), FunctionInnards.str()); in printStructReturnPointerFunctionType()
484 if (PAL.paramHasAttr(Idx, Attribute::ByVal)) { in printType()
491 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), ""); in printType()
503 /*isSigned=*/PAL.paramHasAttr(0, Attribute::SExt), FunctionInnards.str()); in printType()
2157 if (PAL.paramHasAttr(Idx, Attribute::ByVal)) { in printFunctionSignature()
2162 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt), in printFunctionSignature()
2184 if (PAL.paramHasAttr(Idx, Attribute::ByVal)) { in printFunctionSignature()
2189 /*isSigned=*/PAL.paramHasAttr(Idx, Attribute::SExt)); in printFunctionSignature()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FastISel.cpp1573 if (CS.paramHasAttr(AttrInd, Attribute::SExt)) in DoSelectCall()
1575 if (CS.paramHasAttr(AttrInd, Attribute::ZExt)) in DoSelectCall()
1578 if (CS.paramHasAttr(AttrInd, Attribute::ByVal)) { in DoSelectCall()
1592 if (CS.paramHasAttr(AttrInd, Attribute::InReg)) in DoSelectCall()
1594 if (CS.paramHasAttr(AttrInd, Attribute::Nest)) in DoSelectCall()
1837 if (!Subtarget->is64Bit() && CS.paramHasAttr(1, Attribute::StructRet)) in DoSelectCall()
1855 if (CS.paramHasAttr(0, Attribute::SExt)) in DoSelectCall()
1857 if (CS.paramHasAttr(0, Attribute::ZExt)) in DoSelectCall()
1859 if (CS.paramHasAttr(0, Attribute::InReg)) in DoSelectCall()
/external/llvm/lib/Analysis/
DInlineCost.cpp149 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr);
562 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr() function in CallAnalyzer
564 return CandidateCS.paramHasAttr(ArgNo + 1, Attr); in paramHasAttr()
574 if (paramHasAttr(A, Attribute::NonNull)) in isKnownNonNullInCallee()
/external/llvm/lib/CodeGen/
DAnalysis.cpp280 if (cast<CallInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput()
291 if (cast<InvokeInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMFastISel.cpp1928 if (CS.paramHasAttr(AttrInd, Attribute::SExt)) in SelectCall()
1930 if (CS.paramHasAttr(AttrInd, Attribute::ZExt)) in SelectCall()
1934 if (CS.paramHasAttr(AttrInd, Attribute::InReg) || in SelectCall()
1935 CS.paramHasAttr(AttrInd, Attribute::StructRet) || in SelectCall()
1936 CS.paramHasAttr(AttrInd, Attribute::Nest) || in SelectCall()
1937 CS.paramHasAttr(AttrInd, Attribute::ByVal)) in SelectCall()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1182 if (F->paramHasAttr(0, Attribute::SExt)) in visitRet()
1184 else if (F->paramHasAttr(0, Attribute::ZExt)) in visitRet()
1199 if (F->paramHasAttr(0, Attribute::InReg)) in visitRet()
5189 Entry.isSExt = CS.paramHasAttr(attrInd, Attribute::SExt); in LowerCallTo()
5190 Entry.isZExt = CS.paramHasAttr(attrInd, Attribute::ZExt); in LowerCallTo()
5191 Entry.isInReg = CS.paramHasAttr(attrInd, Attribute::InReg); in LowerCallTo()
5192 Entry.isSRet = CS.paramHasAttr(attrInd, Attribute::StructRet); in LowerCallTo()
5193 Entry.isNest = CS.paramHasAttr(attrInd, Attribute::Nest); in LowerCallTo()
5194 Entry.isByVal = CS.paramHasAttr(attrInd, Attribute::ByVal); in LowerCallTo()
5234 CS.paramHasAttr(0, Attribute::SExt), in LowerCallTo()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2336 if (CS.paramHasAttr(AttrInd, Attribute::SExt)) in SelectCall()
2338 if (CS.paramHasAttr(AttrInd, Attribute::ZExt)) in SelectCall()
2342 if (CS.paramHasAttr(AttrInd, Attribute::InReg) || in SelectCall()
2343 CS.paramHasAttr(AttrInd, Attribute::StructRet) || in SelectCall()
2344 CS.paramHasAttr(AttrInd, Attribute::SwiftSelf) || in SelectCall()
2345 CS.paramHasAttr(AttrInd, Attribute::SwiftError) || in SelectCall()
2346 CS.paramHasAttr(AttrInd, Attribute::Nest) || in SelectCall()
2347 CS.paramHasAttr(AttrInd, Attribute::ByVal)) in SelectCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMFastISel.cpp2361 if (CS.paramHasAttr(ArgIdx, Attribute::SExt)) in SelectCall()
2363 if (CS.paramHasAttr(ArgIdx, Attribute::ZExt)) in SelectCall()
2367 if (CS.paramHasAttr(ArgIdx, Attribute::InReg) || in SelectCall()
2368 CS.paramHasAttr(ArgIdx, Attribute::StructRet) || in SelectCall()
2369 CS.paramHasAttr(ArgIdx, Attribute::SwiftSelf) || in SelectCall()
2370 CS.paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall()
2371 CS.paramHasAttr(ArgIdx, Attribute::Nest) || in SelectCall()
2372 CS.paramHasAttr(ArgIdx, Attribute::ByVal)) in SelectCall()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DFunctionAttrs.cpp306 if (CS.paramHasAttr(0, Attribute::NoAlias)) in IsFunctionMallocLike()

123