/external/skia/src/core/ |
D | Sk4px.h | 49 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/skqp/src/core/ |
D | Sk4px.h | 49 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/ |
D | MergedLoadStoreMotion.cpp | 230 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/ |
D | AliasAnalysisTest.cpp | 178 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | AliasAnalysisTest.cpp | 178 auto *Load1 = new LoadInst(Addr, "load", BB); in TEST_F() local 196 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), ModRefInfo::Ref); in TEST_F() 197 EXPECT_EQ(AA.getModRefInfo(Load1, None), ModRefInfo::Ref); in TEST_F()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.h | 49 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | AMDGPUInstrInfo.cpp | 50 bool AMDGPUInstrInfo::shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, in shouldScheduleLoadsNear() argument
|
D | SIInstrInfo.cpp | 93 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 …]
|
D | SIInstrInfo.h | 109 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2,
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrInfo.h | 308 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, 319 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | X86InstrInfo.cpp | 3132 X86InstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 3134 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr() 3136 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr() 3214 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr() 3215 Load1->getOperand(5) != Load2->getOperand(5)) in areLoadsFromSameBasePtr() 3218 if (Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr() 3221 if (Load1->getOperand(1) == Load2->getOperand(1) && in areLoadsFromSameBasePtr() 3222 Load1->getOperand(2) == Load2->getOperand(2)) { in areLoadsFromSameBasePtr() 3223 if (cast<ConstantSDNode>(Load1->getOperand(1))->getZExtValue() != 1) in areLoadsFromSameBasePtr() 3227 if (isa<ConstantSDNode>(Load1->getOperand(3)) && in areLoadsFromSameBasePtr() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 151 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, 162 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | ARMBaseInstrInfo.cpp | 1253 bool ARMBaseInstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 1259 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr() 1262 switch (Load1->getMachineOpcode()) { in areLoadsFromSameBasePtr() 1301 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr() 1302 Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr() 1306 if (Load1->getOperand(3) != Load2->getOperand(3)) in areLoadsFromSameBasePtr() 1310 if (isa<ConstantSDNode>(Load1->getOperand(1)) && in areLoadsFromSameBasePtr() 1312 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr() 1328 bool ARMBaseInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument 1339 if (Load1->getMachineOpcode() != Load2->getMachineOpcode()) in shouldScheduleLoadsNear()
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetInstrInfo.h | 491 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 504 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 406 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1, 417 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | X86InstrInfo.cpp | 6610 X86InstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 6612 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr() 6614 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr() 6692 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr() 6693 Load1->getOperand(5) != Load2->getOperand(5)) in areLoadsFromSameBasePtr() 6696 if (Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr() 6699 if (Load1->getOperand(1) == Load2->getOperand(1) && in areLoadsFromSameBasePtr() 6700 Load1->getOperand(2) == Load2->getOperand(2)) { in areLoadsFromSameBasePtr() 6701 if (cast<ConstantSDNode>(Load1->getOperand(1))->getZExtValue() != 1) in areLoadsFromSameBasePtr() 6705 if (isa<ConstantSDNode>(Load1->getOperand(3)) && in areLoadsFromSameBasePtr() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 213 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1, 224 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | ARMBaseInstrInfo.cpp | 1545 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-7.0/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 244 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1, 255 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2,
|
D | ARMBaseInstrInfo.cpp | 1723 bool ARMBaseInstrInfo::areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 1729 if (!Load1->isMachineOpcode() || !Load2->isMachineOpcode()) in areLoadsFromSameBasePtr() 1732 switch (Load1->getMachineOpcode()) { in areLoadsFromSameBasePtr() 1774 if (Load1->getOperand(0) != Load2->getOperand(0) || in areLoadsFromSameBasePtr() 1775 Load1->getOperand(4) != Load2->getOperand(4)) in areLoadsFromSameBasePtr() 1779 if (Load1->getOperand(3) != Load2->getOperand(3)) in areLoadsFromSameBasePtr() 1783 if (isa<ConstantSDNode>(Load1->getOperand(1)) && in areLoadsFromSameBasePtr() 1785 Offset1 = cast<ConstantSDNode>(Load1->getOperand(1))->getSExtValue(); in areLoadsFromSameBasePtr() 1804 bool ARMBaseInstrInfo::shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument 1820 if ((Load1->getMachineOpcode() != Load2->getMachineOpcode()) && in shouldScheduleLoadsNear() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 430 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, int64_t &Offset1, 441 bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, int64_t Offset1,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIInstrInfo.cpp | 150 bool SIInstrInfo::areLoadsFromSameBasePtr(SDNode *Load0, SDNode *Load1, in areLoadsFromSameBasePtr() argument 153 if (!Load0->isMachineOpcode() || !Load1->isMachineOpcode()) in areLoadsFromSameBasePtr() 157 unsigned Opc1 = Load1->getMachineOpcode(); in areLoadsFromSameBasePtr() 166 if (getNumOperandsNoGlue(Load0) != getNumOperandsNoGlue(Load1)) in areLoadsFromSameBasePtr() 170 if (Load0->getOperand(1) != Load1->getOperand(1)) in areLoadsFromSameBasePtr() 174 if (findChainOperand(Load0) != findChainOperand(Load1)) in areLoadsFromSameBasePtr() 185 Offset1 = cast<ConstantSDNode>(Load1->getOperand(2))->getZExtValue(); in areLoadsFromSameBasePtr() 195 assert(getNumOperandsNoGlue(Load0) == getNumOperandsNoGlue(Load1)); in areLoadsFromSameBasePtr() 198 if (Load0->getOperand(0) != Load1->getOperand(0)) in areLoadsFromSameBasePtr() 204 dyn_cast<ConstantSDNode>(Load1->getOperand(1)); in areLoadsFromSameBasePtr() [all …]
|
D | SIInstrInfo.h | 159 bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, 171 bool shouldScheduleLoadsNear(SDNode *Load0, SDNode *Load1, int64_t Offset0,
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 1000 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 1013 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 1101 virtual bool areLoadsFromSameBasePtr(SDNode *Load1, SDNode *Load2, in areLoadsFromSameBasePtr() argument 1115 virtual bool shouldScheduleLoadsNear(SDNode *Load1, SDNode *Load2, in shouldScheduleLoadsNear() argument
|