Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DCallSite.h263 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() function
264 CALLSITE_DELEGATE_GETTER(paramHasAttr(i, A)); in paramHasAttr()
409 return paramHasAttr(ArgNo + 1, Attribute::ByVal); in isByValArgument()
414 return paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isInAllocaArgument()
419 return paramHasAttr(ArgNo + 1, Attribute::ByVal) || in isByValOrInAllocaArgument()
420 paramHasAttr(ArgNo + 1, Attribute::InAlloca); in isByValOrInAllocaArgument()
426 return paramHasAttr(arg_size(), Attribute::InAlloca); in hasInAllocaArgument()
442 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()
DInstructions.h1638 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
1756 return paramHasAttr(1, Attribute::StructRet);
3554 bool paramHasAttr(unsigned i, Attribute::AttrKind A) const;
3661 return paramHasAttr(1, Attribute::StructRet);
/external/llvm/include/llvm/CodeGen/
DFastISel.h100 IsInReg = Call.paramHasAttr(0, Attribute::InReg); in setCallee()
104 RetSExt = Call.paramHasAttr(0, Attribute::SExt); in setCallee()
105 RetZExt = Call.paramHasAttr(0, Attribute::ZExt); in setCallee()
124 IsInReg = Call.paramHasAttr(0, Attribute::InReg);
128 RetSExt = Call.paramHasAttr(0, Attribute::SExt);
129 RetZExt = Call.paramHasAttr(0, Attribute::ZExt);
/external/llvm/unittests/ExecutionEngine/Orc/
DIndirectionUtilsTest.cpp44 EXPECT_TRUE(Call->paramHasAttr(2U, Attribute::ByVal)) in TEST()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyOptimizeReturned.cpp57 if (CS.paramHasAttr(1 + i, Attribute::Returned)) { in visitCallSite()
/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()
DTargetLowering.cpp72 isSExt = CS->paramHasAttr(AttrIdx, Attribute::SExt); in setAttributes()
73 isZExt = CS->paramHasAttr(AttrIdx, Attribute::ZExt); in setAttributes()
74 isInReg = CS->paramHasAttr(AttrIdx, Attribute::InReg); in setAttributes()
75 isSRet = CS->paramHasAttr(AttrIdx, Attribute::StructRet); in setAttributes()
76 isNest = CS->paramHasAttr(AttrIdx, Attribute::Nest); in setAttributes()
77 isByVal = CS->paramHasAttr(AttrIdx, Attribute::ByVal); in setAttributes()
78 isInAlloca = CS->paramHasAttr(AttrIdx, Attribute::InAlloca); in setAttributes()
79 isReturned = CS->paramHasAttr(AttrIdx, Attribute::Returned); in setAttributes()
/external/llvm/lib/Analysis/
DInlineCost.cpp119 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr);
517 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { in paramHasAttr() function in CallAnalyzer
519 return CandidateCS.paramHasAttr(ArgNo+1, Attr); in paramHasAttr()
529 if (paramHasAttr(A, Attribute::NonNull)) in isKnownNonNullInCallee()
DAliasAnalysis.cpp545 return CS.paramHasAttr(0, Attribute::NoAlias); in isNoAliasCall()
DBasicAliasAnalysis.cpp619 if (CS.paramHasAttr(ArgIdx + 1, Attribute::ReadOnly)) in getArgModRefInfo()
622 if (CS.paramHasAttr(ArgIdx + 1, Attribute::ReadNone)) in getArgModRefInfo()
/external/llvm/lib/CodeGen/
DAnalysis.cpp281 if (cast<CallInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput()
292 if (cast<InvokeInst>(I)->paramHasAttr(attrInd, Attribute::Returned) && in getNoopInput()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp316 if (Type && !CS.paramHasAttr(ArgNo + 1, Attribute::NonNull) && in processCallSite()
/external/llvm/include/llvm/Target/
DTargetLowering.h2392 IsInReg = Call.paramHasAttr(0, Attribute::InReg); in setCallee()
2396 RetSExt = Call.paramHasAttr(0, Attribute::SExt); in setCallee()
2397 RetZExt = Call.paramHasAttr(0, Attribute::ZExt); in setCallee()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp2337 if (CS.paramHasAttr(AttrInd, Attribute::SExt)) in SelectCall()
2339 if (CS.paramHasAttr(AttrInd, Attribute::ZExt)) in SelectCall()
2343 if (CS.paramHasAttr(AttrInd, Attribute::InReg) || in SelectCall()
2344 CS.paramHasAttr(AttrInd, Attribute::StructRet) || in SelectCall()
2345 CS.paramHasAttr(AttrInd, Attribute::Nest) || in SelectCall()
2346 CS.paramHasAttr(AttrInd, Attribute::ByVal)) in SelectCall()
/external/llvm/lib/IR/
DInstructions.cpp348 bool CallInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() function in CallInst
370 return paramHasAttr(i, A); in dataOperandHasImpliedAttr()
626 bool InvokeInst::paramHasAttr(unsigned i, Attribute::AttrKind A) const { in paramHasAttr() function in InvokeInst
647 return paramHasAttr(i, A); in dataOperandHasImpliedAttr()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp769 if (CS.paramHasAttr(0, Attribute::NoAlias)) in isFunctionMallocLike()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2477 if (CS.paramHasAttr(i + 1, Attribute::ByVal)) { in visitCallSite()
2814 bool IsByVal = CS.paramHasAttr(ArgNo + 1, Attribute::ByVal); in visitCallSite()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp2822 if (CS->arg_empty() || !CS->paramHasAttr(1, Attribute::StructRet) || in computeBytesPoppedByCallee()
2823 CS->paramHasAttr(1, Attribute::InReg)) in computeBytesPoppedByCallee()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1949 if (V->getType()->isPointerTy() && !CS.paramHasAttr(ArgNo+1, Attribute::NonNull) && in visitCallSite()