name string | code string | asm string | file string |
|---|---|---|---|
llvm::DenseMap<llvm::Instruction*, std::pair<std::vector<llvm::NonLocalDepEntry, std::allocator<llvm::NonLocalDepEntry>>, bool>, llvm::DenseMapInfo<llvm::Instruction*, void>, llvm::detail::DenseMapPair<llvm::Instruction*, std::pair<std::vector<llvm::NonLocalDepEntry, std::allocator<llvm::NonLocalDepEntry>>, bool>>>::sw... | void swap(DenseMap& RHS) {
this->incrementEpoch();
RHS.incrementEpoch();
std::swap(Buckets, RHS.Buckets);
std::swap(NumEntries, RHS.NumEntries);
std::swap(NumTombstones, RHS.NumTombstones);
std::swap(NumBuckets, RHS.NumBuckets);
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x548460
movq 0x8(%rsp), %rdi
callq 0x548460
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x4486a90
movq (%rsp), %rdi
addq $0x8, %rdi
movq 0x8(%rsp), %rsi
addq $0x8, %rsi
callq 0x582e30
movq (%rsp), %rdi
addq $0xc,... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction*, llvm::MemDepResult, llvm::DenseMapInfo<llvm::Instruction*, void>, llvm::detail::DenseMapPair<llvm::Instruction*, llvm::MemDepResult>>, llvm::Instruction*, llvm::MemDepResult, llvm::DenseMapInfo<llvm::Instruction*, void>, llvm::detail::DenseMapPair<llvm::Instruction*... | void destroyAll() {
if (getNumBuckets() == 0) // Nothing to do.
return;
const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
!KeyInfoT::isEqual(P->... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x44858e0
cmpl $0x0, %eax
jne 0x4488fe2
jmp 0x448907a
callq 0x4485820
movq %rax, 0x28(%rsp)
callq 0x4489080
movq 0x8(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0x4485830
movq 0x8(%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0x4485840
movq %... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, llvm::SmallSetVector<llvm::Value const*, 4u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallSetVector<llvm::Value const*, 4u>>>, unsigned int, llvm::SmallSetVector<llvm::Value const*, 4u>, llvm::DenseMapInfo<unsigned int, void... | void initEmpty() {
setNumEntries(0);
setNumTombstones(0);
assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
"# initial buckets must be a power of two!");
const KeyT EmptyKey = getEmptyKey();
for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
::new (&B->getFirst... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
xorl %esi, %esi
callq 0x448bd60
movq (%rsp), %rdi
xorl %esi, %esi
callq 0x448bd80
callq 0x448bda0
movq (%rsp), %rdi
movl %eax, 0x1c(%rsp)
callq 0x448bdb0
movq (%rsp), %rdi
movq %rax, 0x10(%rsp)
callq 0x448bdc0
movq %rax, 0x8(%rsp)
movq 0x10(... | /llvm/ADT/DenseMap.h |
llvm::InlineAdvisorAnalysis::Result& llvm::AnalysisManager<llvm::Module>::getResult<llvm::InlineAdvisorAnalysis>(llvm::Module&) | typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) {
assert(AnalysisPasses.count(PassT::ID()) &&
"This analysis pass was not registered prior to being queried");
ResultConceptT &ResultConcept =
getResultImpl(PassT::ID(), IR, ExtraArgs...);
using ResultModelT =
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x446d960
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x31334c0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x8, %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /llvm/IR/PassManager.h |
void llvm::SmallVectorTemplateBase<llvm::DICompileUnit*, true>::uninitialized_copy<llvm::DICompileUnit*, llvm::DICompileUnit*>(llvm::DICompileUnit**, llvm::DICompileUnit**, llvm::DICompileUnit**, std::enable_if<std::is_same<std::remove_const<llvm::DICompileUnit*>::type, llvm::DICompileUnit*>::value, void>::type*) | static void uninitialized_copy(
T1 *I, T1 *E, T2 *Dest,
std::enable_if_t<std::is_same<std::remove_const_t<T1>, T2>::value> * =
nullptr) {
// Use memcpy for PODs iterated by pointers (which includes SmallVector
// iterators): std::uninitialized_copy optimizes to memmove, but we can
// u... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x44a7e68
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rax
subq %rax, %rdx
sarq $0x3, %rdx
shlq $0x3, %rdx
callq 0x348690
addq $0x... | /llvm/ADT/SmallVector.h |
llvm::StringRef llvm::getTypeName<llvm::StructuralHashPrinterPass>() | inline StringRef getTypeName() {
#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
Name = Name.substr(Name.find(Key));
assert(!Name.empty() && "Unable to find the template parameter!");
Name = Name.drop_front(Key.size());
assert(Name.en... | subq $0x78, %rsp
leaq 0x3f9e6bb(%rip), %rsi # 0x844c5d6
leaq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3ee9c0
leaq 0x200794c(%rip), %rsi # 0x64b587d
leaq 0x40(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3ee9c0
movq 0x8(%rsp), %rdi
movups 0x40(%rsp), %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp)... | /llvm/Support/TypeName.h |
llvm::DOTGraphTraitsPrinter<llvm::PostDominatorTreeAnalysis, true, llvm::PostDominatorTree*, llvm::DefaultAnalysisGraphTraits<llvm::PostDominatorTree&, llvm::PostDominatorTree*>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&) | PreservedAnalyses run(Function &F, FunctionAnalysisManager &FAM) {
auto &Result = FAM.getResult<AnalysisT>(F);
if (!processFunction(F, Result))
return PreservedAnalyses::all();
GraphT Graph = AnalysisGraphTraitsT::getGraph(Result);
printGraphForFunction(F, Graph, Name, IsSimple);
return Pre... | subq $0x58, %rsp
movq %rdi, (%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0xc84a00
movq 0x10(%rsp), %rdi
movq %rax, 0x30(%rsp)
movq 0x40(%rs... | /llvm/Analysis/DOTGraphTraitsPass.h |
llvm::SmallVectorImpl<std::pair<llvm::Value*, llvm::SmallVector<llvm::GetElementPtrInst*, 8u>>>::operator=(llvm::SmallVectorImpl<std::pair<llvm::Value*, llvm::SmallVector<llvm::GetElementPtrInst*, 8u>>>&&) | SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) {
// Avoid self-assignment.
if (this == &RHS) return *this;
// If the RHS isn't small, clear this vector and then steal its buffer.
if (!RHS.isSmall()) {
this->assignRemote(std::move(RHS));
return *this;
}
// If we already... | subq $0x68, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq 0x50(%rsp), %rax
jne 0x44c686e
movq 0x30(%rsp), %rax
movq %rax, 0x60(%rsp)
jmp 0x44c6a47
movq 0x50(%rsp), %rdi
callq 0x4448af0
testb $0x1, %al
jne 0x44c689a
movq 0x30(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x4... | /llvm/ADT/SmallVector.h |
llvm::StringRef llvm::getTypeName<llvm::RequireAnalysisPass<llvm::PassInstrumentationAnalysis, llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>>() | inline StringRef getTypeName() {
#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
Name = Name.substr(Name.find(Key));
assert(!Name.empty() && "Unable to find the template parameter!");
Name = Name.drop_front(Key.size());
assert(Name.en... | subq $0x78, %rsp
leaq 0x3f792c1(%rip), %rsi # 0x844cdcc
leaq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3ee9c0
leaq 0x1fe1d5c(%rip), %rsi # 0x64b587d
leaq 0x40(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3ee9c0
movq 0x8(%rsp), %rdi
movups 0x40(%rsp), %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp)... | /llvm/Support/TypeName.h |
llvm::LoopAccessAnalysis::Result& llvm::AnalysisManager<llvm::Function>::getResult<llvm::LoopAccessAnalysis>(llvm::Function&) | typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) {
assert(AnalysisPasses.count(PassT::ID()) &&
"This analysis pass was not registered prior to being queried");
ResultConceptT &ResultConcept =
getResultImpl(PassT::ID(), IR, ExtraArgs...);
using ResultModelT =
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x3653cf0
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x3134eb0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x8, %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /llvm/IR/PassManager.h |
llvm::DependenceAnalysis::Result& llvm::AnalysisManager<llvm::Function>::getResult<llvm::DependenceAnalysis>(llvm::Function&) | typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) {
assert(AnalysisPasses.count(PassT::ID()) &&
"This analysis pass was not registered prior to being queried");
ResultConceptT &ResultConcept =
getResultImpl(PassT::ID(), IR, ExtraArgs...);
using ResultModelT =
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x447e660
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x3134eb0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x8, %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /llvm/IR/PassManager.h |
llvm::StringRef llvm::getTypeName<llvm::InvalidateAnalysisPass<llvm::DemandedBitsAnalysis>>() | inline StringRef getTypeName() {
#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
Name = Name.substr(Name.find(Key));
assert(!Name.empty() && "Unable to find the template parameter!");
Name = Name.drop_front(Key.size());
assert(Name.en... | subq $0x78, %rsp
leaq 0x3f747af(%rip), %rsi # 0x844d83a
leaq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3ee9c0
leaq 0x1fdc7dc(%rip), %rsi # 0x64b587d
leaq 0x40(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3ee9c0
movq 0x8(%rsp), %rdi
movups 0x40(%rsp), %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp)... | /llvm/Support/TypeName.h |
llvm::StringRef llvm::getTypeName<llvm::InvalidateAnalysisPass<llvm::StackSafetyAnalysis>>() | inline StringRef getTypeName() {
#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
Name = Name.substr(Name.find(Key));
assert(!Name.empty() && "Unable to find the template parameter!");
Name = Name.drop_front(Key.size());
assert(Name.en... | subq $0x78, %rsp
leaq 0x3f6c826(%rip), %rsi # 0x844ed11
leaq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3ee9c0
leaq 0x1fd337c(%rip), %rsi # 0x64b587d
leaq 0x40(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3ee9c0
movq 0x8(%rsp), %rdi
movups 0x40(%rsp), %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp)... | /llvm/Support/TypeName.h |
llvm::SCEVAA::Result& llvm::AnalysisManager<llvm::Function>::getResult<llvm::SCEVAA>(llvm::Function&) | typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) {
assert(AnalysisPasses.count(PassT::ID()) &&
"This analysis pass was not registered prior to being queried");
ResultConceptT &ResultConcept =
getResultImpl(PassT::ID(), IR, ExtraArgs...);
using ResultModelT =
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x4492a10
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x3134eb0
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x8, %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /llvm/IR/PassManager.h |
llvm::ShouldRunExtraSimpleLoopUnswitch::Result& llvm::AnalysisManager<llvm::Loop, llvm::LoopStandardAnalysisResults&>::getResult<llvm::ShouldRunExtraSimpleLoopUnswitch>(llvm::Loop&, llvm::LoopStandardAnalysisResults&) | typename PassT::Result &getResult(IRUnitT &IR, ExtraArgTs... ExtraArgs) {
assert(AnalysisPasses.count(PassT::ID()) &&
"This analysis pass was not registered prior to being queried");
ResultConceptT &ResultConcept =
getResultImpl(PassT::ID(), IR, ExtraArgs...);
using ResultModelT =
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
callq 0x4497eb0
movq (%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x57aa0c0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
addq $0x8, %rax
addq $0x28, %rsp
retq
nopw (%... | /llvm/IR/PassManager.h |
llvm::StringRef llvm::getTypeName<llvm::InvalidateAnalysisPass<llvm::ShouldRunExtraSimpleLoopUnswitch>>() | inline StringRef getTypeName() {
#if defined(__clang__) || defined(__GNUC__)
StringRef Name = __PRETTY_FUNCTION__;
StringRef Key = "DesiredTypeName = ";
Name = Name.substr(Name.find(Key));
assert(!Name.empty() && "Unable to find the template parameter!");
Name = Name.drop_front(Key.size());
assert(Name.en... | subq $0x78, %rsp
leaq 0x3f6609f(%rip), %rsi # 0x844fafa
leaq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x3ee9c0
leaq 0x1fcbe0c(%rip), %rsi # 0x64b587d
leaq 0x40(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x3ee9c0
movq 0x8(%rsp), %rdi
movups 0x40(%rsp), %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp)... | /llvm/Support/TypeName.h |
llvm::cl::opt<bool, false, llvm::cl::parser<bool>>::opt<char [16], llvm::cl::desc>(char const (&) [16], llvm::cl::desc const&) | explicit opt(const Mods &... Ms)
: Option(llvm::cl::Optional, NotHidden), Parser(*this) {
apply(this, Ms...);
done();
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
xorl %edx, %edx
movl %edx, %esi
callq 0x3f6a60
movq (%rsp), %rdi
addq $0x80, %rdi
callq 0x3f7700
movq (%rsp), %rsi
leaq 0x51e4520(%rip), %rax # 0x96df180
addq $0x10, %rax
movq %rax, (%rsi)
movq %... | /llvm/Support/CommandLine.h |
std::enable_if<!std::is_same_v<llvm::PGOInstrumentationGenCreateVar, llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>>, void>::type llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::addPass<llvm::PGOInstrumentationGenCreateVar>(llvm::PGOInstrumentationGenCreateVar&&) | LLVM_ATTRIBUTE_MINSIZE std::enable_if_t<!std::is_same_v<PassT, PassManager>>
addPass(PassT &&Pass) {
using PassModelT =
detail::PassModel<IRUnitT, PassT, AnalysisManagerT, ExtraArgTs...>;
// Do not use make_unique or emplace_back, they cause too many template
// instantiations, causing terrible co... | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x30, %edi
callq 0x349070
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rsi
leaq 0x18(%rsp), %rdi
callq 0x4507140
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x4507180
movq 0x8(%rsp), %rsi
leaq 0x40(%rsp), %rdi
... | /llvm/IR/PassManager.h |
llvm::DenseMapIterator<llvm::BasicBlock const*, llvm::DenseMap<llvm::BasicBlock const*, unsigned int, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, unsigned int>>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock cons... | void AdvancePastEmptyBuckets() {
assert(Ptr <= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
++Ptr;
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0xb860b0
movq %rax, 0x18(%rsp)
callq 0xb860d0
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %rdx
movq (%rdx), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, 0x7(%rsp)
je 0x4532b28
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x45319b0
... | /llvm/ADT/DenseMap.h |
bool llvm::IRComparer<llvm::DCData>::generateFunctionData<llvm::Function>(llvm::IRDataT<llvm::DCData>&, llvm::Function const&) | bool IRComparer<T>::generateFunctionData(IRDataT<T> &Data, const FunctionT &F) {
if (shouldGenerateData(F)) {
FuncDataT<T> FD(F.front().getName().str());
int I = 0;
for (const auto &B : F) {
std::string BBName = B.getName().str();
if (BBName.empty()) {
BBName = formatv("{0}", I);
... | subq $0x268, %rsp # imm = 0x268
movq %rdi, 0x258(%rsp)
movq %rsi, 0x250(%rsp)
movq 0x250(%rsp), %rdi
callq 0x453cbe0
testb $0x1, %al
jne 0x453c5ad
jmp 0x453c888
movq 0x250(%rsp), %rdi
callq 0x1ab90f0
movq %rax, %rdi
callq 0x316dd90
movq %rax, 0x1d0(%rsp)
movq %rdx, 0x1d8(%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x1... | /Passes/StandardInstrumentations.cpp |
checkIfSupported(llvm::Function const*, llvm::CallBase const*) | static inline bool checkIfSupported(const Function *F, const CallBase *CB) {
const auto Dx = F->getName().rfind("__hipstdpar_unsupported");
if (Dx == StringRef::npos)
return true;
const auto N = F->getName().substr(0, Dx);
std::string W;
raw_string_ostream OS(W);
if (N == "__ASM")
OS << "Acceler... | subq $0x1a8, %rsp # imm = 0x1A8
movq %rdi, 0x198(%rsp)
movq %rsi, 0x190(%rsp)
movq 0x198(%rsp), %rdi
callq 0x316dd90
movq %rax, 0x178(%rsp)
movq %rdx, 0x180(%rsp)
leaq 0x168(%rsp), %rdi
leaq 0x3ef9b52(%rip), %rsi # 0x8452b25
callq 0x3ee9c0
movq 0x168(%rsp), %rsi
movq 0x170(%rsp), %rdx
leaq 0x178(%rsp), %rd... | /Transforms/HipStdPar/HipStdPar.cpp |
llvm::DenseMapBase<llvm::SmallDenseMap<llvm::StringRef, llvm::StringRef, 4u, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::StringRef>>, llvm::StringRef, llvm::StringRef, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::StringRef>... | void destroyAll() {
if (getNumBuckets() == 0) // Nothing to do.
return;
const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
!KeyInfoT::isEqual(P->... | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq 0x80(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x455b280
cmpl $0x0, %eax
jne 0x455c4db
jmp 0x455c5e6
callq 0x455b130
movq %rax, 0x70(%rsp)
movq %rdx, 0x78(%rsp)
callq 0x455b980
movq 0x8(%rsp), %rdi
movq %rax, 0x60(%rsp)
movq %rdx, 0x68(%rsp)
callq 0x455b160
movq 0x8(%rsp), %rdi
... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<std::pair<llvm::Value const*, llvm::Value const*>, bool, llvm::DenseMapInfo<std::pair<llvm::Value const*, llvm::Value const*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::Value const*, llvm::Value const*>, bool>>::allocateBuckets(unsigned int) | bool allocateBuckets(unsigned Num) {
NumBuckets = Num;
if (NumBuckets == 0) {
Buckets = nullptr;
return false;
}
Buckets = static_cast<BucketT *>(
allocate_buffer(sizeof(BucketT) * NumBuckets, alignof(BucketT)));
return true;
} | subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movl 0x14(%rsp), %ecx
movl %ecx, 0x10(%rax)
cmpl $0x0, 0x10(%rax)
jne 0x455d307
movq 0x8(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0x27(%rsp)
jmp 0x455d32d
movq 0x8(%rsp), %rax
movl 0x10(%rax), %eax
imulq $0x18, %rax,... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Value*, unsigned long, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, unsigned long>>, llvm::Value*, unsigned long, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, unsigned long>>::makeIterator(llvm::detail::Dense... | iterator makeIterator(BucketT *P, BucketT *E,
DebugEpochBase &Epoch,
bool NoAdvance=false) {
if (shouldReverseIterate<KeyT>()) {
BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1;
return iterator(B, E, Epoch, NoAdvance);
}
return iterator(P,... | subq $0x58, %rsp
movb %r8b, %al
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x14fbf70
testb $0x1, %al
jne 0x456a7e6
jmp 0x456a852
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rax
movq %rax, 0x8(%... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*, 2u>, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*, 2u>>>, llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*... | bool LookupBucketFor(const LookupKeyT &Val,
const BucketT *&FoundBucket) const {
const BucketT *BucketsPtr = getBuckets();
const unsigned NumBuckets = getNumBuckets();
if (NumBuckets == 0) {
FoundBucket = nullptr;
return false;
}
// FoundTombstone - Keep track of... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x456c3a0
movq 0x18(%rsp), %rdi
movq %rax, 0x50(%rsp)
callq 0x456bf30
movl %eax, 0x4c(%rsp)
cmpl $0x0, 0x4c(%rsp)
jne 0x456c252
movq 0x58(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0x77(%rs... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*, 2u>, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*, 2u>>>, llvm::Instruction const*, llvm::SmallPtrSet<llvm::Value const*, 2u>... | const_iterator find(const_arg_type_t<KeyT> Val) const {
const BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeConstIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(... | subq $0x48, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x28(%rsp), %rsi
leaq 0x20(%rsp), %rdx
callq 0x456c200
testb $0x1, %al
jne 0x456efed
jmp 0x456f04b
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x36874d0
testb $0x1, %al
jne 0x456f002
jmp 0x456f013
movq 0x... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<llvm::Value*, llvm::objcarc::RRInfo, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, llvm::objcarc::RRInfo>>::grow(unsigned int) | void grow(unsigned AtLeast) {
unsigned OldNumBuckets = NumBuckets;
BucketT *OldBuckets = Buckets;
allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
assert(Buckets);
if (!OldBuckets) {
this->BaseT::initEmpty();
return;
}
this->moveFromOldBu... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movl 0x10(%rax), %ecx
movl %ecx, 0x18(%rsp)
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movl $0x40, 0xc(%rsp)
movl 0x1c(%rsp), %eax
subl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x5487c0
movl %eax, 0x8(%rsp)
leaq 0x... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<llvm::CallInst*, llvm::CallBase*, llvm::DenseMapInfo<llvm::CallInst*, void>, llvm::detail::DenseMapPair<llvm::CallInst*, llvm::CallBase*>>::grow(unsigned int) | void grow(unsigned AtLeast) {
unsigned OldNumBuckets = NumBuckets;
BucketT *OldBuckets = Buckets;
allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
assert(Buckets);
if (!OldBuckets) {
this->BaseT::initEmpty();
return;
}
this->moveFromOldBu... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movl 0x10(%rax), %ecx
movl %ecx, 0x18(%rsp)
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movl $0x40, 0xc(%rsp)
movl 0x1c(%rsp), %eax
subl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x5487c0
movl %eax, 0x8(%rsp)
leaq 0x... | /llvm/ADT/DenseMap.h |
llvm::CoroIdInst* const* llvm::SmallVectorTemplateCommon<llvm::CoroIdInst*, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<llvm::CoroIdInst*, true>>(llvm::SmallVectorTemplateBase<llvm::CoroIdInst*, true>*, llvm::CoroIdInst* const&, unsigned long) | static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt,
size_t N) {
size_t NewSize = This->size() + N;
if (LLVM_LIKELY(NewSize <= This->capacity()))
return &Elt;
bool ReferencesStorage = false;
int64_t Index = -1;
if (!U::Take... | subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dca0
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dab0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
ja 0x4581d14
movq 0x3... | /llvm/ADT/SmallVector.h |
handleNoSuspendCoroutine(llvm::coro::Shape&) | static void handleNoSuspendCoroutine(coro::Shape &Shape) {
auto *CoroBegin = Shape.CoroBegin;
auto *CoroId = CoroBegin->getId();
auto *AllocInst = CoroId->getCoroAlloc();
switch (Shape.ABI) {
case coro::ABI::Switch: {
auto SwitchId = cast<CoroIdInst>(CoroId);
coro::replaceCoroFree(SwitchId, /*Elide=*/... | subq $0x158, %rsp # imm = 0x158
movq %rdi, 0x150(%rsp)
movq 0x150(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x148(%rsp)
movq 0x148(%rsp), %rdi
callq 0x458d9c0
movq %rax, 0x140(%rsp)
movq 0x140(%rsp), %rdi
callq 0x458d9e0
movq %rax, 0x138(%rsp)
movq 0x150(%rsp), %rax
movl 0x118(%rax), %eax
movl %eax, 0x2c(%rsp... | /Transforms/Coroutines/CoroSplit.cpp |
markCoroutineAsDone(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::coro::Shape const&, llvm::Value*) | static void markCoroutineAsDone(IRBuilder<> &Builder, const coro::Shape &Shape,
Value *FramePtr) {
assert(
Shape.ABI == coro::ABI::Switch &&
"markCoroutineAsDone is only supported for Switch-Resumed ABI for now.");
auto *GepIndex = Builder.CreateStructGEP(
Shape.Fra... | subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xb8(%rsp), %rax
movq 0x120(%rax), %rax
movq %rax, 0x30(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x3ec4d8d(%rip), %rsi # 0x84536e9
callq 0x3eee40
movq... | /Transforms/Coroutines/CoroSplit.cpp |
(anonymous namespace)::RematGraph::RematGraph(std::function<bool (llvm::Instruction&)> const&, llvm::Instruction*, (anonymous namespace)::SuspendCrossingInfo&) | RematGraph(const std::function<bool(Instruction &)> &MaterializableCallback,
Instruction *I, SuspendCrossingInfo &Checker)
: MaterializableCallback(MaterializableCallback), Checker(Checker) {
std::unique_ptr<RematNode> FirstNode = std::make_unique<RematNode>(I);
EntryNode = FirstNode.get();
... | subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x78(%rsp)
movq 0x90(%rsp), %rdi
movq %rdi, (%rsp)
addq $0x8, %rdi
callq 0x45aafb0
movq (%rsp), %rax
movq 0x88(%rsp), %rcx
movq %rcx, 0x120(%rax)
movq 0x78(%rsp), %rcx
movq %rcx, 0x128(%rax)
leaq 0x70(%rsp), %rdi
leaq 0x80(%rs... | /Transforms/Coroutines/CoroFrame.cpp |
(anonymous namespace)::SuspendCrossingInfo::hasPathOrLoopCrossingSuspendPoint(llvm::BasicBlock*, llvm::BasicBlock*) const | bool hasPathOrLoopCrossingSuspendPoint(BasicBlock *From,
BasicBlock *To) const {
size_t const FromIndex = Mapping.blockToIndex(From);
size_t const ToIndex = Mapping.blockToIndex(To);
bool Result = Block[ToIndex].Kills[FromIndex] ||
(From == To && Bl... | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x38(%rsp), %rsi
callq 0x45a9190
movq 0x10(%rsp), %rdi
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rsi
callq 0x45a9190
movq 0x10(%rsp), %rdi
movq %rax, 0x20(%rsp)
addq $0x110, %rdi ... | /Transforms/Coroutines/CoroFrame.cpp |
llvm::DenseMapIterator<llvm::Instruction*, std::optional<llvm::APInt>, llvm::DenseMapInfo<llvm::Instruction*, void>, llvm::detail::DenseMapPair<llvm::Instruction*, std::optional<llvm::APInt>>, true>::operator++() | inline DenseMapIterator& operator++() { // Preincrement
assert(isHandleInSync() && "invalid iterator access!");
assert(Ptr != End && "incrementing end() iterator");
if (shouldReverseIterate<KeyT>()) {
--Ptr;
RetreatPastEmptyBuckets();
return *this;
}
++Ptr;
AdvancePastEmptyBuc... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, (%rsp)
callq 0x7ba9e0
testb $0x1, %al
jne 0x45ba11d
jmp 0x45ba13b
movq (%rsp), %rdi
movq (%rdi), %rax
addq $-0x20, %rax
movq %rax, (%rdi)
callq 0x45ba370
movq (%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x45ba157
movq (%rsp), %rdi
movq (%rdi), %rax
addq $... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::FrameTypeBuilder::addFieldForAllocas(llvm::Function const&, (anonymous namespace)::FrameDataInfo&, llvm::coro::Shape&) | void FrameTypeBuilder::addFieldForAllocas(const Function &F,
FrameDataInfo &FrameData,
coro::Shape &Shape) {
using AllocaSetType = SmallVector<AllocaInst *, 4>;
SmallVector<AllocaSetType, 4> NonOverlapedAllocas;
// We need to add... | subq $0x8c8, %rsp # imm = 0x8C8
movq %rdi, 0x8c0(%rsp)
movq %rsi, 0x8b8(%rsp)
movq %rdx, 0x8b0(%rsp)
movq %rcx, 0x8a8(%rsp)
movq 0x8c0(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x7d8(%rsp), %rdi
callq 0x45bd550
movq 0x28(%rsp), %rax
leaq 0x7d8(%rsp), %rcx
movq %rcx, 0x7a0(%rsp)
movq %rax, 0x7a8(%rsp)
movq 0x8b0... | /Transforms/Coroutines/CoroFrame.cpp |
llvm::DenseMapBase<llvm::DenseMap<llvm::Value*, llvm::DILocalVariable*, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, llvm::DILocalVariable*>>, llvm::Value*, llvm::DILocalVariable*, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, llvm::DILocalVariable*... | void destroyAll() {
if (getNumBuckets() == 0) // Nothing to do.
return;
const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
!KeyInfoT::isEqual(P->... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x45c4670
cmpl $0x0, %eax
jne 0x45ca112
jmp 0x45ca1aa
callq 0x45c45b0
movq %rax, 0x28(%rsp)
callq 0x45c51f0
movq 0x8(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0x45c45c0
movq 0x8(%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0x45c45d0
movq %... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<llvm::CallBase*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::CallBase*, void>, llvm::detail::DenseSetPair<llvm::CallBase*>>, llvm::CallBase*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::CallBase*, void>, llvm::detail::DenseSetPair<llvm::CallBase*>>::LookupBucke... | bool LookupBucketFor(const LookupKeyT &Val,
const BucketT *&FoundBucket) const {
const BucketT *BucketsPtr = getBuckets();
const unsigned NumBuckets = getNumBuckets();
if (NumBuckets == 0) {
FoundBucket = nullptr;
return false;
}
// FoundTombstone - Keep track of... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x45d0c20
movq 0x18(%rsp), %rdi
movq %rax, 0x50(%rsp)
callq 0x45cfd00
movl %eax, 0x4c(%rsp)
cmpl $0x0, 0x4c(%rsp)
jne 0x45d0ad2
movq 0x58(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0x77(%rs... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Argument*, llvm::SmallVector<std::pair<long, (anonymous namespace)::ArgPart>, 4u>, llvm::DenseMapInfo<llvm::Argument*, void>, llvm::detail::DenseMapPair<llvm::Argument*, llvm::SmallVector<std::pair<long, (anonymous namespace)::ArgPart>, 4u>>>, llvm::Argument*, llvm::SmallVector<s... | iterator makeIterator(BucketT *P, BucketT *E,
DebugEpochBase &Epoch,
bool NoAdvance=false) {
if (shouldReverseIterate<KeyT>()) {
BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1;
return iterator(B, E, Epoch, NoAdvance);
}
return iterator(P,... | subq $0x58, %rsp
movb %r8b, %al
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x45dbad0
testb $0x1, %al
jne 0x45dba26
jmp 0x45dba94
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rax
movq %rax, 0x8(%... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Argument*, llvm::SmallVector<std::pair<long, (anonymous namespace)::ArgPart>, 4u>, llvm::DenseMapInfo<llvm::Argument*, void>, llvm::detail::DenseMapPair<llvm::Argument*, llvm::SmallVector<std::pair<long, (anonymous namespace)::ArgPart>, 4u>>>, llvm::Argument*, llvm::SmallVector<s... | void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) {
initEmpty();
// Insert all the old elements.
const KeyT EmptyKey = getEmptyKey();
const KeyT TombstoneKey = getTombstoneKey();
for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) {
if (!KeyInfoT::isEqu... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x45d5d00
callq 0x45d5dc0
movq %rax, 0x48(%rsp)
callq 0x45dbd10
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x38(%rs... | /llvm/ADT/DenseMap.h |
bool llvm::AA::hasAssumedIRAttr<(llvm::Attribute::AttrKind)24, llvm::AbstractAttribute>(llvm::Attributor&, llvm::AbstractAttribute const*, llvm::IRPosition const&, llvm::DepClassTy, bool&, bool, llvm::AbstractAttribute const**) | bool hasAssumedIRAttr(Attributor &A, const AbstractAttribute *QueryingAA,
const IRPosition &IRP, DepClassTy DepClass, bool &IsKnown,
bool IgnoreSubsumingPositions = false,
const AAType **AAPtr = nullptr) {
IsKnown = false;
switch (AK) {
#define CASE(... | subq $0x98, %rsp
movb %r9b, %al
movq 0xa0(%rsp), %r9
movq %rdi, 0x88(%rsp)
movq %rsi, 0x80(%rsp)
movq %rdx, 0x78(%rsp)
movl %ecx, 0x74(%rsp)
movq %r8, 0x68(%rsp)
andb $0x1, %al
movb %al, 0x67(%rsp)
movq 0x68(%rsp), %rax
movb $0x0, (%rax)
movq 0x88(%rsp), %rdi
movq 0x78(%rsp), %rsi
movb 0x67(%rsp), %al
movl $0x18, %edx
... | /llvm/Transforms/IPO/Attributor.h |
llvm::Attributor::hasAttr(llvm::IRPosition const&, llvm::ArrayRef<llvm::Attribute::AttrKind>, bool, llvm::Attribute::AttrKind) | bool Attributor::hasAttr(const IRPosition &IRP,
ArrayRef<Attribute::AttrKind> AttrKinds,
bool IgnoreSubsumingPositions,
Attribute::AttrKind ImpliedAttributeKind) {
bool Implied = false;
bool HasAttr = false;
auto HasAttrCB = [&](const Attr... | subq $0x188, %rsp # imm = 0x188
movb %r8b, %al
movq %rdx, 0x178(%rsp)
movq %rcx, 0x180(%rsp)
movq %rdi, 0x170(%rsp)
movq %rsi, 0x168(%rsp)
andb $0x1, %al
movb %al, 0x167(%rsp)
movl %r9d, 0x160(%rsp)
movq 0x170(%rsp), %rax
movq %rax, 0x18(%rsp)
movb $0x0, 0x15f(%rsp)
movb $0x0, 0x15e(%rsp)
leaq 0x15f(%rsp), %... | /Transforms/IPO/Attributor.cpp |
llvm::ChangeStatus llvm::Attributor::updateAttrMap<llvm::Attribute>(llvm::IRPosition const&, llvm::ArrayRef<llvm::Attribute>, llvm::function_ref<bool (llvm::Attribute const&, llvm::AttributeSet, llvm::AttributeMask&, llvm::AttrBuilder&)>) | ChangeStatus
Attributor::updateAttrMap(const IRPosition &IRP, ArrayRef<DescTy> AttrDescs,
function_ref<bool(const DescTy &, AttributeSet,
AttributeMask &, AttrBuilder &)>
CB) {
if (AttrDescs.empty())
return ChangeS... | subq $0x178, %rsp # imm = 0x178
movq %rdx, 0x160(%rsp)
movq %rcx, 0x168(%rsp)
movq %r8, 0x150(%rsp)
movq %r9, 0x158(%rsp)
movq %rdi, 0x148(%rsp)
movq %rsi, 0x140(%rsp)
movq 0x148(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x160(%rsp), %rdi
callq 0x2ef5840
testb $0x1, %al
jne 0x45e3fe7
jmp 0x45e3ff7
movl $0x1, 0x1... | /Transforms/IPO/Attributor.cpp |
void llvm::Attributor::checkAndQueryIRAttr<(llvm::Attribute::AttrKind)38, llvm::AANoUndef>(llvm::IRPosition const&, llvm::AttributeSet) | void Attributor::checkAndQueryIRAttr(const IRPosition &IRP,
AttributeSet Attrs) {
bool IsKnown;
if (!Attrs.hasAttribute(AK))
if (!Configuration.Allowed || Configuration.Allowed->count(&AAType::ID))
if (!AA::hasAssumedIRAttr<AK>(*this, nullptr, IRP, DepClassTy::NONE,
... | subq $0x38, %rsp
movq %rdx, 0x30(%rsp)
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x30(%rsp), %rdi
movl $0x26, %esi
callq 0x2ef3ac0
testb $0x1, %al
jne 0x45f2a5b
movq 0x10(%rsp), %rax
cmpq $0x0, 0x1090(%rax)
je 0x45f2a1c
movq 0x10(%rsp), %rax
movq 0x1090(%rax), %rdi
lea... | /Transforms/IPO/Attributor.cpp |
llvm::AttributorLightPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) | PreservedAnalyses AttributorLightPass::run(Module &M,
ModuleAnalysisManager &AM) {
FunctionAnalysisManager &FAM =
AM.getResult<FunctionAnalysisManagerModuleProxy>(M).getManager();
AnalysisGetter AG(FAM, /* CachedOnly */ true);
SetVector<Function *> Functions;
fo... | subq $0x468, %rsp # imm = 0x468
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x460(%rsp)
movq %rsi, 0x458(%rsp)
movq %rdx, 0x450(%rsp)
movq %rcx, 0x448(%rsp)
movq 0x448(%rsp), %rdi
movq 0x450(%rsp), %rsi
callq 0xefc2b0
movq %rax, %rdi
callq 0x3135990
movq %rax, 0x440(%rsp)
movq 0x440... | /Transforms/IPO/Attributor.cpp |
llvm::SmallVectorImpl<std::function<std::optional<llvm::Constant*> (llvm::GlobalVariable const&, llvm::AbstractAttribute const*, bool&)>>::operator=(llvm::SmallVectorImpl<std::function<std::optional<llvm::Constant*> (llvm::GlobalVariable const&, llvm::AbstractAttribute const*, bool&)>> const&) | SmallVectorImpl<T> &SmallVectorImpl<T>::
operator=(const SmallVectorImpl<T> &RHS) {
// Avoid self-assignment.
if (this == &RHS) return *this;
// If we already have sufficient space, assign the common elements, then
// destroy any excess.
size_t RHSSize = RHS.size();
size_t CurSize = this->size();
if (C... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x40(%rsp)
cmpq 0x60(%rsp), %rax
jne 0x45f538e
movq 0x40(%rsp), %rax
movq %rax, 0x70(%rsp)
jmp 0x45f554f
movq 0x60(%rsp), %rdi
callq 0x3a8dca0
movq 0x40(%rsp), %rdi
movq %rax, 0x58(%rsp)
callq 0x3a8dca0
movq %rax, 0x50(%rsp)
m... | /llvm/ADT/SmallVector.h |
llvm::AAMemoryLocation& llvm::Attributor::registerAA<llvm::AAMemoryLocation>(llvm::AAMemoryLocation&) | AAType ®isterAA(AAType &AA) {
static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
"Cannot register an attribute with a type not derived from "
"'AbstractAttribute'!");
// Put the attribute in the lookup map structure and the container we use to
// keep tra... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x58(%rsp), %rdi
callq 0xf04af0
movq %rax, %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x50(%rsp)
addq $0x68, %rax
movq %rax, 0x10(%rsp)
leaq 0x3e60f55(%rip), %rax # 0x8457c54
movq %rax, 0x28(%rsp)
movq 0x50(%rsp),... | /llvm/Transforms/IPO/Attributor.h |
llvm::SetVector<llvm::Value const*, llvm::SmallVector<llvm::Value const*, 8u>, llvm::DenseSet<llvm::Value const*, llvm::DenseMapInfo<llvm::Value const*, void>>, 8u>::insert(llvm::Value const* const&) | bool insert(const value_type &X) {
if constexpr (canBeSmall())
if (isSmall()) {
if (!llvm::is_contained(vector_, X)) {
vector_.push_back(X);
if (vector_.size() > N)
makeBig();
return true;
}
return false;
}
bool result = set_.insert(... | subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x45f90d0
testb $0x1, %al
jne 0x45f9023
jmp 0x45f907c
movq 0x8(%rsp), %rdi
addq $0x18, %rdi
movq 0x30(%rsp), %rsi
callq 0x45f90f0
testb $0x1, %al
jne 0x45f9075
movq 0x8(%rsp), %rdi
addq $0x18, %rdi
movq 0x30(%r... | /llvm/ADT/SetVector.h |
llvm::TargetLibraryAnalysis::Result* llvm::AnalysisGetter::getAnalysis<llvm::TargetLibraryAnalysis>(llvm::Function const&, bool) | typename Analysis::Result *getAnalysis(const Function &F,
bool RequestCachedOnly = false) {
if (!LegacyPass && !FAM)
return nullptr;
if (FAM) {
if (CachedOnly || RequestCachedOnly)
return FAM->getCachedResult<Analysis>(const_cast<Function &>(F));
... | subq $0x28, %rsp
movb %dl, %al
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
andb $0x1, %al
movb %al, 0xf(%rsp)
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x8(%rax)
jne 0x45fce7b
movq (%rsp), %rax
cmpq $0x0, (%rax)
jne 0x45fce7b
movq $0x0, 0x20(%rsp)
jmp 0x45fcecf
movq (%rsp), %rax
cmpq $0x0, (%rax)
je 0x45fcec6
... | /llvm/Transforms/IPO/Attributor.h |
bool llvm::is_contained<llvm::SmallVector<llvm::Function*, 8u>&, llvm::Function*>(llvm::SmallVector<llvm::Function*, 8u>&, llvm::Function* const&) | bool is_contained(R &&Range, const E &Element) {
if constexpr (detail::HasMemberContains<R, E>)
return Range.contains(Element);
else if constexpr (detail::HasMemberFind<R, E>)
return Range.find(Element) != Range.end();
else
return std::find(adl_begin(Range), adl_end(Range), Element) !=
adl_... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
callq 0x4603090
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x46030a0
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x7e1780
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rdi
callq 0x46030a0
movq %rax, %rcx
movq 0x10(%r... | /llvm/ADT/STLExtras.h |
llvm::AANoSync* llvm::Attributor::lookupAAFor<llvm::AANoSync>(llvm::IRPosition const&, llvm::AbstractAttribute const*, llvm::DepClassTy, bool) | AAType *lookupAAFor(const IRPosition &IRP,
const AbstractAttribute *QueryingAA = nullptr,
DepClassTy DepClass = DepClassTy::OPTIONAL,
bool AllowInvalidState = false) {
static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
... | subq $0x68, %rsp
movb %r8b, %al
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdx, 0x48(%rsp)
movl %ecx, 0x44(%rsp)
andb $0x1, %al
movb %al, 0x43(%rsp)
movq 0x58(%rsp), %rax
movq %rax, (%rsp)
addq $0x68, %rax
movq %rax, 0x8(%rsp)
leaq 0x3e541e8(%rip), %rax # 0x8457c41
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdx
l... | /llvm/Transforms/IPO/Attributor.h |
bool llvm::Attributor::shouldUpdateAA<llvm::AAUnderlyingObjects>(llvm::IRPosition const&) | bool shouldUpdateAA(const IRPosition &IRP) {
// If this is queried in the manifest stage, we force the AA to indicate
// pessimistic fixpoint immediately.
if (Phase == AttributorPhase::MANIFEST || Phase == AttributorPhase::CLEANUP)
return false;
Function *AssociatedFn = IRP.getAssociatedFunction(... | subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, 0xd78(%rax)
je 0x46086df
movq 0x10(%rsp), %rax
cmpl $0x3, 0xd78(%rax)
jne 0x46086e9
movb $0x0, 0x37(%rsp)
jmp 0x4608827
movq 0x20(%rsp), %rdi
callq 0xf024c0
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rdi
cal... | /llvm/Transforms/IPO/Attributor.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Value*, llvm::AttributeList, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, llvm::AttributeList>>, llvm::Value*, llvm::AttributeList, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, llvm::AttributeList>>::getMinBu... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0x4608a8e
movl $0x0, 0x14(%rsp)
jmp 0x4608aae
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x5487c0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::Value*, llvm::Attribute::AttrKind>, llvm::DenseMap<llvm::AssumeInst*, llvm::MinMax, llvm::DenseMapInfo<llvm::AssumeInst*, void>, llvm::detail::DenseMapPair<llvm::AssumeInst*, llvm::MinMax>>, llvm::DenseMapInfo<std::pair<llvm::Value*, llvm::Attribute::AttrKind>, voi... | bool LookupBucketFor(const LookupKeyT &Val,
const BucketT *&FoundBucket) const {
const BucketT *BucketsPtr = getBuckets();
const unsigned NumBuckets = getNumBuckets();
if (NumBuckets == 0) {
FoundBucket = nullptr;
return false;
}
// FoundTombstone - Keep track of... | subq $0xa8, %rsp
movq %rdi, 0x98(%rsp)
movq %rsi, 0x90(%rsp)
movq %rdx, 0x88(%rsp)
movq 0x98(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x460a4b0
movq 0x18(%rsp), %rdi
movq %rax, 0x80(%rsp)
callq 0xefdc50
movl %eax, 0x7c(%rsp)
cmpl $0x0, 0x7c(%rsp)
jne 0x460a2aa
movq 0x88(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0xa7(%rsp... | /llvm/ADT/DenseMap.h |
void llvm::SmallVectorImpl<std::unique_ptr<llvm::Attributor::ArgumentReplacementInfo, std::default_delete<llvm::Attributor::ArgumentReplacementInfo>>>::resizeImpl<false>(unsigned long) | void resizeImpl(size_type N) {
if (N == this->size())
return;
if (N < this->size()) {
this->truncate(N);
return;
}
this->reserve(N);
for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
if (ForOverwrite)
new (&*I) T;
else
new (&*I) T();
t... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x3a8dca0
movq %rax, %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
jne 0x4615e09
jmp 0x4615ea7
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rax
movq %rax, (%rsp)
callq 0x3a8dc... | /llvm/ADT/SmallVector.h |
std::pair<llvm::CallBase*, llvm::CallBase*> const* llvm::SmallVectorTemplateCommon<std::pair<llvm::CallBase*, llvm::CallBase*>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<llvm::CallBase*, llvm::CallBase*>, true>>(llvm::SmallVectorTemplateBase<std::pair<llvm::CallBase*, llvm::CallBas... | static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt,
size_t N) {
size_t NewSize = This->size() + N;
if (LLVM_LIKELY(NewSize <= This->capacity()))
return &Elt;
bool ReferencesStorage = false;
int64_t Index = -1;
if (!U::Take... | subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dca0
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dab0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
ja 0x4617724
movq 0x3... | /llvm/ADT/SmallVector.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseSetPair<llvm::Instruction const*>>, llvm::Instruction const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::Den... | iterator makeIterator(BucketT *P, BucketT *E,
DebugEpochBase &Epoch,
bool NoAdvance=false) {
if (shouldReverseIterate<KeyT>()) {
BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1;
return iterator(B, E, Epoch, NoAdvance);
}
return iterator(P,... | subq $0x58, %rsp
movb %r8b, %al
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x36874d0
testb $0x1, %al
jne 0x4617f56
jmp 0x4617fc2
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rax
movq %rax, 0x8(%... | /llvm/ADT/DenseMap.h |
bool llvm::Attributor::shouldInitialize<llvm::AANoReturn>(llvm::IRPosition const&, bool&) | bool shouldInitialize(const IRPosition &IRP, bool &ShouldUpdateAA) {
if (!AAType::isValidIRPositionForInit(*this, IRP))
return false;
if (Configuration.Allowed && !Configuration.Allowed->count(&AAType::ID))
return false;
// For now we skip anything in naked and optnone functions.
const Fun... | subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x28(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x20(%rsp), %rsi
callq 0xf01f10
testb $0x1, %al
jne 0x461dd55
movb $0x0, 0x37(%rsp)
jmp 0x461de32
movq 0x8(%rsp), %rax
cmpq $0x0, 0x1090(%rax)
je 0x461dd8b
movq 0x8(%rsp), %rax
movq 0x1090(... | /llvm/Transforms/IPO/Attributor.h |
bool llvm::Attributor::shouldInitialize<llvm::AANoRecurse>(llvm::IRPosition const&, bool&) | bool shouldInitialize(const IRPosition &IRP, bool &ShouldUpdateAA) {
if (!AAType::isValidIRPositionForInit(*this, IRP))
return false;
if (Configuration.Allowed && !Configuration.Allowed->count(&AAType::ID))
return false;
// For now we skip anything in naked and optnone functions.
const Fun... | subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x28(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x20(%rsp), %rsi
callq 0xf01f10
testb $0x1, %al
jne 0x461e905
movb $0x0, 0x37(%rsp)
jmp 0x461e9e2
movq 0x8(%rsp), %rax
cmpq $0x0, 0x1090(%rax)
je 0x461e93b
movq 0x8(%rsp), %rax
movq 0x1090(... | /llvm/Transforms/IPO/Attributor.h |
llvm::AANonConvergent* llvm::Attributor::lookupAAFor<llvm::AANonConvergent>(llvm::IRPosition const&, llvm::AbstractAttribute const*, llvm::DepClassTy, bool) | AAType *lookupAAFor(const IRPosition &IRP,
const AbstractAttribute *QueryingAA = nullptr,
DepClassTy DepClass = DepClassTy::OPTIONAL,
bool AllowInvalidState = false) {
static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
... | subq $0x68, %rsp
movb %r8b, %al
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdx, 0x48(%rsp)
movl %ecx, 0x44(%rsp)
andb $0x1, %al
movb %al, 0x43(%rsp)
movq 0x58(%rsp), %rax
movq %rax, (%rsp)
addq $0x68, %rax
movq %rax, 0x8(%rsp)
leaq 0x3e38b8d(%rip), %rax # 0x8457c46
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdx
l... | /llvm/Transforms/IPO/Attributor.h |
bool llvm::Attributor::shouldUpdateAA<llvm::AANonConvergent>(llvm::IRPosition const&) | bool shouldUpdateAA(const IRPosition &IRP) {
// If this is queried in the manifest stage, we force the AA to indicate
// pessimistic fixpoint immediately.
if (Phase == AttributorPhase::MANIFEST || Phase == AttributorPhase::CLEANUP)
return false;
Function *AssociatedFn = IRP.getAssociatedFunction(... | subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, 0xd78(%rax)
je 0x461f3ef
movq 0x10(%rsp), %rax
cmpl $0x3, 0xd78(%rax)
jne 0x461f3f9
movb $0x0, 0x37(%rsp)
jmp 0x461f537
movq 0x20(%rsp), %rdi
callq 0xf024c0
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rdi
cal... | /llvm/Transforms/IPO/Attributor.h |
llvm::AAIndirectCallInfo* llvm::Attributor::lookupAAFor<llvm::AAIndirectCallInfo>(llvm::IRPosition const&, llvm::AbstractAttribute const*, llvm::DepClassTy, bool) | AAType *lookupAAFor(const IRPosition &IRP,
const AbstractAttribute *QueryingAA = nullptr,
DepClassTy DepClass = DepClassTy::OPTIONAL,
bool AllowInvalidState = false) {
static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
... | subq $0x68, %rsp
movb %r8b, %al
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdx, 0x48(%rsp)
movl %ecx, 0x44(%rsp)
andb $0x1, %al
movb %al, 0x43(%rsp)
movq 0x58(%rsp), %rax
movq %rax, (%rsp)
addq $0x68, %rax
movq %rax, 0x8(%rsp)
leaq 0x3e32808(%rip), %rax # 0x8457c61
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdx
l... | /llvm/Transforms/IPO/Attributor.h |
void llvm::SmallVectorTemplateBase<llvm::AA::RangeTy, true>::uninitialized_copy<llvm::AA::RangeTy const, llvm::AA::RangeTy>(llvm::AA::RangeTy const*, llvm::AA::RangeTy const*, llvm::AA::RangeTy*, std::enable_if<std::is_same<std::remove_const<llvm::AA::RangeTy const>::type, llvm::AA::RangeTy>::value, void>::type*) | static void uninitialized_copy(
T1 *I, T1 *E, T2 *Dest,
std::enable_if_t<std::is_same<std::remove_const_t<T1>, T2>::value> * =
nullptr) {
// Use memcpy for PODs iterated by pointers (which includes SmallVector
// iterators): std::uninitialized_copy optimizes to memmove, but we can
// u... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x4631ac8
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rax
subq %rax, %rdx
sarq $0x4, %rdx
shlq $0x4, %rdx
callq 0x348690
addq $0x... | /llvm/ADT/SmallVector.h |
non-virtual thunk to (anonymous namespace)::AAMemoryLocationImpl::indicatePessimisticFixpoint() | ChangeStatus indicatePessimisticFixpoint() override {
// If we give up and indicate a pessimistic fixpoint this instruction will
// become an access for all potential access kinds:
// TODO: Add pointers for argmemonly and globals to improve the results of
// checkForAllAccessesToMemoryKind.
bo... | movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rdi
addq $-0x50, %rdi
jmp 0x4639a10
nopw %cs:(%rax,%rax)
nopl (%rax)
| /Transforms/IPO/AttributorAttributes.cpp |
getMinimalBaseOfPointer(llvm::Attributor&, llvm::AbstractAttribute const&, llvm::Value const*, long&, llvm::DataLayout const&, bool) | static const Value *
getMinimalBaseOfPointer(Attributor &A, const AbstractAttribute &QueryingAA,
const Value *Ptr, int64_t &BytesOffset,
const DataLayout &DL, bool AllowNonInbounds = false) {
APInt OffsetAPInt(DL.getIndexTypeSizeInBits(Ptr->getType()), 0);
const Value... | subq $0x68, %rsp
movb %r9b, %al
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
andb $0x1, %al
movb %al, 0x3f(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rdi
callq 0x782840
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x2f8a1a0
movl %ea... | /Transforms/IPO/AttributorAttributes.cpp |
void (anonymous namespace)::clampCallSiteArgumentStates<llvm::AANoAlias, llvm::BooleanState, (llvm::Attribute::AttrKind)21>(llvm::Attributor&, llvm::AANoAlias const&, llvm::BooleanState&) | static void clampCallSiteArgumentStates(Attributor &A, const AAType &QueryingAA,
StateType &S) {
LLVM_DEBUG(dbgs() << "[Attributor] Clamp call site argument states for "
<< QueryingAA << " into " << S << "\n");
assert(QueryingAA.getIRPosition().getPositio... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
jmp 0x4648825
leaq 0x48(%rsp), %rdi
callq 0x4646d50
movq 0x68(%rsp), %rdi
callq 0x45e6840
movq %rax, %rdi
callq 0xf09ce0
movl %eax, 0x44(%rsp)
leaq 0x44(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AACalleeToCallSite<llvm::AANoAlias, (anonymous namespace)::AANoAliasImpl, llvm::BooleanState, false, (llvm::Attribute::AttrKind)21>::updateImpl(llvm::Attributor&) | ChangeStatus updateImpl(Attributor &A) override {
auto IRPKind = this->getIRPosition().getPositionKind();
assert((IRPKind == IRPosition::IRP_CALL_SITE_RETURNED ||
IRPKind == IRPosition::IRP_CALL_SITE) &&
"Can only wrap function returned positions for call site "
"returned posit... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xf04af0
movq %rax, %rdi
callq 0xf025e0
movq 0x8(%rsp), %rdi
movb %al, 0x6f(%rsp)
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x8(%rsp), %rdi
movq %rax, 0x60(%rsp)
addq $0x40, %rdi
callq 0xf02200
movq %rax, %rdi
c... | /Transforms/IPO/AttributorAttributes.cpp |
bool llvm::AA::hasAssumedIRAttr<(llvm::Attribute::AttrKind)84, llvm::AbstractAttribute>(llvm::Attributor&, llvm::AbstractAttribute const*, llvm::IRPosition const&, llvm::DepClassTy, bool&, bool, llvm::AbstractAttribute const**) | bool hasAssumedIRAttr(Attributor &A, const AbstractAttribute *QueryingAA,
const IRPosition &IRP, DepClassTy DepClass, bool &IsKnown,
bool IgnoreSubsumingPositions = false,
const AAType **AAPtr = nullptr) {
IsKnown = false;
switch (AK) {
#define CASE(... | movb %r9b, %al
movq 0x8(%rsp), %r9
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movl %ecx, -0x1c(%rsp)
movq %r8, -0x28(%rsp)
andb $0x1, %al
movb %al, -0x29(%rsp)
movq -0x28(%rsp), %rax
movb $0x0, (%rax)
nop
| /llvm/Transforms/IPO/Attributor.h |
(anonymous namespace)::AAAlignImpl::initialize(llvm::Attributor&) | void initialize(Attributor &A) override {
SmallVector<Attribute, 4> Attrs;
A.getAttrs(getIRPosition(), {Attribute::Alignment}, Attrs);
for (const Attribute &Attr : Attrs)
takeKnownMaximum(Attr.getValueAsInt());
Value &V = *getAssociatedValue().stripPointerCasts();
takeKnownMaximum(V.getPointe... | subq $0xd8, %rsp
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x98(%rsp), %rdi
callq 0xf0cd30
movq 0x20(%rsp), %rdi
movq 0xc8(%rsp), %rax
movq %rax, 0x28(%rsp)
callq 0xf04af0
movq %rax, 0x30(%rsp)
movl $0x51, 0x74(%rsp)
leaq 0x74(%rsp), %rax
movq %rax, 0x78(%rsp)
movq $0x... | /Transforms/IPO/AttributorAttributes.cpp |
void clampReturnedValueStates<llvm::AAAlign, llvm::IncIntegerState<unsigned long, 4294967296ul, 1ul>, (llvm::Attribute::AttrKind)81, true>(llvm::Attributor&, llvm::AAAlign const&, llvm::IncIntegerState<unsigned long, 4294967296ul, 1ul>&, llvm::CallBase const*) | static void clampReturnedValueStates(
Attributor &A, const AAType &QueryingAA, StateType &S,
const IRPosition::CallBaseContext *CBContext = nullptr) {
LLVM_DEBUG(dbgs() << "[Attributor] Clamp return value states for "
<< QueryingAA << " into " << S << "\n");
assert((QueryingAA.getIRPosi... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
jmp 0x4657bda
leaq 0x38(%rsp), %rdi
callq 0x46573f0
leaq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x38(%rsp), %rax
movq %rax... | /Transforms/IPO/AttributorAttributes.cpp |
bool (anonymous namespace)::getArgumentStateFromCallBaseContext<llvm::AAValueConstantRange, (anonymous namespace)::AAValueConstantRangeImpl, llvm::IntegerRangeState, (llvm::Attribute::AttrKind)0>(llvm::Attributor&, (anonymous namespace)::AAValueConstantRangeImpl&, llvm::IRPosition&, llvm::IntegerRangeState&) | bool getArgumentStateFromCallBaseContext(Attributor &A,
BaseType &QueryingAttribute,
IRPosition &Pos, StateType &State) {
assert((Pos.getPositionKind() == IRPosition::IRP_ARGUMENT) &&
"Expected an 'argument' position !");
con... | subq $0xb8, %rsp
movq %rdi, 0xa8(%rsp)
movq %rsi, 0xa0(%rsp)
movq %rdx, 0x98(%rsp)
movq %rcx, 0x90(%rsp)
movq 0x98(%rsp), %rdi
callq 0xf01e20
movq %rax, 0x88(%rsp)
cmpq $0x0, 0x88(%rsp)
jne 0x465e7c4
movb $0x0, 0xb7(%rsp)
jmp 0x465e8ab
movq 0x98(%rsp), %rdi
callq 0xf09ce0
movl %eax, 0x84(%rsp)
movq 0x88(%rsp), %rdi
mov... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AAPotentialConstantValuesFloating::updateImpl(llvm::Attributor&) | ChangeStatus updateImpl(Attributor &A) override {
Value &V = getAssociatedValue();
Instruction *I = dyn_cast<Instruction>(&V);
if (auto *ICI = dyn_cast<ICmpInst>(I))
return updateWithICmpInst(A, ICI);
if (auto *SI = dyn_cast<SelectInst>(I))
return updateWithSelectInst(A, SI);
if (auto... | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq %rdi, 0x8(%rsp)
addq $0x40, %rdi
callq 0xf09c40
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rdi
callq 0x7d5b40
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x11292d0
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x46601e9
movq 0x8... | /Transforms/IPO/AttributorAttributes.cpp |
bool llvm::is_contained<llvm::SmallVector<llvm::APInt, 8u>&, llvm::APInt>(llvm::SmallVector<llvm::APInt, 8u>&, llvm::APInt const&) | bool is_contained(R &&Range, const E &Element) {
if constexpr (detail::HasMemberContains<R, E>)
return Range.contains(Element);
else if constexpr (detail::HasMemberFind<R, E>)
return Range.find(Element) != Range.end();
else
return std::find(adl_begin(Range), adl_end(Range), Element) !=
adl_... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
callq 0x4661020
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
callq 0x4661030
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x4660fd0
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rdi
callq 0x4661030
movq %rax, %rcx
movq 0x10(%... | /llvm/ADT/STLExtras.h |
llvm::AAPotentialConstantValues& llvm::Attributor::registerAA<llvm::AAPotentialConstantValues>(llvm::AAPotentialConstantValues&) | AAType ®isterAA(AAType &AA) {
static_assert(std::is_base_of<AbstractAttribute, AAType>::value,
"Cannot register an attribute with a type not derived from "
"'AbstractAttribute'!");
// Put the attribute in the lookup map structure and the container we use to
// keep tra... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x58(%rsp), %rdi
callq 0xf04af0
movq %rax, %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x50(%rsp)
addq $0x68, %rax
movq %rax, 0x10(%rsp)
leaq 0x3df3407(%rip), %rax # 0x8457c56
movq %rax, 0x28(%rsp)
movq 0x50(%rsp),... | /llvm/Transforms/IPO/Attributor.h |
(anonymous namespace)::AAPotentialValuesFloating::handlePHINode(llvm::Attributor&, llvm::PHINode&, (anonymous namespace)::AAPotentialValuesImpl::ItemInfo, llvm::SmallVectorImpl<(anonymous namespace)::AAPotentialValuesImpl::ItemInfo>&, llvm::SmallMapVector<llvm::Function const*, (anonymous namespace)::AAPotentialValuesF... | bool handlePHINode(
Attributor &A, PHINode &PHI, ItemInfo II,
SmallVectorImpl<ItemInfo> &Worklist,
SmallMapVector<const Function *, LivenessInfo, 4> &LivenessAAs) {
auto GetLivenessInfo = [&](const Function &F) -> LivenessInfo & {
LivenessInfo &LI = LivenessAAs[&F];
if (!LI.LivenessAA)... | subq $0x148, %rsp # imm = 0x148
leaq 0x150(%rsp), %rax
movq %rax, 0x70(%rsp)
movq %rdi, 0x138(%rsp)
movq %rsi, 0x130(%rsp)
movq %rdx, 0x128(%rsp)
movq %rcx, 0x120(%rsp)
movq %r8, 0x118(%rsp)
movq 0x138(%rsp), %rdi
movq %rdi, 0x78(%rsp)
movq 0x118(%rsp), %rax
movq %rax, 0x100(%rsp)
movq 0x130(%rsp), %rax
movq... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AAPotentialValuesFloating::handleGenericInst(llvm::Attributor&, llvm::Instruction&, (anonymous namespace)::AAPotentialValuesImpl::ItemInfo, llvm::SmallVectorImpl<(anonymous namespace)::AAPotentialValuesImpl::ItemInfo>&) | bool handleGenericInst(Attributor &A, Instruction &I, ItemInfo II,
SmallVectorImpl<ItemInfo> &Worklist) {
bool SomeSimplified = false;
bool UsedAssumedInformation = false;
SmallVector<Value *, 8> NewOps(I.getNumOperands());
int Idx = 0;
for (Value *Op : I.operands()) {
... | subq $0x1f8, %rsp # imm = 0x1F8
leaq 0x200(%rsp), %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x1e8(%rsp)
movq %rsi, 0x1e0(%rsp)
movq %rdx, 0x1d8(%rsp)
movq %rcx, 0x1d0(%rsp)
movq 0x1e8(%rsp), %rax
movq %rax, 0x68(%rsp)
movb $0x0, 0x1cf(%rsp)
movb $0x0, 0x1ce(%rsp)
movq 0x1d8(%rsp), %rdi
callq 0x785670
movl %eax, ... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::MapVector<llvm::Function const*, (anonymous namespace)::AAPotentialValuesFloating::LivenessInfo, llvm::SmallDenseMap<llvm::Function const*, unsigned int, 4u, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Function const*, unsigned int>>, llvm::SmallVector<std::pair<llvm::Functio... | ValueT &operator[](const KeyT &Key) {
std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0);
std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
auto &I = Result.first->second;
if (Result.second) {
Vector.push_back(std::make_pair(Key, ValueT()));
I =... | subq $0xa8, %rsp
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x98(%rsp), %rdi
movl $0x0, 0x74(%rsp)
leaq 0x74(%rsp), %rsi
callq 0x4670720
movl %edx, 0x68(%rsp)
movq %rax, 0x60(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x78(%rsp)
movl 0x68(%rsp), %eax
movl %eax, 0x80(%rsp)
l... | /llvm/ADT/MapVector.h |
llvm::DenseMapIterator<llvm::AA::ValueAndContext, unsigned int, llvm::DenseMapInfo<llvm::AA::ValueAndContext, void>, llvm::detail::DenseMapPair<llvm::AA::ValueAndContext, unsigned int>, false>::AdvancePastEmptyBuckets() | void AdvancePastEmptyBuckets() {
assert(Ptr <= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
++Ptr;
... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x4668970
movq %rax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
callq 0x4668f30
movq %rax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x8(%rsp), %rdx
movq (%rdx), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, 0x7(%rsp)
je 0x4673962
movq 0x8(... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::SmallDenseMap<llvm::Function const*, unsigned int, 4u, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Function const*, unsigned int>>, llvm::Function const*, unsigned int, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Functi... | void destroyAll() {
if (getNumBuckets() == 0) // Nothing to do.
return;
const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
!KeyInfoT::isEqual(P->... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x466d480
cmpl $0x0, %eax
jne 0x4674972
jmp 0x4674a0a
callq 0x466d360
movq %rax, 0x28(%rsp)
callq 0x4670d70
movq 0x8(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0x466d370
movq 0x8(%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0x466d380
movq %... | /llvm/ADT/DenseMap.h |
non-virtual thunk to (anonymous namespace)::AAPotentialValuesCallSiteArgument::~AAPotentialValuesCallSiteArgument() | struct AAPotentialValuesCallSiteArgument : AAPotentialValuesFloating {
AAPotentialValuesCallSiteArgument(const IRPosition &IRP, Attributor &A)
: AAPotentialValuesFloating(IRP, A) {}
/// See AbstractAttribute::trackStatistics()
void trackStatistics() const override {
STATS_DECLTRACK_CSARG_ATTR(potential... | movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rdi
addq $-0x50, %rdi
jmp 0x4679390
nopw %cs:(%rax,%rax)
nopl (%rax)
| /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AANoUndefFloating::initialize(llvm::Attributor&) | void initialize(Attributor &A) override {
AANoUndefImpl::initialize(A);
if (!getState().isAtFixpoint() && getAnchorScope() &&
!getAnchorScope()->isDeclaration())
if (Instruction *CtxI = getCtxI())
followUsesInMBEC(*this, A, getState(), *CtxI);
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x18(%rsp), %rsi
callq 0x4679b90
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x18(%rax)
testb $0x1, %al
jne 0x46795bf
movq 0x8(%rsp), %rdi
addq $0x40, %rdi
c... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::IRAttribute<(llvm::Attribute::AttrKind)38, llvm::StateWrapper<llvm::BooleanState, llvm::AbstractAttribute>, llvm::AANoUndef>::manifest(llvm::Attributor&) | ChangeStatus manifest(Attributor &A) override {
if (isa<UndefValue>(this->getIRPosition().getAssociatedValue()))
return ChangeStatus::UNCHANGED;
SmallVector<Attribute, 4> DeducedAttrs;
getDeducedAttributes(A, this->getAnchorValue().getContext(), DeducedAttrs);
if (DeducedAttrs.empty())
retur... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xf04af0
movq %rax, %rdi
callq 0xf09c40
movq %rax, %rdi
callq 0xf0cd10
testb $0x1, %al
jne 0x4679cc6
jmp 0x4679cd6
movl $0x1, 0x84(%rsp)
jmp 0x4679d9a
leaq 0x40(%rsp), %rdi
callq 0xf0cd30
movq 0x20(%rsp), %rdi... | /llvm/Transforms/IPO/Attributor.h |
(anonymous namespace)::AAPointerInfoFloating::updateImpl(llvm::Attributor&) | ChangeStatus AAPointerInfoFloating::updateImpl(Attributor &A) {
using namespace AA::PointerInfo;
ChangeStatus Changed = ChangeStatus::UNCHANGED;
const DataLayout &DL = A.getDataLayout();
Value &AssociatedValue = getAssociatedValue();
DenseMap<Value *, OffsetInfo> OffsetInfoMap;
OffsetInfoMap[&AssociatedVal... | subq $0xf8, %rsp
movq %rdi, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl $0x1, 0xdc(%rsp)
movq 0xe0(%rsp), %rdi
callq 0x4605850
movq 0x28(%rsp), %rdi
movq %rax, 0xd0(%rsp)
addq $0x40, %rdi
callq 0xf09c40
movq %rax, 0xc8(%rsp)
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
callq 0x4680440
mov... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::DenseMap<llvm::AA::RangeTy, llvm::SmallSet<unsigned int, 4u, std::less<unsigned int>>, llvm::DenseMapInfo<llvm::AA::RangeTy, void>, llvm::detail::DenseMapPair<llvm::AA::RangeTy, llvm::SmallSet<unsigned int, 4u, std::less<unsigned int>>>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movl 0xc(%rsp), %esi
callq 0x467fa10
movq (%rsp), %rdi
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %esi
callq 0x467fa60
testb $0x1, %al
jne 0x467f9e6
jmp 0x467f9f1
movq (%rsp), %rdi
callq 0x467fad0
jmp 0x467fa03
movq (%rsp), %r... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>, void>, llvm::detail::DenseSetPair<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>>>, std::pair<llvm... | bool LookupBucketFor(const LookupKeyT &Val,
const BucketT *&FoundBucket) const {
const BucketT *BucketsPtr = getBuckets();
const unsigned NumBuckets = getNumBuckets();
if (NumBuckets == 0) {
FoundBucket = nullptr;
return false;
}
// FoundTombstone - Keep track of... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdx, 0x68(%rsp)
movq 0x78(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x468f450
movq 0x18(%rsp), %rdi
movq %rax, 0x60(%rsp)
callq 0x468cf10
movl %eax, 0x5c(%rsp)
cmpl $0x0, 0x5c(%rsp)
jne 0x468f2f8
movq 0x68(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0x87(%rs... | /llvm/ADT/DenseMap.h |
llvm::DenseMapIterator<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>, void>, llvm::detail::DenseSetPair<std::pair<llvm::BasicBlock const*, llvm::BasicBlock const*>>, false>::RetreatPastEmptyBuckets... | void RetreatPastEmptyBuckets() {
assert(Ptr >= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))
-... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x3bb0940
movq %rax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
callq 0x3bb09c0
movq %rax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movq 0x8(%rsp), %rdx
movq (%rdx), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, 0x7(%rsp)
je 0x468f5da
movq 0x8(... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::AAIsDeadValueImpl::isAssumedSideEffectFree(llvm::Attributor&, llvm::Instruction*) | bool isAssumedSideEffectFree(Attributor &A, Instruction *I) {
if (!I || wouldInstructionBeTriviallyDead(I))
return true;
auto *CB = dyn_cast<CallBase>(I);
if (!CB || isa<IntrinsicInst>(CB))
return false;
const IRPosition &CallIRP = IRPosition::callsite_function(*CB);
bool IsKnownNoUnw... | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x38(%rsp)
je 0x4691549
movq 0x38(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x54586c0
testb $0x1, %al
jne 0x4691549
jmp 0x4691553
movb $0x1, 0x57(%rsp)
jmp 0x46915f4
movq 0x38... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AAIsDeadCallSiteReturned::updateImpl(llvm::Attributor&) | ChangeStatus updateImpl(Attributor &A) override {
ChangeStatus Changed = ChangeStatus::UNCHANGED;
if (IsAssumedSideEffectFree && !isAssumedSideEffectFree(A, getCtxI())) {
IsAssumedSideEffectFree = false;
Changed = ChangeStatus::CHANGED;
}
if (!areAllUsesAssumedDead(A, getAssociatedValue()))
... | subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x1, 0x1c(%rsp)
testb $0x1, 0xa8(%rax)
je 0x46937eb
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
addq $0x40, %rdi
callq 0x45e2cd0
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AAIndirectCallInfoCallSite::initialize(llvm::Attributor&) | void initialize(Attributor &A) override {
auto *MD = getCtxI()->getMetadata(LLVMContext::MD_callees);
if (!MD && !A.isClosedWorldModule())
return;
if (MD) {
for (const auto &Op : MD->operands())
if (Function *Callee = mdconst::dyn_extract_or_null<Function>(Op))
PotentialCallee... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq 0x70(%rsp), %rdi
movq %rdi, 0x10(%rsp)
addq $0x40, %rdi
callq 0x45e2cd0
movq %rax, %rdi
movl $0x17, %esi
callq 0xe35300
movq %rax, 0x60(%rsp)
cmpq $0x0, 0x60(%rsp)
jne 0x469664e
movq 0x68(%rsp), %rdi
callq 0x45e27b0
testb $0x1, %al
jne 0x469664e
jmp 0x46... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::DenseMapBase<llvm::DenseMap<llvm::Function*, std::optional<bool>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::optional<bool>>>, llvm::Function*, std::optional<bool>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::optional... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0x469811e
movl $0x0, 0x14(%rsp)
jmp 0x469813e
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x5487c0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Function*, std::optional<bool>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::optional<bool>>>, llvm::Function*, std::optional<bool>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::optional... | void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) {
initEmpty();
// Insert all the old elements.
const KeyT EmptyKey = getEmptyKey();
const KeyT TombstoneKey = getTombstoneKey();
for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) {
if (!KeyInfoT::isEqu... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x46981c0
callq 0x4698280
movq %rax, 0x48(%rsp)
callq 0x4698460
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x38(%rs... | /llvm/ADT/DenseMap.h |
std::pair<llvm::CallBase*, (anonymous namespace)::AAHeapToStackFunction::AllocationInfo*> const* llvm::SmallVectorTemplateCommon<std::pair<llvm::CallBase*, (anonymous namespace)::AAHeapToStackFunction::AllocationInfo*>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<llvm::CallBase*, (an... | static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt,
size_t N) {
size_t NewSize = This->size() + N;
if (LLVM_LIKELY(NewSize <= This->capacity()))
return &Elt;
bool ReferencesStorage = false;
int64_t Index = -1;
if (!U::Take... | subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dca0
addq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x38(%rsp), %rdi
callq 0x3a8dab0
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
ja 0x469f194
movq 0x3... | /llvm/ADT/SmallVector.h |
llvm::DenseMapIterator<llvm::BasicBlock const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseSetPair<llvm::BasicBlock const*>, false>::operator++() | inline DenseMapIterator& operator++() { // Preincrement
assert(isHandleInSync() && "invalid iterator access!");
assert(Ptr != End && "incrementing end() iterator");
if (shouldReverseIterate<KeyT>()) {
--Ptr;
RetreatPastEmptyBuckets();
return *this;
}
++Ptr;
AdvancePastEmptyBuc... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, (%rsp)
callq 0x31cb780
testb $0x1, %al
jne 0x46a6f5d
jmp 0x46a6f7b
movq (%rsp), %rdi
movq (%rdi), %rax
addq $-0x8, %rax
movq %rax, (%rdi)
callq 0x31dd300
movq (%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x46a6f97
movq (%rsp), %rdi
movq (%rdi), %rax
addq $... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<ReachabilityQueryInfo<llvm::Function>*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<ReachabilityQueryInfo<llvm::Function>*, void>, llvm::detail::DenseSetPair<ReachabilityQueryInfo<llvm::Function>*>>, ReachabilityQueryInfo<llvm::Function>*, llvm::detail::DenseSetEmpty, llvm::De... | bool LookupBucketFor(const LookupKeyT &Val,
const BucketT *&FoundBucket) const {
const BucketT *BucketsPtr = getBuckets();
const unsigned NumBuckets = getNumBuckets();
if (NumBuckets == 0) {
FoundBucket = nullptr;
return false;
}
// FoundTombstone - Keep track of... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x46ab670
movq 0x18(%rsp), %rdi
movq %rax, 0x50(%rsp)
callq 0x46aaab0
movl %eax, 0x4c(%rsp)
cmpl $0x0, 0x4c(%rsp)
jne 0x46ab522
movq 0x58(%rsp), %rax
movq $0x0, (%rax)
movb $0x0, 0x77(%rs... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::AAMemoryBehaviorImpl::getDeducedAttributes(llvm::Attributor&, llvm::LLVMContext&, llvm::SmallVectorImpl<llvm::Attribute>&) const | void getDeducedAttributes(Attributor &A, LLVMContext &Ctx,
SmallVectorImpl<Attribute> &Attrs) const override {
assert(Attrs.size() == 0);
if (isAssumedReadNone())
Attrs.push_back(Attribute::get(Ctx, Attribute::ReadNone));
else if (isAssumedReadOnly())
Attrs.push_back(... | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x45f6530
testb $0x1, %al
jne 0x46ae6cd
jmp 0x46ae703
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x40(%rsp), %rdi
movl $0x30, %esi
xorl %eax, %eax
movl %eax, %... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::IRAttribute<(llvm::Attribute::AttrKind)0, llvm::StateWrapper<llvm::BitIntegerState<unsigned char, (unsigned char)3, (unsigned char)0>, llvm::AbstractAttribute>, llvm::AAMemoryBehavior>::manifest(llvm::Attributor&) | ChangeStatus manifest(Attributor &A) override {
if (isa<UndefValue>(this->getIRPosition().getAssociatedValue()))
return ChangeStatus::UNCHANGED;
SmallVector<Attribute, 4> DeducedAttrs;
getDeducedAttributes(A, this->getAnchorValue().getContext(), DeducedAttrs);
if (DeducedAttrs.empty())
retur... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0xf04af0
movq %rax, %rdi
callq 0xf09c40
movq %rax, %rdi
callq 0xf0cd10
testb $0x1, %al
jne 0x46aeb56
jmp 0x46aeb66
movl $0x1, 0x84(%rsp)
jmp 0x46aec2a
leaq 0x40(%rsp), %rdi
callq 0xf0cd30
movq 0x20(%rsp), %rdi... | /llvm/Transforms/IPO/Attributor.h |
(anonymous namespace)::AAMemoryBehaviorImpl::getKnownStateFromValue(llvm::Attributor&, llvm::IRPosition const&, llvm::BitIntegerState<unsigned char, (unsigned char)3, (unsigned char)0>&, bool) | static void getKnownStateFromValue(Attributor &A, const IRPosition &IRP,
BitIntegerState &State,
bool IgnoreSubsumingPositions = false) {
SmallVector<Attribute, 2> Attrs;
A.getAttrs(IRP, AttrKinds, Attrs, IgnoreSubsumingPositions);
fo... | subq $0x98, %rsp
movb %cl, %al
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
andb $0x1, %al
movb %al, 0x7f(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x4603670
movq 0x90(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x48(%rsp), %rdi
leaq 0x3da8921(%rip), %rsi # 0x8457c9... | /Transforms/IPO/AttributorAttributes.cpp |
(anonymous namespace)::AAMemoryBehaviorCallSiteArgument::initialize(llvm::Attributor&) | void initialize(Attributor &A) override {
// If we don't have an associated attribute this is either a variadic call
// or an indirect call, either way, nothing to do here.
Argument *Arg = getAssociatedArgument();
if (!Arg) {
indicatePessimisticFixpoint();
return;
}
if (Arg->hasByVal... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
addq $0x40, %rdi
callq 0x45e1e70
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x46b0ea1
movq 0x8(%rsp), %rdi
addq $0x50, %rdi
callq 0x468c860
jmp 0x46b0f23
movq 0x10(%rsp), %rdi
callq 0x3033300
testb $0x1, %al
jne... | /Transforms/IPO/AttributorAttributes.cpp |
llvm::detail::DenseMapPair<llvm::AA::RangeTy, llvm::SmallSet<unsigned int, 4u, std::less<unsigned int>>>* llvm::DenseMapBase<llvm::DenseMap<llvm::AA::RangeTy, llvm::SmallSet<unsigned int, 4u, std::less<unsigned int>>, llvm::DenseMapInfo<llvm::AA::RangeTy, void>, llvm::detail::DenseMapPair<llvm::AA::RangeTy, llvm::Small... | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup,
BucketT *TheBucket) {
incrementEpoch();
// If the load of the hash table is more than 3/4, or if fewer than 1/8 of
// the buckets are empty (meaning that many are filled with tombstones),
// grow th... | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x548460
movq 0x8(%rsp), %rdi
callq 0x4680410
movq 0x8(%rsp), %rdi
addl $0x1, %eax
movl %eax, 0x34(%rsp)
callq 0x467fcb0
movl %eax, 0x30(%rsp)
movl 0x34(%rsp), %eax
s... | /llvm/ADT/DenseMap.h |
llvm::AssumptionAnalysis::Result* llvm::AnalysisGetter::getAnalysis<llvm::AssumptionAnalysis>(llvm::Function const&, bool) | typename Analysis::Result *getAnalysis(const Function &F,
bool RequestCachedOnly = false) {
if (!LegacyPass && !FAM)
return nullptr;
if (FAM) {
if (CachedOnly || RequestCachedOnly)
return FAM->getCachedResult<Analysis>(const_cast<Function &>(F));
... | subq $0x28, %rsp
movb %dl, %al
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
andb $0x1, %al
movb %al, 0xf(%rsp)
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x8(%rax)
jne 0x46b250b
movq (%rsp), %rax
cmpq $0x0, (%rax)
jne 0x46b250b
movq $0x0, 0x20(%rsp)
jmp 0x46b255f
movq (%rsp), %rax
cmpq $0x0, (%rax)
je 0x46b2556
... | /llvm/Transforms/IPO/Attributor.h |
llvm::GraphWriter<llvm::AttributorCallGraph*>::writeEdge(llvm::AACallGraphNode*, unsigned int, llvm::AACallEdgeIterator) | void writeEdge(NodeRef Node, unsigned edgeidx, child_iterator EI) {
if (NodeRef TargetNode = *EI) {
int DestPort = -1;
if (DTraits.edgeTargetsEdgeSource(Node, EI)) {
child_iterator TargetIt = DTraits.getEdgeTarget(Node, EI);
// Figure out which edge this targets...
unsigned Offs... | subq $0x118, %rsp # imm = 0x118
movq %rcx, 0x108(%rsp)
movq %r8, 0x110(%rsp)
movq %rdi, 0x100(%rsp)
movq %rsi, 0xf8(%rsp)
movl %edx, 0xf4(%rsp)
movq 0x100(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x462b460
movq %rax, 0xe8(%rsp)
cmpq $0x0, 0xe8(%rsp)
je 0x46b44c0
movl $0xffffffff, 0xe4(%... | /llvm/Support/GraphWriter.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.