/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 400 GlobalVariable *BaseGV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0)); in collectConstantCandidates() local 401 if (!BaseGV) in collectConstantCandidates() 405 PointerType *GVPtrTy = cast<PointerType>(BaseGV->getType()); in collectConstantCandidates() 420 ConstCandVecType &ExprCandVec = ConstGEPCandMap[BaseGV]; in collectConstantCandidates() 646 void ConstantHoistingPass::findBaseConstants(GlobalVariable *BaseGV) { in findBaseConstants() argument 649 ConstCandVecType &ConstCandVec = BaseGV ? in findBaseConstants() 650 ConstGEPCandMap[BaseGV] : ConstIntCandVec; in findBaseConstants() 651 ConstInfoVecType &ConstInfoVec = BaseGV ? in findBaseConstants() 652 ConstGEPInfoMap[BaseGV] : ConstIntInfoVec; in findBaseConstants() 833 bool ConstantHoistingPass::emitBaseConstants(GlobalVariable *BaseGV) { in emitBaseConstants() argument [all …]
|
D | LoopStrengthReduce.cpp | 326 GlobalValue *BaseGV = nullptr; member 558 BaseGV ? BaseGV->getType() : in getType() 590 if (BaseGV) { in print() 592 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print() 1212 GlobalValue *BaseGV, int64_t BaseOffset, 1368 if (F.BaseGV) in RateFormula() 1377 !isAMCompletelyFolded(*TTI, LSRUse::Address, LU.AccessTy, F.BaseGV, in RateFormula() 1631 GlobalValue *BaseGV, int64_t BaseOffset, in isAMCompletelyFolded() argument 1636 return TTI.isLegalAddressingMode(AccessTy.MemTy, BaseGV, BaseOffset, in isAMCompletelyFolded() 1642 if (BaseGV) in isAMCompletelyFolded() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 230 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 235 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); 293 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 296 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost() 754 auto *BaseGV = dyn_cast<GlobalValue>(Ptr->stripPointerCasts()); in getGEPCost() local 755 bool HasBaseReg = (BaseGV == nullptr); in getGEPCost() 767 return !BaseGV ? TTI::TCC_Free : TTI::TCC_Basic; in getGEPCost() 798 TargetType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()
|
D | TargetTransformInfo.h | 561 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 632 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 1223 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 1247 virtual int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 1502 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 1506 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 1561 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 1564 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | ConstantHoisting.h | 194 void findBaseConstants(GlobalVariable *BaseGV); 199 bool emitBaseConstants(GlobalVariable *BaseGV);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPerfHintAnalysis.cpp | 244 AM.BaseGV = dyn_cast_or_null<GlobalValue>(const_cast<Value *>(Ptr)); in visit() 245 AM.HasBaseReg = !AM.BaseGV; in visit()
|
D | SIISelLowering.cpp | 1157 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 237 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 241 AM.BaseGV = BaseGV; 264 int getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in getScalingFactorCost() argument 267 AM.BaseGV = BaseGV; in getScalingFactorCost()
|
D | TargetLowering.h | 2168 GlobalValue *BaseGV = nullptr; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 2207 if (BaseGV && other.BaseGV && in compare() 2208 BaseGV->getType() != other.BaseGV->getType()) in compare() 2222 if (BaseGV != other.BaseGV) in compare() 2246 return !BaseOffs && !Scale && !(BaseGV && BaseReg); in isTrivial() 2256 return BaseGV; in GetFieldAsValue() 2278 BaseGV = nullptr; in SetCombinedField() 2318 if (BaseGV) { in print() 2321 BaseGV->printAsOperand(OS, /*PrintType=*/false); in print() 4432 if (!AddrMode.BaseGV) { in matchAddr() 4433 AddrMode.BaseGV = GV; in matchAddr() [all …]
|
D | TargetLoweringBase.cpp | 1743 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 266 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument 272 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 349 int TargetTransformInfo::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 354 int Cost = TTIImpl->getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, in getScalingFactorCost()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 2664 const GlobalValue *BaseGV = dyn_cast_or_null<GlobalValue>(BaseCst); in handleIndirectSymViaGOTPCRel() local 2665 if (!BaseGV) in handleIndirectSymViaGOTPCRel() 2669 const MCSymbol *BaseSym = AP.getSymbol(BaseGV); in handleIndirectSymViaGOTPCRel()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelLowering.cpp | 750 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 762 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) { in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1892 if (AM.BaseGV) { in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 272 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 3140 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 4229 if (AM.BaseGV) { in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 4248 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 940 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 9475 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 14808 if (AM.BaseGV) in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 29968 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != nullptr)) in isLegalAddressingMode() 29971 if (AM.BaseGV) { in isLegalAddressingMode() 29972 unsigned GVFlags = Subtarget.classifyGlobalReference(AM.BaseGV); in isLegalAddressingMode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 15277 if (AM.BaseGV) in isLegalAddressingMode()
|