Home
last modified time | relevance | path

Searched refs:getArgument (Results 1 – 25 of 55) sorted by relevance

123

/NextBSD/contrib/llvm/include/llvm/IR/
HDStatepoint.h101 return cast<ConstantInt>(getCallSite().getArgument(FlagsPos)) in getFlags()
107 const Value *IDVal = getCallSite().getArgument(IDPos); in getID()
113 const Value *NumPatchBytesVal = getCallSite().getArgument(NumPatchBytesPos); in getNumPatchBytes()
122 return getCallSite().getArgument(CalledFunctionPos); in getCalledValue()
154 const Value *NumCallArgsVal = getCallSite().getArgument(NumCallArgsPos); in getNumCallArgs()
169 ValueTy *getArgument(unsigned Index) { in getArgument() function
321 const Value *Token = RelocateCS.getArgument(0); in isTiedToInvoke()
331 const Value *Token = RelocateCS.getArgument(0); in getStatepoint()
355 return cast<ConstantInt>(RelocateCS.getArgument(1))->getZExtValue(); in getBasePtrIndex()
361 return cast<ConstantInt>(RelocateCS.getArgument(2))->getZExtValue(); in getDerivedPtrIndex()
HDCallSite.h119 ValTy *getArgument(unsigned ArgNo) const { in getArgument() function
/NextBSD/contrib/llvm/lib/Analysis/
HDMemoryLocation.cpp115 const Value *Arg = CS.getArgument(ArgIdx); in getForArgument()
168 if (const ConstantInt *LenCI = dyn_cast<ConstantInt>(CS.getArgument(2))) in getForArgument()
173 return MemoryLocation(CS.getArgument(ArgIdx), UnknownSize, AATags); in getForArgument()
HDMemoryBuiltins.cpp463 APInt Size(IntTyBits, GetStringLength(CS.getArgument(0))); in visitCallSite()
469 ConstantInt *Arg= dyn_cast<ConstantInt>(CS.getArgument(FnData->FstParam)); in visitCallSite()
480 ConstantInt *Arg = dyn_cast<ConstantInt>(CS.getArgument(FnData->FstParam)); in visitCallSite()
489 Arg = dyn_cast<ConstantInt>(CS.getArgument(FnData->SndParam)); in visitCallSite()
686 Value *FirstArg = CS.getArgument(FnData->FstParam); in visitCallSite()
691 Value *SecondArg = CS.getArgument(FnData->SndParam); in visitCallSite()
HDLint.cpp325 visitMemoryReference(I, CS.getArgument(0), MemoryLocation::UnknownSize, 0, in visitCallSite()
329 visitMemoryReference(I, CS.getArgument(0), MemoryLocation::UnknownSize, 0, in visitCallSite()
331 visitMemoryReference(I, CS.getArgument(1), MemoryLocation::UnknownSize, 0, in visitCallSite()
335 visitMemoryReference(I, CS.getArgument(0), MemoryLocation::UnknownSize, 0, in visitCallSite()
343 visitMemoryReference(I, CS.getArgument(0), MemoryLocation::UnknownSize, 0, in visitCallSite()
/NextBSD/contrib/llvm/tools/llvm-diff/
HDDiffConsumer.cpp179 case 'l': printValue(Log.getArgument(arg++), true); break; in logf()
180 case 'r': printValue(Log.getArgument(arg++), false); break; in logf()
HDDiffLog.cpp29 Value *LogBuilder::getArgument(unsigned I) const { return Arguments[I]; } in getArgument() function in LogBuilder
HDDifferenceEngine.cpp237 if (!equivalentAsOperands(L.getArgument(I), R.getArgument(I))) { in diffCallSites()
240 << L.getArgument(I) << R.getArgument(I); in diffCallSites()
HDDiffLog.h53 Value *getArgument(unsigned I) const;
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDIPConstantPropagation.cpp244 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
269 New = CS.getArgument(A->getArgNo()); in PropagateConstantReturn()
HDDeadArgumentElimination.cpp374 Value *Arg = CS.getArgument(ArgNo); in RemoveDeadArgumentsFromCallers()
498 assert(CS.getArgument(ArgNo) in SurveyUse()
HDArgumentPromotion.cpp343 if (!isDereferenceablePointer(CS.getArgument(ArgNo), DL)) in AllCallersPassInValidPointerForArgument()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDTemplateBase.cpp556 Dependent = Dependent || Info[i].getArgument().isDependent(); in initializeFrom()
558 Info[i].getArgument().isInstantiationDependent(); in initializeFrom()
561 Info[i].getArgument().containsUnexpandedParameterPack(); in initializeFrom()
HDTypePrinter.cpp1454 if (Args[Arg].getArgument().getKind() == TemplateArgument::Pack) { in PrintTemplateArgumentList()
1456 Args[Arg].getArgument().pack_begin(), in PrintTemplateArgumentList()
1457 Args[Arg].getArgument().pack_size(), in PrintTemplateArgumentList()
1460 Args[Arg].getArgument().print(Policy, ArgOS); in PrintTemplateArgumentList()
HDComment.cpp291 if (MaybeFunction.getArgument().getKind() != TemplateArgument::Type) in fill()
/NextBSD/contrib/llvm/lib/IR/
HDVerifier.cpp1541 const Value *IDV = CS.getArgument(0); in VerifyStatepoint()
1545 const Value *NumPatchBytesV = CS.getArgument(1); in VerifyStatepoint()
1556 const Value *Target = CS.getArgument(2); in VerifyStatepoint()
1568 const Value *NumCallArgsV = CS.getArgument(3); in VerifyStatepoint()
1592 const Value *FlagsV = CS.getArgument(4); in VerifyStatepoint()
1603 Type *ArgType = CS.getArgument(5 + i)->getType(); in VerifyStatepoint()
1612 const Value *NumTransitionArgsV = CS.getArgument(EndCallArgsInx+1); in VerifyStatepoint()
1623 const Value *NumDeoptArgsV = CS.getArgument(EndTransitionArgsInx+1); in VerifyStatepoint()
2234 Assert(CS.getArgument(i)->getType() == FTy->getParamType(i), in VerifyCallSite()
2236 CS.getArgument(i), FTy->getParamType(i), I); in VerifyCallSite()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDMemCpyOptimizer.cpp699 if (CS.getArgument(i) == cpySrc && !CS.doesNotCapture(i)) in performCallSlotOptzn()
724 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn()
729 if (CS.getArgument(i)->getType() == Dest->getType()) in performCallSlotOptzn()
733 CS.getArgument(i)->getType(), Dest->getName(), C)); in performCallSlotOptzn()
1075 Value *ByValArg = CS.getArgument(ArgNo); in processByValArgument()
HDDeadStoreElimination.cpp312 return CS.getArgument(0); in getStoredPointerOperand()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaTemplateVariadic.cpp160 if (ArgLoc.getArgument().isPackExpansion()) in TraverseTemplateArgumentLoc()
362 if (Arg.getArgument().isNull() || in DiagnoseUnexpandedParameterPack()
363 !Arg.getArgument().containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack()
878 const TemplateArgument &Argument = OrigLoc.getArgument(); in getTemplateArgumentPackExpansionPattern()
HDSemaTemplate.cpp790 if (DefaultArg.getArgument().getAsTemplate().isNull()) { in ActOnTemplateTemplateParameter()
798 DefaultArg.getArgument().getAsTemplate(), in ActOnTemplateTemplateParameter()
3029 const TemplateArgument &Arg = AL.getArgument(); in CheckTemplateTypeArgument()
3308 Param->getDefaultArgument().getArgument().getAsTemplate(), in SubstDefaultTemplateArgument()
3453 switch (Arg.getArgument().getKind()) { in CheckTemplateArgument()
3460 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument()
3467 if (Res.get() != Arg.getArgument().getAsExpr()) { in CheckTemplateArgument()
3481 Converted.push_back(Arg.getArgument()); in CheckTemplateArgument()
3489 = Arg.getArgument().getAsTemplateOrTemplatePattern() in CheckTemplateArgument()
3511 if (Arg.getArgument().getKind() == TemplateArgument::TemplateExpansion){ in CheckTemplateArgument()
[all …]
HDTreeTransform.h2797 switch (Pattern.getArgument().getKind()) { in RebuildPackExpansion()
2810 Pattern.getArgument().getAsTemplate(), in RebuildPackExpansion()
3462 const TemplateArgument &Arg = Input.getArgument(); in TransformTemplateArgument()
3474 DI = InventTypeSourceInfo(Input.getArgument().getAsType()); in TransformTemplateArgument()
3513 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
3595 if (In.getArgument().getKind() == TemplateArgument::Pack) { in TransformTemplateArguments()
3605 In.getArgument().pack_begin()), in TransformTemplateArguments()
3607 In.getArgument().pack_end()), in TransformTemplateArguments()
3614 if (In.getArgument().isPackExpansion()) { in TransformTemplateArguments()
3651 if (Out.getArgument().isNull()) in TransformTemplateArguments()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDTemplateBase.h466 const TemplateArgument &getArgument() const { in getArgument() function
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCallAndMessageChecker.cpp331 SVal Arg = C.getSVal(DE->getArgument()); in checkPreStmt()
HDMallocChecker.cpp978 if (SymbolRef Sym = C.getSVal(DE->getArgument()).getAsSymbol()) in checkPreStmt()
979 checkUseAfterFree(Sym, C, DE->getArgument()); in checkPreStmt()
986 State = FreeMemAux(C, DE->getArgument(), DE, State, in checkPreStmt()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriter.cpp616 Writer.AddTemplateArgumentLocInfo(TL.getArgLoc(i).getArgument().getKind(), in VisitTemplateSpecializationTypeLoc()
644 Writer.AddTemplateArgumentLocInfo(TL.getArgLoc(I).getArgument().getKind(), in VisitDependentTemplateSpecializationTypeLoc()
4874 AddTemplateArgument(Arg.getArgument(), Record); in AddTemplateArgumentLoc()
4876 if (Arg.getArgument().getKind() == TemplateArgument::Expression) { in AddTemplateArgumentLoc()
4878 = Arg.getArgument().getAsExpr() == Arg.getLocInfo().getAsExpr(); in AddTemplateArgumentLoc()
4883 AddTemplateArgumentLocInfo(Arg.getArgument().getKind(), Arg.getLocInfo(), in AddTemplateArgumentLoc()

123