Lines Matching defs:Context

339     Value *getReplacementPointerInput(LLVMContext& Context, Instruction *I,
342 void fillNewShuffleMask(LLVMContext& Context, Instruction *J,
347 Value *getReplacementShuffleMask(LLVMContext& Context, Instruction *I,
350 bool expandIEChain(LLVMContext& Context, Instruction *I, Instruction *J,
355 Value *getReplacementInput(LLVMContext& Context, Instruction *I,
358 void getReplacementInputsForPair(LLVMContext& Context, Instruction *I,
362 void replaceOutputsOfPair(LLVMContext& Context, Instruction *I,
2219 Value *BBVectorize::getReplacementPointerInput(LLVMContext& Context,
2244 void BBVectorize::fillNewShuffleMask(LLVMContext& Context, Instruction *J,
2252 Mask[v+MaskOffset] = UndefValue::get(Type::getInt32Ty(Context));
2259 ConstantInt::get(Type::getInt32Ty(Context), mm);
2266 Value *BBVectorize::getReplacementShuffleMask(LLVMContext& Context,
2297 fillNewShuffleMask(Context, I, 0, NumInElemJ, NumInElemI,
2301 fillNewShuffleMask(Context, J, NumElemI, NumInElemI, NumInElemJ,
2307 bool BBVectorize::expandIEChain(LLVMContext& Context, Instruction *I,
2332 ConstantInt::get(Type::getInt32Ty(Context),
2356 Value *BBVectorize::getReplacementInput(LLVMContext& Context, Instruction *I,
2358 Value *CV0 = ConstantInt::get(Type::getInt32Ty(Context), 0);
2359 Value *CV1 = ConstantInt::get(Type::getInt32Ty(Context), 1);
2504 Mask[i] = UndefValue::get(Type::getInt32Ty(Context));
2506 Mask[i] = ConstantInt::get(Type::getInt32Ty(Context), Idx);
2528 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2530 Mask[v] = UndefValue::get(Type::getInt32Ty(Context));
2545 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2547 Mask[v] = UndefValue::get(Type::getInt32Ty(Context));
2565 Mask[v] = UndefValue::get(Type::getInt32Ty(Context));
2568 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), Idx);
2582 if (numElemL == 1 && expandIEChain(Context, I, J, o, HOp, numElemH,
2592 } else if (!expandIEChain(Context, I, J, o, LOp, numElemL, ArgTypeL,
2602 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2604 Mask[v] = UndefValue::get(Type::getInt32Ty(Context));
2622 if (numElemH == 1 && expandIEChain(Context, I, J, o, LOp, numElemL,
2626 ConstantInt::get(Type::getInt32Ty(Context),
2632 } else if (!expandIEChain(Context, I, J, o, HOp, numElemH, ArgTypeH,
2639 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2641 Mask[v] = UndefValue::get(Type::getInt32Ty(Context));
2667 Mask[v] = ConstantInt::get(Type::getInt32Ty(Context), Idx);
2691 void BBVectorize::getReplacementInputsForPair(LLVMContext& Context,
2703 ReplacedOperands[o] = getReplacementPointerInput(Context, I, J, o);
2726 ReplacedOperands[o] = getReplacementShuffleMask(Context, I, J);
2730 ReplacedOperands[o] = getReplacementInput(Context, I, J, o, IBeforeJ);
2738 void BBVectorize::replaceOutputsOfPair(LLVMContext& Context, Instruction *I,
2758 Mask1[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2759 Mask2[v] = ConstantInt::get(Type::getInt32Ty(Context), numElemJ+v);
2766 Value *CV0 = ConstantInt::get(Type::getInt32Ty(Context), 0);
2774 Mask1[v] = ConstantInt::get(Type::getInt32Ty(Context), v);
2775 Mask2[v] = ConstantInt::get(Type::getInt32Ty(Context), numElemI+v);
2782 Value *CV1 = ConstantInt::get(Type::getInt32Ty(Context), numElem-1);
2931 LLVMContext& Context = BB.getContext();
3053 getReplacementInputsForPair(Context, L, H, ReplacedOperands,
3078 replaceOutputsOfPair(Context, L, H, K, InsertionPt, K1, K2);