llvm.org GIT mirror llvm / d077702
fix trivial typos, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306952 91177308-0d34-0410-b5e6-96231b3b80d8 Hiroshi Inoue 2 years ago
5 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
20502050 /// this information should not be provided because it will generate more
20512051 /// loads.
20522052 virtual bool hasPairedLoad(EVT /*LoadedType*/,
2053 unsigned & /*RequiredAligment*/) const {
2053 unsigned & /*RequiredAlignment*/) const {
20542054 return false;
20552055 }
20562056
115115 /// - \a scheduleMapGlobalAliasee()
116116 /// - \a scheduleRemapFunction()
117117 ///
118 /// Sometimes a callback needs a diferent mapping context. Such a context can
118 /// Sometimes a callback needs a different mapping context. Such a context can
119119 /// be registered using \a registerAlternateMappingContext(), which takes an
120120 /// alternate \a ValueToValueMapTy and \a ValueMaterializer and returns a ID to
121121 /// pass into the schedule*() functions.
399399
400400 /// \brief Compute the size of the object pointed by Ptr. Returns true and the
401401 /// object size in Size if successful, and false otherwise.
402 /// If RoundToAlign is true, then Size is rounded up to the aligment of allocas,
403 /// byval arguments, and global variables.
402 /// If RoundToAlign is true, then Size is rounded up to the alignment of
403 /// allocas, byval arguments, and global variables.
404404 bool llvm::getObjectSize(const Value *Ptr, uint64_t &Size, const DataLayout &DL,
405405 const TargetLibraryInfo *TLI, ObjectSizeOpts Opts) {
406406 ObjectSizeOffsetVisitor Visitor(DL, TLI, Ptr->getContext(), Opts);
19531953 // to identify the newly generated AlternateRootPhi (.base version of phi)
19541954 // and RootOfChain (the original phi node itself) are the same, so that we
19551955 // can rematerialize the gep and casts. This is a workaround for the
1956 // deficieny in the findBasePointer algorithm.
1956 // deficiency in the findBasePointer algorithm.
19571957 if (!AreEquivalentPhiNodes(*OrigRootPhi, *AlternateRootPhi))
19581958 continue;
19591959 // Now that the phi nodes are proved to be the same, assert that
534534 ; CHECK: ret i1
535535
536536
537 ; Check that loads of shadow have the same aligment as the original loads.
538 ; Check that loads of origin have the aligment of max(4, original alignment).
537 ; Check that loads of shadow have the same alignment as the original loads.
538 ; Check that loads of origin have the alignment of max(4, original alignment).
539539
540540 define i32 @ShadowLoadAlignmentLarge() nounwind uwtable sanitize_memory {
541541 %y = alloca i32, align 64