Lines Matching refs:OffsetValue
2321 llvm::Value *OffsetValue) { in emitAlignmentAssumption() argument
2325 if (OffsetValue && OffsetValue->getType() != IntPtrTy) in emitAlignmentAssumption()
2326 OffsetValue = in emitAlignmentAssumption()
2327 Builder.CreateIntCast(OffsetValue, IntPtrTy, true, "casted.offset"); in emitAlignmentAssumption()
2333 if (OffsetValue) { in emitAlignmentAssumption()
2335 if (const auto *CI = dyn_cast<llvm::ConstantInt>(OffsetValue)) in emitAlignmentAssumption()
2339 PtrIntValue = Builder.CreateSub(PtrIntValue, OffsetValue, "offsetptr"); in emitAlignmentAssumption()
2349 CGM.getDataLayout(), PtrValue, Alignment, OffsetValue); in emitAlignmentAssumption()
2354 OffsetValue, TheCheck, Assumption); in emitAlignmentAssumption()
2361 llvm::Value *OffsetValue) { in emitAlignmentAssumption() argument
2368 OffsetValue); in emitAlignmentAssumption()
2619 llvm::Value *OffsetValue, llvm::Value *TheCheck, in emitAlignmentAssumptionCheck() argument
2646 if (!OffsetValue) in emitAlignmentAssumptionCheck()
2647 OffsetValue = Builder.getInt1(0); // no offset. in emitAlignmentAssumptionCheck()
2654 EmitCheckValue(OffsetValue)}; in emitAlignmentAssumptionCheck()