Lines Matching refs:getContext

63   IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext());  in foldConstantCastPair()
93 return ConstantFP::get(DestTy->getContext(), in FoldBitCast()
116 return ConstantInt::get(FP->getContext(), in FoldBitCast()
177 Type *Ty = IntegerType::get(V->getContext(), 32); in ConstantFoldCastInstruction()
202 return ConstantFP::get(V->getContext(), Val); in ConstantFoldCastInstruction()
218 return ConstantInt::get(FPC->getContext(), IntVal); in ConstantFoldCastInstruction()
229 return ConstantFP::get(V->getContext(), apf); in ConstantFoldCastInstruction()
235 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction()
242 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction()
252 return ConstantInt::get(V->getContext(), in ConstantFoldCastInstruction()
277 Type *Ty = IntegerType::get(CondV->getContext(), 32); in ConstantFoldSelectInstruction()
436 auto *Ty = Type::getInt32Ty(Val->getContext()); in ConstantFoldInsertElementInstruction()
467 Type *Ty = IntegerType::get(V1->getContext(), 32); in ConstantFoldShuffleVectorInstruction()
497 Type *Ty = IntegerType::get(V2->getContext(), 32); in ConstantFoldShuffleVectorInstruction()
502 Type *Ty = IntegerType::get(V1->getContext(), 32); in ConstantFoldShuffleVectorInstruction()
581 return ConstantFP::get(C->getContext(), neg(CV)); in ConstantFoldUnaryInstruction()
585 Type *Ty = IntegerType::get(VTy->getContext(), 32); in ConstantFoldUnaryInstruction()
815 return ConstantInt::get(CI1->getContext(), C1V + C2V); in ConstantFoldBinaryInstruction()
817 return ConstantInt::get(CI1->getContext(), C1V - C2V); in ConstantFoldBinaryInstruction()
819 return ConstantInt::get(CI1->getContext(), C1V * C2V); in ConstantFoldBinaryInstruction()
822 return ConstantInt::get(CI1->getContext(), C1V.udiv(C2V)); in ConstantFoldBinaryInstruction()
827 return ConstantInt::get(CI1->getContext(), C1V.sdiv(C2V)); in ConstantFoldBinaryInstruction()
830 return ConstantInt::get(CI1->getContext(), C1V.urem(C2V)); in ConstantFoldBinaryInstruction()
835 return ConstantInt::get(CI1->getContext(), C1V.srem(C2V)); in ConstantFoldBinaryInstruction()
837 return ConstantInt::get(CI1->getContext(), C1V & C2V); in ConstantFoldBinaryInstruction()
839 return ConstantInt::get(CI1->getContext(), C1V | C2V); in ConstantFoldBinaryInstruction()
841 return ConstantInt::get(CI1->getContext(), C1V ^ C2V); in ConstantFoldBinaryInstruction()
844 return ConstantInt::get(CI1->getContext(), C1V.shl(C2V)); in ConstantFoldBinaryInstruction()
848 return ConstantInt::get(CI1->getContext(), C1V.lshr(C2V)); in ConstantFoldBinaryInstruction()
852 return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V)); in ConstantFoldBinaryInstruction()
880 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
883 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
886 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
889 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
892 return ConstantFP::get(C1->getContext(), C3V); in ConstantFoldBinaryInstruction()
914 Type *Ty = IntegerType::get(FVTy->getContext(), 32); in ConstantFoldBinaryInstruction()
976 return ConstantInt::getFalse(C1->getContext()); in ConstantFoldBinaryInstruction()
1129 ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()), in ConstantFoldCompareInstruction()
1132 ResultTy = Type::getInt1Ty(C1->getContext()); in ConstantFoldCompareInstruction()
1213 Type *Ty = IntegerType::get(C1->getContext(), 32); in ConstantFoldCompareInstruction()