Home
last modified time | relevance | path

Searched refs:VAList (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DValistChecker.cpp141 const MemRegion *VAList = in checkPreCall() local
144 if (!VAList) in checkPreCall()
193 const MemRegion *VAList = in checkPreStmt() local
195 if (!VAList) in checkPreStmt()
260 R->markInteresting(VAList); in reportUninitializedAccess()
312 const MemRegion *VAList = in checkVAListStartCall() local
314 if (!VAList) in checkVAListStartCall()
324 RegionVector LeakedVALists{VAList}; in checkVAListStartCall()
345 RegionVector LeakedVALists{VAList}; in checkVAListStartCall()
359 const MemRegion *VAList = in checkVAListEndCall() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DBuildLibCalls.h184 Value *emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList,
188 Value *emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, IRBuilderBase &B,
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEISelLowering.cpp1580 SDValue VAList = in lowerVAARG() local
1582 SDValue Chain = VAList.getValue(1); in lowerVAARG()
1590 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in lowerVAARG()
1592 VAList = DAG.getNode(ISD::AND, DL, PtrVT, VAList, in lowerVAARG()
1596 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(16, DL)); in lowerVAARG()
1605 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(8, DL)); in lowerVAARG()
1608 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in lowerVAARG()
1613 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(8, DL)); in lowerVAARG()
1621 return DAG.getLoad(VT, DL, InChain, VAList, MachinePointerInfo(), in lowerVAARG()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1627 Value *llvm::emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, in emitVSNPrintf() argument
1631 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy(), VAList->getType()}, in emitVSNPrintf()
1632 {castToCStr(Dest, B), Size, castToCStr(Fmt, B), VAList}, B, TLI); in emitVSNPrintf()
1635 Value *llvm::emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, in emitVSPrintf() argument
1638 {B.getInt8PtrTy(), B.getInt8PtrTy(), VAList->getType()}, in emitVSPrintf()
1639 {castToCStr(Dest, B), castToCStr(Fmt, B), VAList}, B, TLI); in emitVSPrintf()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp2279 SDValue VAList = VAListLoad; in lowerVAARG() local
2289 VAList = DAG.getNode( in lowerVAARG()
2290 ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG()
2291 DAG.getConstant(Align.value() - 1, DL, VAList.getValueType())); in lowerVAARG()
2293 VAList = DAG.getNode( in lowerVAARG()
2294 ISD::AND, DL, VAList.getValueType(), VAList, in lowerVAARG()
2295 DAG.getConstant(-(int64_t)Align.value(), DL, VAList.getValueType())); in lowerVAARG()
2303 DAG.getNode(ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG()
2305 DL, VAList.getValueType())); in lowerVAARG()
2317 VAList = DAG.getNode(ISD::ADD, DL, VAListPtr.getValueType(), VAList, in lowerVAARG()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1770 GenericValue VAList = getOperandValue(I.getOperand(0), SF); in visitVAArgInst() local
1772 GenericValue Src = ECStack[VAList.UIntPairVal.first] in visitVAArgInst()
1773 .VarArgs[VAList.UIntPairVal.second]; in visitVAArgInst()
1791 ++VAList.UIntPairVal.second; in visitVAArgInst()
/llvm-project-15.0.7/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp743 SDValue VAList = in LowerVAARG() local
746 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG()
750 InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr, in LowerVAARG()
753 return DAG.getLoad(VT, dl, InChain, VAList, MachinePointerInfo()); in LowerVAARG()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2217 SDValue VAList = VAListLoad; in expandVAArg() local
2220 VAList = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg()
2221 getConstant(MA->value() - 1, dl, VAList.getValueType())); in expandVAArg()
2223 VAList = in expandVAArg()
2224 getNode(ISD::AND, dl, VAList.getValueType(), VAList, in expandVAArg()
2225 getConstant(-(int64_t)MA->value(), dl, VAList.getValueType())); in expandVAArg()
2229 Tmp1 = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg()
2232 dl, VAList.getValueType())); in expandVAArg()
2237 return getLoad(VT, dl, Tmp1, VAList, MachinePointerInfo()); in expandVAArg()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2639 SDValue VAList = in LowerVAARG() local
2642 SDValue NextPtr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG()
2646 InChain = DAG.getStore(VAList.getValue(1), DL, NextPtr, VAListPtr, in LowerVAARG()
2651 VT, DL, InChain, VAList, MachinePointerInfo(), in LowerVAARG()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8498 SDValue VAList = Op.getOperand(1); in LowerAAPCS_VASTART() local
8506 MemOps.push_back(DAG.getStore(Chain, DL, Stack, VAList, in LowerAAPCS_VASTART()
8515 GRTopAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART()
8533 VRTopAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART()
8548 SDValue GROffsAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART()
8609 SDValue VAList = in LowerVAARG() local
8611 Chain = VAList.getValue(1); in LowerVAARG()
8612 VAList = DAG.getZExtOrTrunc(VAList, DL, PtrVT); in LowerVAARG()
8619 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG()
8621 VAList = DAG.getNode(ISD::AND, DL, PtrVT, VAList, in LowerVAARG()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DTargetInfo.cpp4805 Address PPC32_SVR4_ABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAList, in EmitVAArg() argument
4812 return emitVoidPtrVAArg(CGF, VAList, Ty, in EmitVAArg()
4845 NumRegsAddr = Builder.CreateStructGEP(VAList, 0, "gpr"); in EmitVAArg()
4847 NumRegsAddr = Builder.CreateStructGEP(VAList, 1, "fpr"); in EmitVAArg()
4875 Address RegSaveAreaPtr = Builder.CreateStructGEP(VAList, 4); in EmitVAArg()
4923 Address OverflowAreaAddr = Builder.CreateStructGEP(VAList, 3); in EmitVAArg()