Home
last modified time | relevance | path

Searched refs:OffsetByte (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp79 int64_t OffsetByte; in TEST() local
84 setBeforeReturnValues(Targets, 32, 1, OffsetByte, OffsetBit); in TEST()
85 EXPECT_EQ(-5ll, OffsetByte); in TEST()
94 setBeforeReturnValues(Targets, 39, 1, OffsetByte, OffsetBit); in TEST()
95 EXPECT_EQ(-5ll, OffsetByte); in TEST()
104 setBeforeReturnValues(Targets, 40, 8, OffsetByte, OffsetBit); in TEST()
105 EXPECT_EQ(-6ll, OffsetByte); in TEST()
114 setBeforeReturnValues(Targets, 48, 16, OffsetByte, OffsetBit); in TEST()
115 EXPECT_EQ(-8ll, OffsetByte); in TEST()
126 setAfterReturnValues(Targets, 32, 1, OffsetByte, OffsetBit); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp79 int64_t OffsetByte; in TEST() local
84 setBeforeReturnValues(Targets, 32, 1, OffsetByte, OffsetBit); in TEST()
85 EXPECT_EQ(-5ll, OffsetByte); in TEST()
94 setBeforeReturnValues(Targets, 39, 1, OffsetByte, OffsetBit); in TEST()
95 EXPECT_EQ(-5ll, OffsetByte); in TEST()
104 setBeforeReturnValues(Targets, 40, 8, OffsetByte, OffsetBit); in TEST()
105 EXPECT_EQ(-6ll, OffsetByte); in TEST()
114 setBeforeReturnValues(Targets, 48, 16, OffsetByte, OffsetBit); in TEST()
115 EXPECT_EQ(-8ll, OffsetByte); in TEST()
126 setAfterReturnValues(Targets, 32, 1, OffsetByte, OffsetBit); in TEST()
[all …]
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp135 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { in setBeforeReturnValues() argument
137 OffsetByte = -(AllocBefore / 8 + 1); in setBeforeReturnValues()
139 OffsetByte = -((AllocBefore + 7) / 8 + (BitWidth + 7) / 8); in setBeforeReturnValues()
152 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { in setAfterReturnValues() argument
154 OffsetByte = AllocAfter / 8; in setAfterReturnValues()
156 OffsetByte = (AllocAfter + 7) / 8; in setAfterReturnValues()
584 int64_t OffsetByte; in tryVirtualConstProp() local
587 setBeforeReturnValues(TargetsForSlot, AllocBefore, BitWidth, OffsetByte, in tryVirtualConstProp()
590 setAfterReturnValues(TargetsForSlot, AllocAfter, BitWidth, OffsetByte, in tryVirtualConstProp()
596 Value *Addr = B.CreateConstGEP1_64(Call.VTable, OffsetByte); in tryVirtualConstProp()
/external/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h206 int64_t &OffsetByte, uint64_t &OffsetBit);
213 int64_t &OffsetByte, uint64_t &OffsetBit);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp199 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { in setBeforeReturnValues() argument
201 OffsetByte = -(AllocBefore / 8 + 1); in setBeforeReturnValues()
203 OffsetByte = -((AllocBefore + 7) / 8 + (BitWidth + 7) / 8); in setBeforeReturnValues()
216 unsigned BitWidth, int64_t &OffsetByte, uint64_t &OffsetBit) { in setAfterReturnValues() argument
218 OffsetByte = AllocAfter / 8; in setAfterReturnValues()
220 OffsetByte = (AllocAfter + 7) / 8; in setAfterReturnValues()
1248 int64_t OffsetByte; in tryVirtualConstProp() local
1251 setBeforeReturnValues(TargetsForSlot, AllocBefore, BitWidth, OffsetByte, in tryVirtualConstProp()
1254 setAfterReturnValues(TargetsForSlot, AllocAfter, BitWidth, OffsetByte, in tryVirtualConstProp()
1264 exportConstant(Slot, CSByConstantArg.first, "byte", OffsetByte, in tryVirtualConstProp()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h210 int64_t &OffsetByte, uint64_t &OffsetBit);
217 int64_t &OffsetByte, uint64_t &OffsetBit);