Home
last modified time | relevance | path

Searched refs:lvalue (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/lib/libc/gen/
H A Dsysconf.c78 long lvalue, defaultresult; in sysconf() local
188 lvalue = pathconf(path, _PC_NAME_MAX); in sysconf()
189 if (lvalue == -1 && errno != 0) in sysconf()
192 return (lvalue); in sysconf()
546 len = sizeof(lvalue); in sysconf()
548 if (sysctlbyname("kern.ipc.shmmin", &lvalue, &len, NULL, in sysconf()
608 len = sizeof(lvalue); in sysconf()
609 if (sysctlbyname("hw.availpages", &lvalue, &len, NULL, 0) == -1) in sysconf()
611 return (lvalue); in sysconf()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp42 AtomicInfo(CodeGenFunction &CGF, LValue &lvalue) in AtomicInfo() argument
45 assert(!lvalue.isGlobalReg()); in AtomicInfo()
47 if (lvalue.isSimple()) { in AtomicInfo()
48 AtomicTy = lvalue.getType(); in AtomicInfo()
70 if (lvalue.getAlignment().isZero()) in AtomicInfo()
71 lvalue.setAlignment(AtomicAlign); in AtomicInfo()
73 LVal = lvalue; in AtomicInfo()
74 } else if (lvalue.isBitField()) { in AtomicInfo()
75 ValueTy = lvalue.getType(); in AtomicInfo()
77 auto &OrigBFI = lvalue.getBitFieldInfo(); in AtomicInfo()
[all …]
H A DCGDecl.cpp753 LValue &lvalue, in drillIntoBlockVariable() argument
755 lvalue.setAddress(CGF.emitBlockByrefAddress(lvalue.getAddress(), var)); in drillIntoBlockVariable()
781 LValue lvalue, bool capturedByInit) { in EmitScalarInit() argument
782 Qualifiers::ObjCLifetime lifetime = lvalue.getObjCLifetime(); in EmitScalarInit()
785 if (PointerAuthQualifier PtrAuth = lvalue.getQuals().getPointerAuth()) { in EmitScalarInit()
786 Value = EmitPointerAuthQualify(PtrAuth, init, lvalue.getAddress()); in EmitScalarInit()
787 lvalue.getQuals().removePointerAuth(); in EmitScalarInit()
792 drillIntoBlockVariable(*this, lvalue, cast<VarDecl>(D)); in EmitScalarInit()
793 EmitNullabilityCheck(lvalue, Value, init->getExprLoc()); in EmitScalarInit()
794 EmitStoreThroughLValue(RValue::get(Value), lvalue, true); in EmitScalarInit()
[all …]
H A DCGExprComplex.cpp432 ComplexPairTy ComplexExprEmitter::EmitLoadOfLValue(LValue lvalue, in EmitLoadOfLValue() argument
434 assert(lvalue.isSimple() && "non-simple complex l-value?"); in EmitLoadOfLValue()
435 if (lvalue.getType()->isAtomicType()) in EmitLoadOfLValue()
436 return CGF.EmitAtomicLoad(lvalue, loc).getComplexVal(); in EmitLoadOfLValue()
438 Address SrcPtr = lvalue.getAddress(); in EmitLoadOfLValue()
439 bool isVolatile = lvalue.isVolatileQualified(); in EmitLoadOfLValue()
444 Address RealP = CGF.emitAddrOfRealComponent(SrcPtr, lvalue.getType()); in EmitLoadOfLValue()
449 Address ImagP = CGF.emitAddrOfImagComponent(SrcPtr, lvalue.getType()); in EmitLoadOfLValue()
458 void ComplexExprEmitter::EmitStoreOfComplex(ComplexPairTy Val, LValue lvalue, in EmitStoreOfComplex() argument
460 if (lvalue.getType()->isAtomicType() || in EmitStoreOfComplex()
[all …]
H A DCGObjC.cpp588 LValue lvalue = EmitLValue(lvalueExpr); in EmitObjCMessageExpr() local
589 llvm::Value *result = EmitARCLoadWeakRetained(lvalue.getAddress()); in EmitObjCMessageExpr()
803 LValue lvalue, QualType type);
1700 LValue lvalue in Emit() local
1702 CGF.emitDestroy(lvalue.getAddress(), ivar->getType(), destroyer, in Emit()
2939 LValue lvalue, in tryEmitARCRetainLoadOfScalar() argument
2944 result = CGF.EmitLoadOfLValue(lvalue, SourceLocation()).getScalarVal(); in tryEmitARCRetainLoadOfScalar()
2947 result = CGF.EmitARCLoadWeakRetained(lvalue.getAddress()); in tryEmitARCRetainLoadOfScalar()
3315 LValue lvalue = in visitBinAssignUnsafeUnretained() local
3318 lvalue); in visitBinAssignUnsafeUnretained()
[all …]
H A DCGExpr.cpp1903 llvm::Value *CodeGenFunction::EmitLoadOfScalar(LValue lvalue, in EmitLoadOfScalar() argument
1905 return EmitLoadOfScalar(lvalue.getAddress(), lvalue.isVolatile(), in EmitLoadOfScalar()
1906 lvalue.getType(), Loc, lvalue.getBaseInfo(), in EmitLoadOfScalar()
1907 lvalue.getTBAAInfo(), lvalue.isNontemporal()); in EmitLoadOfScalar()
2162 static void EmitStoreOfMatrixScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfMatrixScalar() argument
2164 Address Addr = MaybeConvertMatrixAddress(lvalue.getAddress(), CGF, in EmitStoreOfMatrixScalar()
2166 CGF.EmitStoreOfScalar(value, Addr, lvalue.isVolatile(), lvalue.getType(), in EmitStoreOfMatrixScalar()
2167 lvalue.getBaseInfo(), lvalue.getTBAAInfo(), isInit, in EmitStoreOfMatrixScalar()
2168 lvalue.isNontemporal()); in EmitStoreOfMatrixScalar()
2223 void CodeGenFunction::EmitStoreOfScalar(llvm::Value *value, LValue lvalue, in EmitStoreOfScalar() argument
[all …]
H A DCodeGenFunction.h1496 LValue lvalue)
1498 Data(OpaqueValueMappingData::bind(CGF, opaqueValue, lvalue)) {}
2971 void EmitExprAsInit(const Expr *init, const ValueDecl *D, LValue lvalue,
3385 void EmitScalarInit(const Expr *init, const ValueDecl *D, LValue lvalue,
4249 void EmitAtomicInit(Expr *E, LValue lvalue);
4256 RValue EmitAtomicLoad(LValue lvalue, SourceLocation loc,
4260 void EmitAtomicStore(RValue rvalue, LValue lvalue, bool isInit);
4262 void EmitAtomicStore(RValue rvalue, LValue lvalue, llvm::AtomicOrdering AO,
4320 llvm::Value *EmitLoadOfScalar(LValue lvalue, SourceLocation Loc);
4343 void EmitStoreOfScalar(llvm::Value *value, LValue lvalue,
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp467 LValue lvalue, bool capturedByInit) { in emitScalarInit() argument
477 emitStoreThroughLValue(RValue::get(value), lvalue, true); in emitScalarInit()
481 LValue lvalue, bool capturedByInit) { in emitExprAsInit() argument
494 emitStoreThroughLValue(rvalue, lvalue); in emitExprAsInit()
499 emitScalarInit(init, getLoc(d->getSourceRange()), lvalue); in emitExprAsInit()
507 emitStoreOfComplex(loc, complex, lvalue, in emitExprAsInit()
515 AggValueSlot::forLValue(lvalue, AggValueSlot::IsDestructed, in emitExprAsInit()
H A DCIRGenCall.h165 void addUncopiedAggregate(LValue lvalue, clang::QualType type) { in addUncopiedAggregate() argument
166 emplace_back(lvalue, type); in addUncopiedAggregate()
H A DCIRGenExpr.cpp493 void CIRGenFunction::emitStoreOfScalar(mlir::Value value, LValue lvalue, in emitStoreOfScalar() argument
495 if (lvalue.getType()->isConstantMatrixType()) { in emitStoreOfScalar()
500 emitStoreOfScalar(value, lvalue.getAddress(), lvalue.isVolatile(), in emitStoreOfScalar()
501 lvalue.getType(), isInit, /*isNontemporal=*/false); in emitStoreOfScalar()
504 mlir::Value CIRGenFunction::emitLoadOfScalar(LValue lvalue, in emitLoadOfScalar() argument
510 Address addr = lvalue.getAddress(); in emitLoadOfScalar()
1385 LValue lvalue = makeAddrLValue(addr, type, AlignmentSource::Decl); in convertTempToRValue() local
1394 return RValue::get(emitLoadOfScalar(lvalue, loc)); in convertTempToRValue()
H A DCIRGenFunction.h250 LValue lvalue) in OpaqueValueMapping() argument
252 data(OpaqueValueMappingData::bind(cgf, opaqueValue, lvalue)) {} in OpaqueValueMapping()
897 LValue lvalue, bool capturedByInit = false);
997 mlir::Value emitLoadOfScalar(LValue lvalue, SourceLocation loc);
1042 LValue lvalue, bool capturedByInit = false);
1052 void emitStoreOfScalar(mlir::Value value, LValue lvalue, bool isInit);
H A DCIRGenExprComplex.cpp406 LValue lvalue = ComplexExprEmitter(*this).emitBinAssignLValue(e, value); in emitComplexAssignmentLValue() local
410 return lvalue; in emitComplexAssignmentLValue()
/freebsd/sys/dev/usb/video/
H A Dudl.c864 uint16_t lvalue;
866 lvalue = htobe16(value);
867 bcopy(&lvalue, cb->buf + cb->off, 2);
877 uint32_t lvalue; in udl_cmd_insert_int_3() local
880 lvalue = htobe32(value) << 8; in udl_cmd_insert_int_3()
882 lvalue = htobe32(value) >> 8; in udl_cmd_insert_int_3()
884 bcopy(&lvalue, cb->buf + cb->off, 3); in udl_cmd_insert_int_3()
893 uint32_t lvalue;
895 lvalue = htobe32(value);
896 bcopy(&lvalue, cb->buf + cb->off, 4);
/freebsd/sys/kern/
H A Dkern_mib.c151 u_long lvalue; in sysctl_maxphys() local
154 lvalue = maxphys; in sysctl_maxphys()
156 return (sysctl_handle_long(oidp, &lvalue, 0, req)); in sysctl_maxphys()
157 if (lvalue > INT_MAX) in sysctl_maxphys()
158 return (sysctl_handle_long(oidp, &lvalue, 0, req)); in sysctl_maxphys()
159 ivalue = lvalue; in sysctl_maxphys()
H A Dvfs_bio.c481 long lvalue; in sysctl_bufspace() local
485 lvalue = 0; in sysctl_bufspace()
487 lvalue += bdomain[i].bd_bufspace; in sysctl_bufspace()
489 return (sysctl_handle_long(oidp, &lvalue, 0, req)); in sysctl_bufspace()
490 if (lvalue > INT_MAX) in sysctl_bufspace()
492 return (sysctl_handle_long(oidp, &lvalue, 0, req)); in sysctl_bufspace()
493 ivalue = lvalue; in sysctl_bufspace()
500 long lvalue; in sysctl_bufspace() local
503 lvalue = 0; in sysctl_bufspace()
505 lvalue += bdomain[i].bd_bufspace; in sysctl_bufspace()
[all …]
/freebsd/sbin/tunefs/
H A Dtunefs.c85 const char *avalue, *jvalue, *Jvalue, *Lvalue, *lvalue, *Nvalue, *nvalue; in main() local
100 avalue = jvalue = Jvalue = Lvalue = lvalue = Nvalue = nvalue = NULL; in main()
200 lvalue = optarg; in main()
201 if (strcmp(lvalue, "enable") && in main()
202 strcmp(lvalue, "disable")) { in main()
435 if (strcmp(lvalue, "enable") == 0) { in main()
442 } else if (strcmp(lvalue, "disable") == 0) { in main()
/freebsd/usr.bin/tip/tip/
H A Dtip.h153 #define lvalue(v) (long)(intptr_t)vtable[v].v_value macro
H A Dcmds.c354 alarm((unsigned int)lvalue(ETIMEOUT)); in transmit()
442 alarm((unsigned int)lvalue(ETIMEOUT)); in send()
/freebsd/crypto/openssh/
H A Dlibcrux_mlkem768_sha3.h7451 void *lvalue = (void *)0U; in libcrux_ml_kem_ind_cpa_deserialize_then_decompress_u_6c() local
7454 &lvalue, i); in libcrux_ml_kem_ind_cpa_deserialize_then_decompress_u_6c()
8027 void *lvalue = (void *)0U; in libcrux_ml_kem_ind_cpa_decrypt_42() local
8028 ret0[i] = libcrux_ml_kem_ind_cpa_decrypt_call_mut_0b_42(&lvalue, i); in libcrux_ml_kem_ind_cpa_decrypt_42()
8589 void *lvalue = (void *)0U; in libcrux_ml_kem_sampling_sample_from_xof_2b() local
8591 &lvalue, copy_of_out[i]); in libcrux_ml_kem_sampling_sample_from_xof_2b()
9117 void *lvalue = (void *)0U; in libcrux_ml_kem_matrix_compute_vector_u_1b() local
9119 libcrux_ml_kem_matrix_compute_vector_u_call_mut_a8_1b(&lvalue, i); in libcrux_ml_kem_matrix_compute_vector_u_1b()
9287 void *lvalue = (void *)0U; in libcrux_ml_kem_ind_cpa_encrypt_c1_85() local
9288 r_as_ntt[i] = libcrux_ml_kem_ind_cpa_encrypt_c1_call_mut_f1_85(&lvalue, i); in libcrux_ml_kem_ind_cpa_encrypt_c1_85()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dany525 "ValueType is required to be a const lvalue reference "
537 "ValueType is required to be an lvalue reference "
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSemaKinds.td813 "due to lvalue conversion of the controlling expression, association of type "
870 "cannot use volatile type %1 where it causes an lvalue-to-rvalue conversion"
2187 "'this' argument to member function %0 is an %select{lvalue|rvalue}1, "
2188 "but function has %select{non-const lvalue|rvalue}2 ref-qualifier">;
2409 "%diff{of type $ with an %select{rvalue|lvalue}2 of type $|"
2410 "with an %select{rvalue|lvalue}2 of incompatible type}1,3"
2421 "bind to lvalue of type $|cannot bind to incompatible lvalue}0,1">;
2423 "%select{non-const|volatile}0 lvalue reference to type %1 cannot bind to an "
2426 "%select{non-const|volatile}0 lvalue reference %diff{to type $ cannot bind "
2429 "%select{non-const|volatile}0 lvalue reference "
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1915 auto lvalue = make(6); in TEST() local
1920 EXPECT_EQ(42, mock.TakeUnique(lvalue, make(7))); in TEST()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1687 bool lvalue) { in getReference()
1692 I.Ref.LValueRef = lvalue; in getReference()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOperationKinds.def70 /// object representation of an lvalue as an rvalue. Created by
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIROps.td173 lvalue-to-rvalue conversion is modeled as a `cir.load` instead. Currently
385 `cir.load` reads a value (lvalue to rvalue conversion) given an address

12