HomeSort by: relevance | last modified time | path
    Searched refs:BaseGV (Results 1 - 24 of 24) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ConstantHoisting.cpp 409 GlobalVariable *BaseGV = dyn_cast<GlobalVariable>(ConstExpr->getOperand(0));
410 if (!BaseGV)
414 PointerType *GVPtrTy = cast<PointerType>(BaseGV->getType());
431 ConstCandVecType &ExprCandVec = ConstGEPCandMap[BaseGV];
658 void ConstantHoistingPass::findBaseConstants(GlobalVariable *BaseGV) {
659 // If BaseGV is nullptr, find base among candidate constant integers;
660 // Otherwise find base among constant GEPs that share the same BaseGV.
661 ConstCandVecType &ConstCandVec = BaseGV ?
662 ConstGEPCandMap[BaseGV] : ConstIntCandVec;
663 ConstInfoVecType &ConstInfoVec = BaseGV
    [all...]
LoopStrengthReduce.cpp 39 // TODO: Should the addressing mode BaseGV be changed to a ConstantExpr instead
341 GlobalValue *BaseGV = nullptr;
570 BaseGV ? BaseGV->getType() :
602 if (BaseGV) {
604 BaseGV->printAsOperand(OS, /*PrintType=*/false);
1215 GlobalValue *BaseGV, int64_t BaseOffset,
1369 if (F.BaseGV)
1378 !isAMCompletelyFolded(*TTI, LSRUse::Address, LU.AccessTy, F.BaseGV,
1632 GlobalValue *BaseGV, int64_t BaseOffset
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
ConstantHoisting.h 192 // If BaseGV is nullptr, find base among Constant Integer candidates;
193 // otherwise find base among constant GEPs sharing BaseGV as base pointer.
194 void findBaseConstants(GlobalVariable *BaseGV);
197 // If BaseGV is nullptr, emit Constant Integer base; otherwise emit
199 bool emitBaseConstants(GlobalVariable *BaseGV);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 199 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
204 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1);
273 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
278 if (isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale,
864 auto *BaseGV = dyn_cast<GlobalValue>(Ptr->stripPointerCasts());
865 bool HasBaseReg = (BaseGV == nullptr);
877 return !BaseGV ? TTI::TCC_Free : TTI::TCC_Basic;
913 TargetType, const_cast<GlobalValue *>(BaseGV),
TargetTransformInfo.h 605 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
686 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
1497 virtual bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
1522 virtual InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
1849 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
1852 return Impl.isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg, Scale,
1909 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
1913 return Impl.getScalingFactorCost(Ty, BaseGV, BaseOffset, HasBaseReg, Scale,
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPerfHintAnalysis.cpp 240 AM.BaseGV = dyn_cast_or_null<GlobalValue>(const_cast<Value *>(Ptr));
241 AM.HasBaseReg = !AM.BaseGV;
SIISelLowering.cpp 1307 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
CodeGenPrepare.cpp 224 cl::desc("Allow combining of BaseGV field in Address sinking."));
2452 if (BaseGV && other.BaseGV &&
2453 BaseGV->getType() != other.BaseGV->getType())
2467 if (BaseGV != other.BaseGV)
2487 // An AddrMode is (BaseGV + BaseReg + BaseOffs + ScaleReg * Scale) so it is
2488 // trivial if at most one of these terms is nonzero, except that BaseGV and
2491 return !BaseOffs && !Scale && !(BaseGV && BaseReg)
    [all...]
TargetLoweringBase.cpp 1903 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
BasicTTIImpl.h 298 bool isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset,
302 AM.BaseGV = BaseGV;
333 InstructionCost getScalingFactorCost(Type *Ty, GlobalValue *BaseGV,
337 AM.BaseGV = BaseGV;
TargetLowering.h 2323 /// BaseGV + BaseOffs + BaseReg + Scale*ScaleReg
2324 /// If BaseGV is null, there is no BaseGV.
2330 GlobalValue *BaseGV = nullptr;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
TargetTransformInfo.cpp 337 bool TargetTransformInfo::isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV,
342 return TTIImpl->isLegalAddressingMode(Ty, BaseGV, BaseOffset, HasBaseReg,
426 Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg,
429 Ty, BaseGV, BaseOffset, HasBaseReg, Scale, AddrSpace);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
AVRISelLowering.cpp 853 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) {
865 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) {
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
AsmPrinter.cpp 2914 const GlobalValue *BaseGV = dyn_cast_or_null<GlobalValue>(BaseCst);
2915 if (!BaseGV)
2919 const MCSymbol *BaseSym = AP.getSymbol(BaseGV);
  /src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 1890 if (AM.BaseGV) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonISelLowering.cpp 3392 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
NVPTXISelLowering.cpp 4200 // BaseGV + BaseOffs + BaseReg + Scale*ScaleReg
4208 if (AM.BaseGV) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
MipsISelLowering.cpp 4262 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 867 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZISelLowering.cpp 966 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 15823 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelLowering.cpp     [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 11714 if (AM.BaseGV)
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp 17708 if (AM.BaseGV)

Completed in 243 milliseconds