| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ConstantHoisting.cpp | 408 if (!BaseGV) in collectConstantCandidates() 412 PointerType *GVPtrTy = cast<PointerType>(BaseGV->getType()); in collectConstantCandidates() 437 ConstCandVecType &ExprCandVec = ConstGEPCandMap[BaseGV]; in collectConstantCandidates() 662 void ConstantHoistingPass::findBaseConstants(GlobalVariable *BaseGV) { in findBaseConstants() argument 665 ConstCandVecType &ConstCandVec = BaseGV ? in findBaseConstants() 666 ConstGEPCandMap[BaseGV] : ConstIntCandVec; in findBaseConstants() 667 ConstInfoVecType &ConstInfoVec = BaseGV ? in findBaseConstants() 668 ConstGEPInfoMap[BaseGV] : ConstIntInfoVec; in findBaseConstants() 840 bool ConstantHoistingPass::emitBaseConstants(GlobalVariable *BaseGV) { in emitBaseConstants() argument 843 BaseGV ? ConstGEPInfoMap[BaseGV] : ConstIntInfoVec; in emitBaseConstants() [all …]
|
| H A D | LoopStrengthReduce.cpp | 357 GlobalValue *BaseGV = nullptr; member 595 BaseGV ? BaseGV->getType() : in getType() 627 if (BaseGV) { in print() 1413 if (F.BaseGV) in RateFormula() 1687 if (BaseGV) in isAMCompletelyFolded() 2680 F.BaseGV == OrigF.BaseGV && in FindUseWithSimilarFormula() 3861 F.BaseGV = GV; in GenerateSymbolicOffsetsImpl() 3875 if (Base.BaseGV) return; in GenerateSymbolicOffsets() 4167 if (Base.BaseGV) return; in GenerateTruncates() 4621 if (!F.BaseGV) { in NarrowSearchSpaceByDetectingSupersets() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | ConstantHoisting.h | 199 void findBaseConstants(GlobalVariable *BaseGV); 215 bool emitBaseConstants(GlobalVariable *BaseGV);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 221 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 226 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); 317 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 322 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale, in getScalingFactorCost() 1028 auto *BaseGV = dyn_cast<GlobalValue>(Ptr->stripPointerCasts()); in getGEPCost() local 1029 bool HasBaseReg = (BaseGV == nullptr); in getGEPCost() 1041 return !BaseGV ? TTI::TCC_Free : TTI::TCC_Basic; in getGEPCost() 1091 AccessType, const_cast<GlobalValue *>(BaseGV), in getGEPCost()
|
| H A D | TargetTransformInfo.h | 711 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 820 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 1822 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, 1858 virtual InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, 2278 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, in isLegalAddressingMode() argument 2281 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale, in isLegalAddressingMode() 2360 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 2364 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, Scale, in getScalingFactorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPerfHintAnalysis.cpp | 261 AM.BaseGV = dyn_cast_or_null<GlobalValue>(const_cast<Value *>(Ptr)); in visit() 262 AM.HasBaseReg = !AM.BaseGV; in visit()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 2702 if (BaseGV && other.BaseGV && BaseGV->getType() != other.BaseGV->getType()) in compare() 2716 if (BaseGV != other.BaseGV) in compare() 2750 return BaseGV; in GetFieldAsValue() 2772 BaseGV = nullptr; in SetCombinedField() 2810 if (BaseGV) { in print() 5012 if (!AddrMode.BaseGV) { in matchAddr() 5013 AddrMode.BaseGV = GV; in matchAddr() 5016 AddrMode.BaseGV = nullptr; in matchAddr() 5526 if (AddrMode.BaseGV) { in optimizeMemoryInst() 5641 (AddrMode.BaseGV && in optimizeMemoryInst() [all …]
|
| H A D | TargetLoweringBase.cpp | 1975 if (AM.BaseGV) in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 402 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, in isLegalAddressingMode() argument 407 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, in isLegalAddressingMode() 521 Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, in getScalingFactorCost() argument 524 Ty, BaseGV, BaseOffset, HasBaseReg, Scale, AddrSpace); in getScalingFactorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 334 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, 338 AM.BaseGV = BaseGV; 398 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 402 AM.BaseGV = BaseGV; in getScalingFactorCost()
|
| H A D | TargetLowering.h | 2689 GlobalValue *BaseGV = nullptr; member
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 253 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
|
| H A D | X86TargetTransformInfo.cpp | 6652 InstructionCost X86TTIImpl::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 6675 AM.BaseGV = BaseGV; in getScalingFactorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 408 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
|
| H A D | AArch64TargetTransformInfo.cpp | 4038 AArch64TTIImpl::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 4049 AM.BaseGV = BaseGV; in getScalingFactorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 304 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
|
| H A D | ARMTargetTransformInfo.cpp | 2565 InstructionCost ARMTTIImpl::getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, in getScalingFactorCost() argument 2570 AM.BaseGV = BaseGV; in getScalingFactorCost()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 924 if (AM.BaseGV) in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3630 const GlobalValue *BaseGV = dyn_cast_or_null<GlobalValue>(BaseCst); in handleIndirectSymViaGOTPCRel() local 3631 if (!BaseGV) in handleIndirectSymViaGOTPCRel() 3635 const MCSymbol *BaseSym = AP.getSymbol(BaseGV); in handleIndirectSymViaGOTPCRel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRISelLowering.cpp | 1064 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 1076 if (AM.BaseGV == nullptr && AM.HasBaseReg && AM.Scale == 0 && in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 1794 if (AM.BaseGV) { in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 3669 if (AM.BaseGV) in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 4878 if (AM.BaseGV) in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXISelLowering.cpp | 4986 if (AM.BaseGV) { in isLegalAddressingMode()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsISelLowering.cpp | 4296 if (AM.BaseGV) in isLegalAddressingMode()
|