/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 178 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);
|
D | Instructions.h | 1256 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 …]
|
D | Attributes.h | 244 bool paramHasAttr(unsigned Idx, Attributes Attr) const { in paramHasAttr() function
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 347 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()
|
D | Statepoint.h | 180 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/ |
D | FastISel.h | 104 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/lib/VMCore/ |
D | Function.cpp | 80 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/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyOptimizeReturned.cpp | 57 if (CS.paramHasAttr(1 + i, Attribute::Returned)) { in visitCallSite()
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | IndirectionUtilsTest.cpp | 45 EXPECT_TRUE(Call->paramHasAttr(2U, Attribute::ByVal)) in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | CallSite.h | 188 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/lib/Analysis/ |
D | CaptureTracking.cpp | 89 if (A->get() == V && !CS.paramHasAttr(A - B + 1, Attribute::NoCapture)) in PointerMayBeCaptured()
|
D | AliasAnalysis.cpp | 421 .paramHasAttr(0, Attribute::NoAlias); in isNoAliasCall()
|
D | BasicAliasAnalysis.cpp | 709 (!CS.paramHasAttr(ArgNo+1, Attribute::NoCapture) && in getModRefInfo() 710 !CS.paramHasAttr(ArgNo+1, Attribute::ByVal))) in getModRefInfo()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 83 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()
|
D | TargetLowering.cpp | 101 isSExt = CS->paramHasAttr(AttrIdx, Attribute::SExt); in setAttributes() 102 isZExt = CS->paramHasAttr(AttrIdx, Attribute::ZExt); in setAttributes() 103 isInReg = CS->paramHasAttr(AttrIdx, Attribute::InReg); in setAttributes() 104 isSRet = CS->paramHasAttr(AttrIdx, Attribute::StructRet); in setAttributes() 105 isNest = CS->paramHasAttr(AttrIdx, Attribute::Nest); in setAttributes() 106 isByVal = CS->paramHasAttr(AttrIdx, Attribute::ByVal); in setAttributes() 107 isInAlloca = CS->paramHasAttr(AttrIdx, Attribute::InAlloca); in setAttributes() 108 isReturned = CS->paramHasAttr(AttrIdx, Attribute::Returned); in setAttributes() 109 isSwiftSelf = CS->paramHasAttr(AttrIdx, Attribute::SwiftSelf); in setAttributes() 110 isSwiftError = CS->paramHasAttr(AttrIdx, Attribute::SwiftError); in setAttributes()
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 392 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/ |
D | X86FastISel.cpp | 1573 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/ |
D | InlineCost.cpp | 149 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()
|
D | BasicAliasAnalysis.cpp | 613 if (CS.paramHasAttr(ArgIdx + 1, Attribute::WriteOnly)) in isWriteOnlyParam() 642 if (CS.paramHasAttr(ArgIdx + 1, Attribute::ReadOnly)) in getArgModRefInfo() 645 if (CS.paramHasAttr(ArgIdx + 1, Attribute::ReadNone)) in getArgModRefInfo()
|
/external/llvm/lib/CodeGen/ |
D | Analysis.cpp | 280 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/ |
D | ARMFastISel.cpp | 1928 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/Transforms/IPO/ |
D | FunctionAttrs.cpp | 306 if (CS.paramHasAttr(0, Attribute::NoAlias)) in IsFunctionMallocLike()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1182 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/ |
D | ARMFastISel.cpp | 2336 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/llvm/lib/Transforms/Scalar/ |
D | CorrelatedValuePropagation.cpp | 307 if (Type && !CS.paramHasAttr(ArgNo + 1, Attribute::NonNull) && in processCallSite()
|