Home
last modified time | relevance | path

Searched refs:getGlobalValue (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenItaniumCXXABI.cpp147 cgm.getGlobalValue(mangledName)); in emitConstructorDestructorAlias()
151 auto entry = cast_or_null<cir::FuncOp>(cgm.getGlobalValue(mangledName)); in emitConstructorDestructorAlias()
H A DCIRGenModule.cpp274 op = getGlobalValue(getMangledName(d)); in emitGlobalDecl()
385 if (getGlobalValue(mangledName) != nullptr) { in emitGlobal()
440 mlir::Operation *CIRGenModule::getGlobalValue(StringRef name) { in getGlobalValue() function in CIRGenModule
529 if (mlir::Operation *v = getGlobalValue(mangledName)) { in getOrCreateCIRGlobal()
925 mlir::Operation *entry = getGlobalValue(mangledName); in applyReplacements()
1433 mlir::Operation *gv = getGlobalValue(mangledName); in emitTentativeDefinition()
1693 mlir::Operation *entry = getGlobalValue(mangledName); in getOrCreateCIRFunction()
H A DCIRGenModule.h119 mlir::Operation *getGlobalValue(llvm::StringRef ref);
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZConstantPoolValue.h51 const GlobalValue *getGlobalValue() const { return GV; } in getGlobalValue() function
H A DSystemZAsmPrinter.cpp1007 getSymbol(ZCPV->getGlobalValue()), in emitMachineConstantPoolValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVConstantPoolValue.h48 const GlobalValue *getGlobalValue() const { return GV; } in getGlobalValue() function
H A DRISCVAsmPrinter.cpp1211 auto *GV = RCPV->getGlobalValue(); in emitMachineConstantPoolValue()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DConstant.cpp405 GlobalValue *NoCFIValue::getGlobalValue() const { in getGlobalValue() function in llvm::sandboxir::NoCFIValue
406 auto *LLVMC = cast<llvm::NoCFIValue>(Val)->getGlobalValue(); in getGlobalValue()
479 GlobalValue *DSOLocalEquivalent::getGlobalValue() const { in getGlobalValue() function in llvm::sandboxir::DSOLocalEquivalent
481 Ctx.getValue(cast<llvm::DSOLocalEquivalent>(Val)->getGlobalValue())); in getGlobalValue()
H A DContext.cpp348 getOrCreateValueInternal(DSOLE->getGlobalValue(), DSOLE); in getOrCreateValueInternal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DStructuralHash.cpp175 auto H = hashGlobalValue(Equiv->getGlobalValue()); in hashConstant()
H A DConstants.cpp1965 assert(Equiv->getGlobalValue() == GV && in get()
1977 const GlobalValue *GV = getGlobalValue(); in destroyConstantImpl()
1982 assert(From == getGlobalValue() && "Changing value does not match operand."); in handleOperandChangeImpl()
2006 getContext().pImpl->DSOLocalEquivalents.erase(getGlobalValue()); in handleOperandChangeImpl()
2023 assert(NC->getGlobalValue() == GV && in get()
2035 const GlobalValue *GV = getGlobalValue(); in destroyConstantImpl()
2040 assert(From == getGlobalValue() && "Changing value does not match operand."); in handleOperandChangeImpl()
2049 getContext().pImpl->NoCFIValues.erase(getGlobalValue()); in handleOperandChangeImpl()
H A DAsmWriter.cpp1654 WriteAsOperandInternal(Out, Equiv->getGlobalValue(), WriterCtx); in WriteConstantInternal()
1660 WriteAsOperandInternal(Out, NC->getGlobalValue(), WriterCtx); in WriteConstantInternal()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp151 I = Equiv->getGlobalValue(); in getPointerAtOffset()
H A DConstantFolding.cpp320 GV = FoundDSOEquiv->getGlobalValue(); in IsConstantOffsetFromGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp130 const GlobalValue *getGlobalValue() { return GV; } in getGlobalValue() function in __anon50acaba20111::MipsFastISel::Address
581 if (!Addr.getGlobalValue()) { in computeCallAddress()
1554 if (!Addr.getGlobalValue()) in fastLowerCall()
1562 DestAddress = materializeGV(Addr.getGlobalValue(), MVT::i32); in fastLowerCall()
1585 Addr.getGlobalValue()->getName()), MipsII::MO_JALR); in fastLowerCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp102 const GlobalValue *getGlobalValue() const { return GV; } in getGlobalValue() function in __anon626f7eac0111::WebAssemblyFastISel::Address
235 if (Addr.getGlobalValue()) in computeAddress()
415 if (const GlobalValue *GV = Addr.getGlobalValue()) in addLoadStoreOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp519 return cmpGlobalValues(LEquiv->getGlobalValue(), REquiv->getGlobalValue()); in cmpConstants()
H A DValueMapper.cpp446 auto *Val = mapValue(E->getGlobalValue()); in mapValue()
460 auto *Val = mapValue(NC->getGlobalValue()); in mapValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h973 GlobalValue *getGlobalValue() const {
1010 GlobalValue *getGlobalValue() const {
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp141 const GlobalValue *getGlobalValue() { return GV; } in getGlobalValue() function in __anon53fc71c20111::AArch64FastISel::Address
973 if (!Addr.getGlobalValue()) { in computeCallAddress()
3219 if (Subtarget->isTargetWindows() && Addr.getGlobalValue() && in fastLowerCall()
3220 Addr.getGlobalValue()->hasExternalWeakLinkage()) in fastLowerCall()
3240 else if (Addr.getGlobalValue()) in fastLowerCall()
3241 MIB.addGlobalAddress(Addr.getGlobalValue(), 0, 0); in fastLowerCall()
3261 } else if (Addr.getGlobalValue()) in fastLowerCall()
3262 CallReg = materializeGV(Addr.getGlobalValue()); in fastLowerCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DConstant.h1334 LLVM_ABI GlobalValue *getGlobalValue() const;
1463 LLVM_ABI GlobalValue *getGlobalValue() const;
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3006 Record.push_back(VE.getTypeID(Equiv->getGlobalValue()->getType())); in writeConstants()
3007 Record.push_back(VE.getValueID(Equiv->getGlobalValue())); in writeConstants()
3010 Record.push_back(VE.getTypeID(NC->getGlobalValue()->getType())); in writeConstants()
3011 Record.push_back(VE.getValueID(NC->getGlobalValue())); in writeConstants()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3489 getSymbol(Equiv->getGlobalValue()), nullptr, 0, std::nullopt, TM); in lowerConstant()
3492 return MCSymbolRefExpr::create(getSymbol(NC->getGlobalValue()), Ctx); in lowerConstant()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1902 return getValue(Equiv->getGlobalValue()); in getValueImpl()
1905 return getValue(NC->getGlobalValue()); in getValueImpl()