Lines Matching refs:InsertPt
852 /// InsertPt is the place to insert new instructions.
857 Instruction *InsertPt,
873 return new BitCastInst(StoredVal, LoadedTy, "", InsertPt);
878 StoredVal = new PtrToIntInst(StoredVal, StoredValTy, "", InsertPt);
886 StoredVal = new BitCastInst(StoredVal, TypeToCastTo, "", InsertPt);
890 StoredVal = new IntToPtrInst(StoredVal, LoadedTy, "", InsertPt);
903 StoredVal = new PtrToIntInst(StoredVal, StoredValTy, "", InsertPt);
909 StoredVal = new BitCastInst(StoredVal, StoredValTy, "", InsertPt);
916 StoredVal = BinaryOperator::CreateLShr(StoredVal, Val, "tmp", InsertPt);
921 StoredVal = new TruncInst(StoredVal, NewIntTy, "trunc", InsertPt);
928 return new IntToPtrInst(StoredVal, LoadedTy, "inttoptr", InsertPt);
931 return new BitCastInst(StoredVal, LoadedTy, "bitcast", InsertPt);
1113 Instruction *InsertPt, const DataLayout &DL){
1119 IRBuilder<> Builder(InsertPt->getParent(), InsertPt);
1142 return CoerceAvailableValueToLoadType(SrcVal, LoadTy, InsertPt, DL);
1151 Type *LoadTy, Instruction *InsertPt,
1204 return GetStoreValueForLoad(SrcVal, Offset, LoadTy, InsertPt, DL);
1211 Type *LoadTy, Instruction *InsertPt,
1216 IRBuilder<> Builder(InsertPt->getParent(), InsertPt);
1245 return CoerceAvailableValueToLoadType(Val, LoadTy, InsertPt, DL);