/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ValistChecker.cpp | 61 void reportUninitializedAccess(const MemRegion *VAList, StringRef Msg, 140 const MemRegion *VAList = in checkPreCall() local 143 if (!VAList) in checkPreCall() 146 if (C.getState()->contains<InitializedVALists>(VAList)) in checkPreCall() 157 reportUninitializedAccess(VAList, Errmsg.c_str(), C); in checkPreCall() 192 const MemRegion *VAList = in checkPreStmt() local 194 if (!VAList) in checkPreStmt() 198 if (!State->contains<InitializedVALists>(VAList)) in checkPreStmt() 200 VAList, "va_arg() is called on an uninitialized va_list", C); in checkPreStmt() 248 void ValistChecker::reportUninitializedAccess(const MemRegion *VAList, in reportUninitializedAccess() argument [all …]
|
/external/llvm-project/llvm/lib/Target/VE/ |
D | VEISelLowering.cpp | 1251 SDValue VAList = in lowerVAARG() local 1253 SDValue Chain = VAList.getValue(1); in lowerVAARG() 1261 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in lowerVAARG() 1263 VAList = DAG.getNode(ISD::AND, DL, PtrVT, VAList, in lowerVAARG() 1267 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(16, DL)); in lowerVAARG() 1276 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(8, DL)); in lowerVAARG() 1279 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in lowerVAARG() 1284 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getIntPtrConstant(8, DL)); in lowerVAARG() 1292 return DAG.getLoad(VT, DL, InChain, VAList, MachinePointerInfo(), in lowerVAARG()
|
/external/llvm-project/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 146 Value *emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, 150 Value *emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, IRBuilderBase &B,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BuildLibCalls.h | 143 Value *emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, 147 Value *emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, IRBuilder<> &B,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 1012 Value *llvm::emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, in emitVSNPrintf() argument 1016 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy(), VAList->getType()}, in emitVSNPrintf() 1017 {castToCStr(Dest, B), Size, castToCStr(Fmt, B), VAList}, B, TLI); in emitVSNPrintf() 1020 Value *llvm::emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, in emitVSPrintf() argument 1023 {B.getInt8PtrTy(), B.getInt8PtrTy(), VAList->getType()}, in emitVSPrintf() 1024 {castToCStr(Dest, B), castToCStr(Fmt, B), VAList}, B, TLI); in emitVSPrintf()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 1206 Value *llvm::emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, in emitVSNPrintf() argument 1210 {B.getInt8PtrTy(), Size->getType(), B.getInt8PtrTy(), VAList->getType()}, in emitVSNPrintf() 1211 {castToCStr(Dest, B), Size, castToCStr(Fmt, B), VAList}, B, TLI); in emitVSNPrintf() 1214 Value *llvm::emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, in emitVSPrintf() argument 1217 {B.getInt8PtrTy(), B.getInt8PtrTy(), VAList->getType()}, in emitVSPrintf() 1218 {castToCStr(Dest, B), castToCStr(Fmt, B), VAList}, B, TLI); in emitVSPrintf()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1948 SDValue VAList = VAListLoad; in lowerVAARG() local 1960 VAList = DAG.getNode(ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 1961 DAG.getConstant(Align - 1, DL, VAList.getValueType())); in lowerVAARG() 1963 VAList = DAG.getNode(ISD::AND, DL, VAList.getValueType(), VAList, in lowerVAARG() 1965 VAList.getValueType())); in lowerVAARG() 1973 DAG.getNode(ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 1975 DL, VAList.getValueType())); in lowerVAARG() 1987 VAList = DAG.getNode(ISD::ADD, DL, VAListPtr.getValueType(), VAList, in lowerVAARG() 1991 return DAG.getLoad(VT, DL, Chain, VAList, MachinePointerInfo(), false, false, in lowerVAARG()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 2275 SDValue VAList = VAListLoad; in lowerVAARG() local 2285 VAList = DAG.getNode( in lowerVAARG() 2286 ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 2287 DAG.getConstant(Align.value() - 1, DL, VAList.getValueType())); in lowerVAARG() 2289 VAList = DAG.getNode( in lowerVAARG() 2290 ISD::AND, DL, VAList.getValueType(), VAList, in lowerVAARG() 2291 DAG.getConstant(-(int64_t)Align.value(), DL, VAList.getValueType())); in lowerVAARG() 2299 DAG.getNode(ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 2301 DL, VAList.getValueType())); in lowerVAARG() 2313 VAList = DAG.getNode(ISD::ADD, DL, VAListPtr.getValueType(), VAList, in lowerVAARG() [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 2273 SDValue VAList = VAListLoad; in lowerVAARG() local 2283 VAList = DAG.getNode( in lowerVAARG() 2284 ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 2285 DAG.getConstant(Align.value() - 1, DL, VAList.getValueType())); in lowerVAARG() 2287 VAList = DAG.getNode( in lowerVAARG() 2288 ISD::AND, DL, VAList.getValueType(), VAList, in lowerVAARG() 2289 DAG.getConstant(-(int64_t)Align.value(), DL, VAList.getValueType())); in lowerVAARG() 2297 DAG.getNode(ISD::ADD, DL, VAList.getValueType(), VAList, in lowerVAARG() 2299 DL, VAList.getValueType())); in lowerVAARG() 2311 VAList = DAG.getNode(ISD::ADD, DL, VAListPtr.getValueType(), VAList, in lowerVAARG() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1828 SDValue VAList = VAListLoad; in expandVAArg() local 1833 VAList = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 1834 getConstant(Align - 1, dl, VAList.getValueType())); in expandVAArg() 1836 VAList = getNode(ISD::AND, dl, VAList.getValueType(), VAList, in expandVAArg() 1837 getConstant(-(int64_t)Align, dl, VAList.getValueType())); in expandVAArg() 1841 Tmp1 = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 1844 dl, VAList.getValueType())); in expandVAArg() 1849 return getLoad(VT, dl, Tmp1, VAList, MachinePointerInfo(), in expandVAArg()
|
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1770 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()
|
/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 745 SDValue VAList = in LowerVAARG() local 748 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG() 752 InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr, in LowerVAARG() 755 return DAG.getLoad(VT, dl, InChain, VAList, MachinePointerInfo()); in LowerVAARG()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1723 GenericValue VAList = getOperandValue(I.getOperand(0), SF); in visitVAArgInst() local 1725 GenericValue Src = ECStack[VAList.UIntPairVal.first] in visitVAArgInst() 1726 .VarArgs[VAList.UIntPairVal.second]; in visitVAArgInst() 1744 ++VAList.UIntPairVal.second; in visitVAArgInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1775 GenericValue VAList = getOperandValue(I.getOperand(0), SF); in visitVAArgInst() local 1777 GenericValue Src = ECStack[VAList.UIntPairVal.first] in visitVAArgInst() 1778 .VarArgs[VAList.UIntPairVal.second]; in visitVAArgInst() 1796 ++VAList.UIntPairVal.second; in visitVAArgInst()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 771 SDValue VAList = DAG.getLoad(PtrVT, dl, InChain, in LowerVAARG() local 775 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG() 779 InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr, in LowerVAARG() 782 return DAG.getLoad(VT, dl, InChain, VAList, MachinePointerInfo(), in LowerVAARG()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 746 SDValue VAList = in LowerVAARG() local 749 SDValue nextPtr = DAG.getNode(ISD::ADD, dl, PtrVT, VAList, in LowerVAARG() 753 InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr, in LowerVAARG() 756 return DAG.getLoad(VT, dl, InChain, VAList, MachinePointerInfo()); in LowerVAARG()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 1945 SDValue VAList = VAListLoad; in expandVAArg() local 1948 VAList = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 1949 getConstant(MA->value() - 1, dl, VAList.getValueType())); in expandVAArg() 1951 VAList = in expandVAArg() 1952 getNode(ISD::AND, dl, VAList.getValueType(), VAList, in expandVAArg() 1953 getConstant(-(int64_t)MA->value(), dl, VAList.getValueType())); in expandVAArg() 1957 Tmp1 = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 1960 dl, VAList.getValueType())); in expandVAArg() 1965 return getLoad(VT, dl, Tmp1, VAList, MachinePointerInfo()); in expandVAArg()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4232 SDValue VAList = Op.getOperand(1); in LowerAAPCS_VASTART() local 4238 MemOps.push_back(DAG.getStore(Chain, DL, Stack, VAList, in LowerAAPCS_VASTART() 4247 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(8, DL, PtrVT)); in LowerAAPCS_VASTART() 4261 VRTopAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART() 4274 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(24, DL, PtrVT)); in LowerAAPCS_VASTART() 4282 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(28, DL, PtrVT)); in LowerAAPCS_VASTART() 4325 SDValue VAList = DAG.getLoad(PtrVT, DL, Chain, Addr, MachinePointerInfo(V), in LowerVAARG() local 4327 Chain = VAList.getValue(1); in LowerVAARG() 4331 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() 4333 VAList = DAG.getNode(ISD::AND, DL, PtrVT, VAList, in LowerVAARG() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 2011 SDValue VAList = VAListLoad; in expandVAArg() local 2014 VAList = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 2015 getConstant(MA->value() - 1, dl, VAList.getValueType())); in expandVAArg() 2017 VAList = in expandVAArg() 2018 getNode(ISD::AND, dl, VAList.getValueType(), VAList, in expandVAArg() 2019 getConstant(-(int64_t)MA->value(), dl, VAList.getValueType())); in expandVAArg() 2023 Tmp1 = getNode(ISD::ADD, dl, VAList.getValueType(), VAList, in expandVAArg() 2026 dl, VAList.getValueType())); in expandVAArg() 2031 return getLoad(VT, dl, Tmp1, VAList, MachinePointerInfo()); in expandVAArg()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 5637 SDValue VAList = Op.getOperand(1); in LowerAAPCS_VASTART() local 5643 MemOps.push_back(DAG.getStore(Chain, DL, Stack, VAList, in LowerAAPCS_VASTART() 5652 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(8, DL, PtrVT)); in LowerAAPCS_VASTART() 5667 VRTopAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART() 5681 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(24, DL, PtrVT)); in LowerAAPCS_VASTART() 5688 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(28, DL, PtrVT)); in LowerAAPCS_VASTART() 5738 SDValue VAList = in LowerVAARG() local 5740 Chain = VAList.getValue(1); in LowerVAARG() 5741 VAList = DAG.getZExtOrTrunc(VAList, DL, PtrVT); in LowerVAARG() 5745 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() [all …]
|
/external/llvm-project/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 2532 SDValue VAList = in LowerVAARG() local 2535 SDValue NextPtr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() 2539 InChain = DAG.getStore(VAList.getValue(1), DL, NextPtr, VAListPtr, in LowerVAARG() 2544 VT, DL, InChain, VAList, MachinePointerInfo(), in LowerVAARG()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 2528 SDValue VAList = in LowerVAARG() local 2531 SDValue NextPtr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() 2535 InChain = DAG.getStore(VAList.getValue(1), DL, NextPtr, VAListPtr, in LowerVAARG() 2539 return DAG.getLoad(VT, DL, InChain, VAList, MachinePointerInfo(), in LowerVAARG()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 2571 SDValue VAList = DAG.getLoad(PtrVT, DL, InChain, VAListPtr, in LowerVAARG() local 2574 SDValue NextPtr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() 2578 InChain = DAG.getStore(VAList.getValue(1), DL, NextPtr, in LowerVAARG() 2582 return DAG.getLoad(VT, DL, InChain, VAList, MachinePointerInfo(), in LowerVAARG()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6895 SDValue VAList = Op.getOperand(1); in LowerAAPCS_VASTART() local 6902 DAG.getStore(Chain, DL, Stack, VAList, MachinePointerInfo(SV), Align(8))); in LowerAAPCS_VASTART() 6910 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(8, DL, PtrVT)); in LowerAAPCS_VASTART() 6924 VRTopAddr = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerAAPCS_VASTART() 6937 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(24, DL, PtrVT)); in LowerAAPCS_VASTART() 6944 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(28, DL, PtrVT)); in LowerAAPCS_VASTART() 6994 SDValue VAList = in LowerVAARG() local 6996 Chain = VAList.getValue(1); in LowerVAARG() 6997 VAList = DAG.getZExtOrTrunc(VAList, DL, PtrVT); in LowerVAARG() 7004 VAList = DAG.getNode(ISD::ADD, DL, PtrVT, VAList, in LowerVAARG() [all …]
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 3689 Address PPC32_SVR4_ABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAList, in EmitVAArg() argument 3720 NumRegsAddr = Builder.CreateStructGEP(VAList, 0, CharUnits::Zero(), "gpr"); in EmitVAArg() 3722 NumRegsAddr = Builder.CreateStructGEP(VAList, 1, CharUnits::One(), "fpr"); in EmitVAArg() 3751 Builder.CreateStructGEP(VAList, 4, CharUnits::fromQuantity(8)); in EmitVAArg() 3800 Builder.CreateStructGEP(VAList, 3, CharUnits::fromQuantity(4)); in EmitVAArg()
|