Lines Matching refs:VectorMap
1020 ValueMapT &VectorMap, in getVectorValue() argument
1023 if (Value *NewValue = VectorMap.lookup(Old)) in getVectorValue()
1035 VectorMap[Old] = Vector; in getVectorValue()
1117 ScopStmt &Stmt, LoadInst *Load, ValueMapT &VectorMap, in generateLoad() argument
1120 VectorMap[Load] = Builder.CreateVectorSplat(getVectorWidth(), PreloadLoad, in generateLoad()
1136 extractScalarValues(Load, VectorMap, ScalarMaps); in generateLoad()
1148 VectorMap[Load] = NewLoad; in generateLoad()
1152 ValueMapT &VectorMap, in copyUnaryInst() argument
1155 Value *NewOperand = getVectorValue(Stmt, Inst->getOperand(0), VectorMap, in copyUnaryInst()
1162 VectorMap[Inst] = Builder.CreateCast(Cast->getOpcode(), NewOperand, DestType); in copyUnaryInst()
1166 ValueMapT &VectorMap, in copyBinaryInst() argument
1173 NewOpZero = getVectorValue(Stmt, OpZero, VectorMap, ScalarMaps, L); in copyBinaryInst()
1174 NewOpOne = getVectorValue(Stmt, OpOne, VectorMap, ScalarMaps, L); in copyBinaryInst()
1178 VectorMap[Inst] = NewInst; in copyBinaryInst()
1182 ScopStmt &Stmt, StoreInst *Store, ValueMapT &VectorMap, in copyStore() argument
1186 Value *Vector = getVectorValue(Stmt, Store->getValueOperand(), VectorMap, in copyStore()
1191 extractScalarValues(Store, VectorMap, ScalarMaps); in copyStore()
1218 ValueMapT &VectorMap) { in hasVectorOperands() argument
1220 if (VectorMap.count(Operand)) in hasVectorOperands()
1226 ValueMapT &VectorMap, in extractScalarValues() argument
1232 ValueMapT::iterator VecOp = VectorMap.find(Operand); in extractScalarValues()
1234 if (VecOp == VectorMap.end()) in extractScalarValues()
1258 ScopStmt &Stmt, Instruction *Inst, ValueMapT &VectorMap, in copyInstScalarized() argument
1263 HasVectorOperand = extractScalarValues(Inst, VectorMap, ScalarMaps); in copyInstScalarized()
1280 VectorMap[Inst] = Vector; in copyInstScalarized()
1286 ScopStmt &Stmt, Instruction *Inst, ValueMapT &VectorMap, in copyInstruction() argument
1297 generateLoad(Stmt, Load, VectorMap, ScalarMaps, NewAccesses); in copyInstruction()
1301 if (hasVectorOperands(Inst, VectorMap)) { in copyInstruction()
1307 copyStore(Stmt, Store, VectorMap, ScalarMaps, NewAccesses); in copyInstruction()
1312 copyUnaryInst(Stmt, Unary, VectorMap, ScalarMaps); in copyInstruction()
1317 copyBinaryInst(Stmt, Binary, VectorMap, ScalarMaps); in copyInstruction()
1325 copyInstScalarized(Stmt, Inst, VectorMap, ScalarMaps, NewAccesses); in copyInstruction()