See the file comment.

Synopsis

Declared in <llvm/IR/ValueMap.h>

template<
    typename KeyT,
    typename ValueT,
    typename Config = ValueMapConfig<KeyT>>
class ValueMap;

Type Aliases

Member Functions

Name

Description

ValueMap [constructor]

Constructors

operator=

Assignment operators

FindAndConstruct

MD

begin

clear

count

Return 1 if the specified key is in the map, 0 otherwise.

empty

end

erase

find

getMDMap

getMappedMD

Get the mapped metadata, if it's in the map.

getPointerIntoBucketsArray

getPointerIntoBucketsArray() ‐ Return an opaque pointer into the buckets array. In conjunction with the previous method, this can be used to determine whether an insertion caused the ValueMap to reallocate.

hasMD

insert

insert ‐ Range insertion of pairs.

isPointerIntoBucketsArray

isPointerIntoBucketsArray ‐ Return true if the specified pointer points somewhere into the ValueMap's array of buckets (i.e. either to a key or value in the ValueMap).

lookup

lookup ‐ Return the entry for the specified key, or a default constructed value if no such entry exists.

operator[]

reserve

Grow the map so that it has at least Size buckets. Does not shrink

size

Data Members

Name

Description

AtomMap

Map {(InlinedAt, old atom number) ‐> new atom number}.

Friends

Name

Description

llvm::ValueMapCallbackVH

Created with MrDocs