Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Check

436 /// Helper method to check if the underlying ABI is AAPCS
684 // Don't check pointers outside the default address space. The null check
685 // isn't correct, the object-size check isn't supported by LLVM, and we can't
686 // communicate the addresses to the runtime handler for the vptr check.
690 // Don't check pointers to volatile data. The behavior here is implementation-
715 // The IR builder can constant-fold the null check if the pointer points to
719 // Skip the null check if the pointer is known to be non-null.
742 // Degenerate case: new X[0] does not need an objectsize check.
747 // to check this.
797 // If possible, check
808 // compile-time guarantee, reuse the run-time null check or emit a new one.
1013 llvm::Value *Check = Accessed ? Builder.CreateICmpULT(IndexVal, BoundVal)
1015 EmitCheck(std::make_pair(Check, SanitizerKind::ArrayBounds),
1688 llvm::Value *Check;
1691 Check = Builder.CreateICmpULE(Value, llvm::ConstantInt::get(Ctx, End));
1697 Check = Builder.CreateAnd(Upper, Lower);
1703 EmitCheck(std::make_pair(Check, Kind), SanitizerHandler::LoadInvalidValue,
1755 // In order to prevent the optimizer from throwing away the check, don't
2521 // Check if the variable is marked as declare target with link clause in
2647 // FIXME: This is unnecessarily broad. Check whether this would actually be a
2718 // Check for captured variables.
2774 // Check if this is a global variable.
2798 // Check for OpenMP threadprivate variables.
3116 /// Specify under what conditions this check can be recovered
3118 /// Always terminate program execution if this check fails.
3120 /// Check supports recovering, runtime has both fatal (noreturn) and
3121 /// non-fatal handlers for this check.
3213 llvm::Value *Check = Checked[i].first;
3221 Cond = Cond ? Builder.CreateAnd(Cond, Check) : Check;
3241 "All recoverable kinds in a single check must be same!");
3380 // check kind; in this case __cfi_check_fail traps as well.
3417 // Data == nullptr means the calling module has trap behaviour for this check.
3484 // check-type per function to save on code size.
3623 /// Given an array base, check whether its member access belongs to a record
5187 // If we are checking indirect calls and this call is indirect, check that the