Lines Matching defs:atomics
482 // Emit all the different atomics
1032 // The inlined atomics only function on iN types, where N is a power of 2. We
1059 // For atomics larger than 16 bytes, emit a libcall from the frontend. This
1338 // Emit all the different atomics
1990 AtomicInfo atomics(*this, dest);
1991 LValue LVal = atomics.getAtomicLValue();
1996 atomics.emitCopyIntoMemory(rvalue);
2001 if (atomics.shouldUseLibcall()) {
2003 Address srcAddr = atomics.materializeRValue(rvalue);
2007 args.add(RValue::get(atomics.getAtomicSizeValue()),
2009 args.add(RValue::get(atomics.getAtomicPointer()), getContext().VoidPtrTy);
2020 llvm::Value *ValToStore = atomics.convertRValueToInt(rvalue);
2023 Address Addr = atomics.getAtomicAddress();
2024 if (llvm::Value *Value = atomics.getScalarRValValueOrNull(rvalue))
2026 Addr = atomics.castToAtomicIntPointer(Addr);
2048 atomics.EmitAtomicUpdate(AO, rvalue, IsVolatile);
2090 AtomicInfo atomics(*this, dest);
2092 switch (atomics.getEvaluationKind()) {
2095 atomics.emitCopyIntoMemory(RValue::get(value));
2101 atomics.emitCopyIntoMemory(RValue::getComplex(value));
2110 Zeroed = atomics.emitMemSetZeroIfNecessary();
2111 dest = atomics.projectValue();