Home
last modified time | relevance | path

Searched refs:TableContents (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4511 SmallVector<Constant *, 64> TableContents(TableSize); in SwitchLookupTable() local
4518 TableContents[Idx] = CaseRes; in SwitchLookupTable()
4530 if (!TableContents[I]) in SwitchLookupTable()
4531 TableContents[I] = DefaultValue; in SwitchLookupTable()
4554 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable()
4574 LinearOffset = cast<ConstantInt>(TableContents[0]); in SwitchLookupTable()
4589 if (!isa<UndefValue>(TableContents[I - 1])) { in SwitchLookupTable()
4590 ConstantInt *Val = cast<ConstantInt>(TableContents[I - 1]); in SwitchLookupTable()
4603 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5047 SmallVector<Constant *, 64> TableContents(TableSize); in SwitchLookupTable() local
5054 TableContents[Idx] = CaseRes; in SwitchLookupTable()
5066 if (!TableContents[I]) in SwitchLookupTable()
5067 TableContents[I] = DefaultValue; in SwitchLookupTable()
5090 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable()
5110 LinearOffset = cast<ConstantInt>(TableContents[0]); in SwitchLookupTable()
5125 if (!isa<UndefValue>(TableContents[I - 1])) { in SwitchLookupTable()
5126 ConstantInt *Val = cast<ConstantInt>(TableContents[I - 1]); in SwitchLookupTable()
5139 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable()