Home
last modified time | relevance | path

Searched refs:NewValue (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DPtrState.h121 void SetKnownSafe(const bool NewValue) { RRI.KnownSafe = NewValue; } in SetKnownSafe() argument
125 void SetTailCallRelease(const bool NewValue) { in SetTailCallRelease() argument
126 RRI.IsTailCallRelease = NewValue; in SetTailCallRelease()
135 void SetReleaseMetadata(MDNode *NewValue) { RRI.ReleaseMetadata = NewValue; } in SetReleaseMetadata() argument
139 void SetCFGHazardAfflicted(const bool NewValue) { in SetCFGHazardAfflicted() argument
140 RRI.CFGHazardAfflicted = NewValue; in SetCFGHazardAfflicted()
H A DObjCARCOpts.cpp938 Value *NewValue = PoisonValue::get(CI->getType()); in OptimizeIndividualCallImpl() local
942 << *CI << "\nNew = " << *NewValue << "\n"); in OptimizeIndividualCallImpl()
943 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCallImpl()
959 Value *NewValue = PoisonValue::get(CI->getType()); in OptimizeIndividualCallImpl() local
963 << *CI << "\nNew = " << *NewValue << "\n"); in OptimizeIndividualCallImpl()
965 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCallImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp146 Value *NewValue = C; in remapConstant() local
156 NewValue = Builder.CreateAddrSpaceCast( in remapConstant()
164 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); in remapConstant()
169 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); in remapConstant()
172 ConstantToValueMap[C] = NewValue; in remapConstant()
173 return NewValue; in remapConstant()
199 Value *NewValue = PoisonValue::get(C->getType()); in remapConstantVectorOrConstantAggregate() local
203 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
207 NewValue = in remapConstantVectorOrConstantAggregate()
208 Builder.CreateInsertValue(NewValue, NewOperands[i], ArrayRef(i)); in remapConstantVectorOrConstantAggregate()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerConstantIntrinsics.cpp55 Value *NewValue, in replaceConditionalBranchesOnConstant() argument
59 replaceAndRecursivelySimplify(II, NewValue, nullptr, nullptr, nullptr, in replaceConditionalBranchesOnConstant()
134 Value *NewValue; in lowerConstantIntrinsics() local
139 NewValue = lowerIsConstantIntrinsic(II); in lowerConstantIntrinsics()
140 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
144 NewValue = lowerObjectSizeCall(II, DL, &TLI, true); in lowerConstantIntrinsics()
145 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
150 II, NewValue, DTU ? &*DTU : nullptr); in lowerConstantIntrinsics()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSaveAndRestore.h25 SaveAndRestore(T &X, const T &NewValue) : X(X), OldValue(X) { X = NewValue; } in SaveAndRestore()
26 SaveAndRestore(T &X, T &&NewValue) : X(X), OldValue(std::move(X)) { in SaveAndRestore()
27 X = std::move(NewValue); in SaveAndRestore()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp344 void VariantValue::setBoolean(bool NewValue) { in setBoolean() argument
347 Value.Boolean = NewValue; in setBoolean()
359 void VariantValue::setDouble(double NewValue) { in setDouble() argument
362 Value.Double = NewValue; in setDouble()
374 void VariantValue::setUnsigned(unsigned NewValue) { in setUnsigned() argument
377 Value.Unsigned = NewValue; in setUnsigned()
389 void VariantValue::setString(StringRef NewValue) { in setString() argument
392 Value.String = new std::string(NewValue); in setString()
402 void VariantValue::setNodeKind(ASTNodeKind NewValue) { in setNodeKind() argument
405 Value.NodeKind = new ASTNodeKind(NewValue); in setNodeKind()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h405 PoisonSEHIdentifiersRAIIObject(Parser &Self, bool NewValue) in PoisonSEHIdentifiersRAIIObject() argument
406 : Ident_AbnormalTermination(Self.Ident_AbnormalTermination, NewValue), in PoisonSEHIdentifiersRAIIObject()
407 Ident_GetExceptionCode(Self.Ident_GetExceptionCode, NewValue), in PoisonSEHIdentifiersRAIIObject()
408 Ident_GetExceptionInfo(Self.Ident_GetExceptionInfo, NewValue), in PoisonSEHIdentifiersRAIIObject()
409 Ident__abnormal_termination(Self.Ident__abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject()
410 Ident__exception_code(Self.Ident__exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject()
411 Ident__exception_info(Self.Ident__exception_info, NewValue), in PoisonSEHIdentifiersRAIIObject()
412 Ident___abnormal_termination(Self.Ident___abnormal_termination, NewValue), in PoisonSEHIdentifiersRAIIObject()
413 Ident___exception_code(Self.Ident___exception_code, NewValue), in PoisonSEHIdentifiersRAIIObject()
414 Ident___exception_info(Self.Ident___exception_info, NewValue) { in PoisonSEHIdentifiersRAIIObject()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DLazyAtomicPointer.h65 bool compare_exchange_weak(T *&ExistingValue, T *NewValue) { in compare_exchange_weak() argument
67 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_weak()
80 bool compare_exchange_strong(T *&ExistingValue, T *NewValue) { in compare_exchange_strong() argument
83 if (Storage.compare_exchange_strong(RawExistingValue, makeRaw(NewValue))) in compare_exchange_strong()
90 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_strong()
H A DConcurrentHashtable.h171 std::pair<KeyDataTy *, bool> insert(const KeyTy &NewValue) { in insert() argument
173 uint64_t Hash = Info::getHashValue(NewValue); in insert()
191 KeyDataTy *NewData = Info::create(NewValue, MultiThreadAllocator); in insert()
208 if (Info::isEqual(Info::getKey(*EntryData), NewValue)) { in insert()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp166 void DPValue::replaceVariableLocationOp(Value *OldValue, Value *NewValue, in replaceVariableLocationOp() argument
168 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
172 setAddress(NewValue); in replaceVariableLocationOp()
184 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
185 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
186 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
193 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
203 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
204 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
205 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
[all …]
H A DIntrinsicInst.cpp122 Value *NewValue) { in replaceVariableLocationOp() argument
125 auto ReplaceDbgAssignAddress = [this, OldValue, NewValue]() -> bool { in replaceVariableLocationOp()
129 DAI->setAddress(NewValue); in replaceVariableLocationOp()
135 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
146 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
147 ? NewValue in replaceVariableLocationOp()
153 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
160 Value *NewValue) { in replaceVariableLocationOp() argument
163 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
164 ? NewValue in replaceVariableLocationOp()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DPlistSupport.h32 unsigned NewValue = V.size(); in AddFID() local
33 FIDs[FID] = NewValue; in AddFID()
35 return NewValue; in AddFID()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h433 void set(T NewValue) { in set()
435 LazyVal->LastValue = NewValue; in set()
438 Value = NewValue; in set()
442 void setNotUpdated(T NewValue) { Value = NewValue; } in setNotUpdated()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp376 assert(Entry.NewValue); in getReducedOperand()
377 return Entry.NewValue; in getReducedOperand()
388 assert(!NodeInfo.NewValue && "Instruction has been evaluated"); in ReduceExpressionGraph()
403 NodeInfo.NewValue = I->getOperand(0); in ReduceExpressionGraph()
476 NodeInfo.NewValue = Res; in ReduceExpressionGraph()
H A DAggressiveInstCombineInternal.h73 Value *NewValue = nullptr; member
/freebsd-14.2/sys/dev/mps/
H A Dmps_sas_lsi.c397 le32toh(event_data->NewValue), in mpssas_fw_work()
404 le32toh(event_data->NewValue), in mpssas_fw_work()
411 le32toh(event_data->NewValue), in mpssas_fw_work()
415 state = le32toh(event_data->NewValue); in mpssas_fw_work()
464 le32toh(event_data->NewValue), in mpssas_fw_work()
474 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
483 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
486 switch (event_data->NewValue) { in mpssas_fw_work()
/freebsd-14.2/sys/dev/mpr/
H A Dmpr_sas_lsi.c473 le32toh(event_data->NewValue), in mprsas_fw_work()
480 le32toh(event_data->NewValue), in mprsas_fw_work()
487 le32toh(event_data->NewValue), in mprsas_fw_work()
491 state = le32toh(event_data->NewValue); in mprsas_fw_work()
546 le32toh(event_data->NewValue), in mprsas_fw_work()
557 le32toh(event_data->NewValue), in mprsas_fw_work()
568 le32toh(event_data->NewValue), in mprsas_fw_work()
573 switch (event_data->NewValue) { in mprsas_fw_work()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h754 T &&NewValue) { in replaceValue() argument
758 DIEValue(NewAttribute, Form, std::forward<T>(NewValue)); in replaceValue()
768 dwarf::Form Form, T &&NewValue) { in replaceValue() argument
771 val = *new (Alloc) DIEValue(Attribute, Form, std::forward<T>(NewValue)); in replaceValue()
780 dwarf::Form Form, DIEValue &NewValue) { in replaceValue() argument
783 val = NewValue; in replaceValue()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h213 void replaceVariableLocationOp(Value *OldValue, Value *NewValue,
215 void replaceVariableLocationOp(unsigned OpIdx, Value *NewValue);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp501 void VPBasicBlock::dropAllReferences(VPValue *NewValue) { in dropAllReferences() argument
504 Def->replaceAllUsesWith(NewValue); in dropAllReferences()
507 R.setOperand(I, NewValue); in dropAllReferences()
618 void VPRegionBlock::dropAllReferences(VPValue *NewValue) { in dropAllReferences() argument
622 Block->dropAllReferences(NewValue); in dropAllReferences()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp104 static DPValue *createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
109 return DPValue::createDPValue(NewValue, Variable, Expression, DI, in createDebugValue()
112 static DbgValueInst *createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
118 NewValue, Variable, Expression, DI, InsertBefore)); in createDebugValue()
H A DLoopUnrollAndJam.cpp442 Value *NewValue = OldValue; in UnrollAndJamLoop() local
444 NewValue = PrevValue; in UnrollAndJamLoop()
448 Phi.setIncomingValue(0, NewValue); in UnrollAndJamLoop()
H A DSCCPSolver.cpp961 ValueLatticeElement &NewValue = StructValueState[{&*NewArg, I}]; in setLatticeValueForSpecializationArguments() local
962 NewValue.markConstant(Iter->Actual->getAggregateElement(I)); in setLatticeValueForSpecializationArguments()
971 ValueLatticeElement &NewValue = StructValueState[{&*NewArg, I}]; in setLatticeValueForSpecializationArguments() local
972 NewValue = StructValueState[{&*OldArg, I}]; in setLatticeValueForSpecializationArguments()
975 ValueLatticeElement &NewValue = ValueState[&*NewArg]; in setLatticeValueForSpecializationArguments() local
976 NewValue = ValueState[&*OldArg]; in setLatticeValueForSpecializationArguments()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h456 void replaceUse(Use &U, Value *NewValue) { in replaceUse() argument
458 U = NewValue; in replaceUse()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp643 const ParmVarDecl *NewValue = D->getParamDecl(1); in create_OSAtomicCompareAndSwap() local
644 QualType NewValueTy = NewValue->getType(); in create_OSAtomicCompareAndSwap()
674 M.makeLvalueToRvalue(M.makeDeclRefExpr(NewValue), NewValueTy), in create_OSAtomicCompareAndSwap()

12