Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Expected

217     /// \param Expected Expected value.
225 EmitAtomicCompareExchange(RValue Expected, RValue Desired,
322 /// Does a store of the given IR type modify the full expected width?
373 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1);
377 Ptr.getPointer(), Expected, Desired, SuccessOrder, FailureOrder,
397 // Update Expected if Expected isn't equal to Old, otherwise branch to the
402 // Update the memory at Expected with Old's value.
1072 // bool __atomic_compare_exchange(size_t size, void *mem, void *expected,
1074 // bool __atomic_compare_exchange_N(T *mem, T *expected, T desired,
1472 assert(IntVal->getType()->isIntegerTy() && "Expected integer value");
1708 // bool __atomic_compare_exchange(size_t size, void *obj, void *expected,
1731 RValue Expected, RValue Desired, llvm::AtomicOrdering Success,
1741 Address ExpectedAddr = materializeRValue(Expected);
1754 auto *ExpectedVal = convertRValueToInt(Expected);
1994 /// Note that the r-value is expected to be an r-value *of the atomic
2068 LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc,
2073 assert(!Expected.isAggregate() ||
2074 Expected.getAggregateAddress().getElementType() ==
2081 return Atomics.EmitAtomicCompareExchange(Expected, Desired, Success, Failure,