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-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp4936 SmallVector<Constant *, 64> TableContents(TableSize); in SwitchLookupTable() local
4943 TableContents[Idx] = CaseRes; in SwitchLookupTable()
4955 if (!TableContents[I]) in SwitchLookupTable()
4956 TableContents[I] = DefaultValue; in SwitchLookupTable()
4979 ConstantInt *ConstVal = dyn_cast<ConstantInt>(TableContents[I]); in SwitchLookupTable()
4999 LinearOffset = cast<ConstantInt>(TableContents[0]); in SwitchLookupTable()
5014 if (!isa<UndefValue>(TableContents[I - 1])) { in SwitchLookupTable()
5015 ConstantInt *Val = cast<ConstantInt>(TableContents[I - 1]); in SwitchLookupTable()
5028 Constant *Initializer = ConstantArray::get(ArrayTy, TableContents); in SwitchLookupTable()