Home
last modified time | relevance | path

Searched refs:Load1 (Results 1 – 25 of 37) sorted by relevance

12

/external/skqp/src/core/
DSk4px.h49 static Sk4px Load1(const SkPMColor px[1]) { in Load1() function
133 fn(Load1(src)).store1(dst); in MapSrc()
163 fn(Load1(dst), Load1(src)).store1(dst); in MapDstSrc()
193 fn(Load1(dst), Sk16b(*a)).store1(dst); in MapDstAlpha()
225 fn(Load1(dst), Load1(src), Sk16b(*a)).store1(dst); in MapDstSrcAlpha()
/external/skia/src/core/
DSk4px.h49 static Sk4px Load1(const SkPMColor px[1]) { in Load1() function
133 fn(Load1(src)).store1(dst); in MapSrc()
163 fn(Load1(dst), Load1(src)).store1(dst); in MapDstSrc()
193 fn(Load1(dst), Sk16b(*a)).store1(dst); in MapDstAlpha()
225 fn(Load1(dst), Load1(src), Sk16b(*a)).store1(dst); in MapDstSrcAlpha()
/external/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp230 auto *Load1 = dyn_cast<LoadInst>(Inst); in canHoistFromBlock() local
231 if (!Load1 || Inst->isUsedOutsideOfBlock(BB1)) in canHoistFromBlock()
235 MemoryLocation Loc1 = MemoryLocation::get(Load1); in canHoistFromBlock()
236 if (Load0->isSameOperationAs(Load1) && AA->isMustAlias(Loc0, Loc1) && in canHoistFromBlock()
237 !isLoadHoistBarrierInRange(BB1->front(), *Load1, Load1, in canHoistFromBlock()
241 return Load1; in canHoistFromBlock()
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp178 auto *Load1 = new LoadInst(Addr, "load", BB); in TEST_F() local
195 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), MRI_Ref); in TEST_F()
196 EXPECT_EQ(AA.getModRefInfo(Load1), MRI_Ref); in TEST_F()
/external/llvm-project/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp180 auto *Load1 = new LoadInst(IntType, Addr, "load", BB); in TEST_F() local
198 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), ModRefInfo::Ref); in TEST_F()
199 EXPECT_EQ(AA.getModRefInfo(Load1, None), ModRefInfo::Ref); in TEST_F()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.h49 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
DAMDGPUInstrInfo.cpp50 bool AMDGPUInstrInfo::shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, in shouldScheduleLoadsNear() argument
DSIInstrInfo.cpp93 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument
96 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()
100 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr()
109 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()
113 if (Load0->getOperand(1) != Load1->getOperand(1)) in areLoadsFromSameBasePtr()
117 if (findChainOperand(Load0) != findChainOperand(Load1)) in areLoadsFromSameBasePtr()
128 Offset1 = cast<ConstantSDNode>(Load1->getOperand(2))->getZExtValue(); in areLoadsFromSameBasePtr()
133 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()
136 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
142 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr()
[all …]
DSIInstrInfo.h109 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2,
/external/llvm/lib/Target/X86/
DX86InstrInfo.h406 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
417 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h213 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
224 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
DARMBaseInstrInfo.cpp1545 bool ARMBaseInstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1551 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr()
1554 switch (Load1->getMachineOpcode()) { in areLoadsFromSameBasePtr()
1596 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr()
1597 Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr()
1601 if (Load1->getOperand(3) != Load2->getOperand(3)) in areLoadsFromSameBasePtr()
1605 if (isa<ConstantSDNode>(Load1->getOperand(1)) && in areLoadsFromSameBasePtr()
1607 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr()
1626 bool ARMBaseInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
1642 if ((Load1->getMachineOpcode() != Load2->getMachineOpcode()) && in shouldScheduleLoadsNear()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.h381 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
392 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, int64_t Offset1,
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.h420 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
438 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, int64_t Offset1,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h245 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
256 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
DARMBaseInstrInfo.cpp1835 bool ARMBaseInstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1841 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr()
1844 switch (Load1->getMachineOpcode()) { in areLoadsFromSameBasePtr()
1886 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr()
1887 Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr()
1891 if (Load1->getOperand(3) != Load2->getOperand(3)) in areLoadsFromSameBasePtr()
1895 if (isa<ConstantSDNode>(Load1->getOperand(1)) && in areLoadsFromSameBasePtr()
1897 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr()
1916 bool ARMBaseInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
1932 if ((Load1->getMachineOpcode() != Load2->getMachineOpcode()) && in shouldScheduleLoadsNear()
[all …]
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1000 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1013 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
/external/llvm-project/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h243 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1,
254 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
DARMBaseInstrInfo.cpp1876 bool ARMBaseInstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1882 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr()
1885 switch (Load1->getMachineOpcode()) { in areLoadsFromSameBasePtr()
1927 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr()
1928 Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr()
1932 if (Load1->getOperand(3) != Load2->getOperand(3)) in areLoadsFromSameBasePtr()
1936 if (isa<ConstantSDNode>(Load1->getOperand(1)) && in areLoadsFromSameBasePtr()
1938 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr()
1957 bool ARMBaseInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
1973 if ((Load1->getMachineOpcode() != Load2->getMachineOpcode()) && in shouldScheduleLoadsNear()
[all …]
/external/llvm-project/llvm/test/Instrumentation/MemorySanitizer/
Dmsan_kernel_basic.ll195 define i8 @Load1(i8* nocapture %p) nounwind uwtable sanitize_memory {
201 ; CHECK-LABEL: @Load1
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1218 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1232 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1241 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument
1255 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp146 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument
149 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()
153 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr()
162 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()
166 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
184 Offset1 = cast<ConstantSDNode>(Load1->getOperand(Offset1Idx))->getZExtValue(); in areLoadsFromSameBasePtr()
194 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()
197 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
203 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr()
217 if (!nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::soffset) || in areLoadsFromSameBasePtr()
[all …]
DSIInstrInfo.h180 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2,
193 bool shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, int64_t Offset0,
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp157 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument
160 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr()
164 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr()
173 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr()
177 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
195 Offset1 = cast<ConstantSDNode>(Load1->getOperand(Offset1Idx))->getZExtValue(); in areLoadsFromSameBasePtr()
205 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr()
208 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr()
214 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr()
228 if (!nodesHaveSameOperandValue(Load0, Load1, AMDGPU::OpName::soffset) || in areLoadsFromSameBasePtr()
[all …]

12