Home
last modified time | relevance | path

Searched refs:getAliasee (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeAliases.cpp42 auto *NewAliasee = canonicalizeAlias(GA->getAliasee(), Changed); in canonicalizeAlias()
43 if (NewAliasee != GA->getAliasee()) { in canonicalizeAlias()
H A DCloneModule.cpp172 if (const Constant *C = I.getAliasee()) in CloneModule()
H A DEvaluator.cpp242 if (auto *Fn = dyn_cast<Function>(Alias->getAliasee())) in getFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalAlias.h87 const Constant *getAliasee() const { in getAliasee() function
90 Constant *getAliasee() { return static_cast<Constant *>(Op<0>().get()); } in getAliasee() function
H A DModuleSummaryIndex.h670 const GlobalValueSummary &getAliasee() const {
675 GlobalValueSummary &getAliasee() {
677 static_cast<const AliasSummary *>(this)->getAliasee());
691 return &AS->getAliasee();
697 return &AS->getAliasee();
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIRPartitionLayer.cpp35 Constant *Aliasee = A.getAliasee(); in extractSubModule()
167 cast<GlobalValue>(cast<GlobalAlias>(GV)->getAliasee())); in expandPartition()
172 if (Partition.count(cast<GlobalValue>(A.getAliasee()))) in expandPartition()
H A DIndirectionUtils.cpp371 assert(OrigA.getAliasee() && "Original alias doesn't have an aliasee?"); in cloneGlobalAliasDecl()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp107 FuncAliasee = dyn_cast<Function>(A->getAliasee()); in findLibCallsAndAsm()
H A DLTOModule.cpp404 isa<Function>(cast<GlobalAlias>(GV)->getAliasee()))) && in addDefinedFunctionSymbol()
614 if (isa<Function>(cast<GlobalAlias>(GV)->getAliasee())) in parseSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAlwaysInlinePass.cpp98 if (Function* F = dyn_cast<Function>(A.getAliasee())) { in alwaysInlineImpl()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp187 if (I->getAliasee()->stripPointerCasts() == GV) in eliminateAliases()
193 aliases[i]->replaceAllUsesWith(aliases[i]->getAliasee()); in eliminateAliases()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DTypeFinder.cpp47 if (const Value *Aliasee = A.getAliasee()) in run()
H A DValue.cpp677 V = cast<GlobalAlias>(V)->getAliasee(); in stripPointerCastsAndOffsets()
785 V = GA->getAliasee(); in stripAndAccumulateConstantOffsets()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp36 isa<Function>(cast<GlobalAlias>(GV).getAliasee())) in fromGlobalValue()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DConstant.cpp371 GenericSetter<&GlobalAlias::getAliasee, &GlobalAlias::setAliasee>>( in setAliasee()
376 Constant *GlobalAlias::getAliasee() const { in getAliasee() function in llvm::sandboxir::GlobalAlias
378 Ctx.getOrCreateConstant(cast<llvm::GlobalAlias>(Val)->getAliasee())); in getAliasee()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp120 if (!isa<GlobalValue>(A.getAliasee())) in orderModule()
121 orderValue(A.getAliasee(), OM); in orderModule()
349 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack); in predictUseListOrder()
404 EnumerateValue(GA.getAliasee()); in ValueEnumerator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp443 if (!isa<Function>(A.getAliasee())) in splitAndWriteThinLTOBitcode()
446 auto *F = cast<Function>(A.getAliasee()); in splitAndWriteThinLTOBitcode()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64Arm64ECCallLowering.cpp676 Function *F = cast<Function>(MangledAlias->getAliasee()); in buildPatchableThunk()
703 {UnmangledAlias, ExitThunk, UnmangledAlias->getAliasee()}); in buildPatchableThunk()
883 auto F = dyn_cast<Function>(GA ? GA->getAliasee() : O); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp235 Fn = dyn_cast<Function>(A->getAliasee()); in getFunctionAtVTableOffset()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp324 predictValueUseListOrder(A.getAliasee(), nullptr, OM, Stack); in predictUseListOrder()
383 EnumerateValue(GA.getAliasee()); in ValueEnumerator()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp328 cast<GlobalAlias>(GV)->getAliasee()->stripPointerCasts()); in addSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp720 Arg = cast<GlobalAlias>(Arg)->getAliasee(); in run()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp631 NewF = dyn_cast<llvm::Function>(Alias->getAliasee()); in applyReplacements()
670 C = GA->getAliasee(); in getAliasedGlobal()
801 : cast<llvm::GlobalAlias>(Alias)->getAliasee(); in checkAliases()
826 GA->getAliasee(), Alias->getType()); in checkAliases()
3943 llvm::GlobalValue *Entry = GetGlobalValue(AA->getAliasee()); in GetWeakRefReference()
3949 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, in GetWeakRefReference()
3953 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, LangAS::Default, in GetWeakRefReference()
6343 if (AA->getAliasee() == MangledName) { in EmitAliasDefinition()
6363 Aliasee = GetOrCreateLLVMFunction(AA->getAliasee(), DeclTy, GD, in EmitAliasDefinition()
6367 Aliasee = GetOrCreateLLVMGlobal(AA->getAliasee(), DeclTy, LangAS::Default, in EmitAliasDefinition()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DIRMover.cpp524 if (GA->getAliasee()) in materialize()
1045 Mapper.scheduleMapGlobalAlias(Dst, *Src.getAliasee(), IndirectSymbolMCID); in linkAliasAliasee()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp147 GV = GA->getAliasee(); in queryCallee()

123