13 #ifndef LLVM_CODEGEN_WASMEHFUNCINFO_H 14 #define LLVM_CODEGEN_WASMEHFUNCINFO_H 37 EHPadUnwindMap[BB] = Dest;
40 return EHPadUnwindMap.
count(BB);
47 EHPadUnwindMap[MBB] = Dest;
50 return EHPadUnwindMap.
count(MBB);
59 #endif // LLVM_CODEGEN_WASMEHFUNCINFO_H bool hasEHPadUnwindDest(const BasicBlock *BB) const
This class represents lattice values for constants.
void setEHPadUnwindDest(MachineBasicBlock *MBB, MachineBasicBlock *Dest)
DenseMap< BBOrMBB, BBOrMBB > EHPadUnwindMap
LLVM Basic Block Representation.
void setEHPadUnwindDest(const BasicBlock *BB, const BasicBlock *Dest)
const BasicBlock * getEHPadUnwindDest(const BasicBlock *BB) const
bool hasEHPadUnwindDest(MachineBasicBlock *MBB) const
void calculateWasmEHInfo(const Function *F, WasmEHFuncInfo &EHInfo)
size_type count(const_arg_type_t< KeyT > Val) const
Return 1 if the specified key is in the map, 0 otherwise.
ValueT lookup(const_arg_type_t< KeyT > Val) const
lookup - Return the entry for the specified key, or a default constructed value if no such entry exis...
MachineBasicBlock * getEHPadUnwindDest(MachineBasicBlock *MBB) const
A discriminated union of two or more pointer types, with the discriminator in the low bit of the poin...