Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagOperands.cpp
/freebsd/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.cpp939 Value *NewValue = PoisonValue::get(CI->getType()); in OptimizeIndividualCallImpl() local
943 << *CI << "\nNew = " << *NewValue << "\n"); in OptimizeIndividualCallImpl()
944 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCallImpl()
960 Value *NewValue = PoisonValue::get(CI->getType()); in OptimizeIndividualCallImpl() local
964 << *CI << "\nNew = " << *NewValue << "\n"); in OptimizeIndividualCallImpl()
966 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCallImpl()
/freebsd/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/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()
137 Value *NewValue; in lowerConstantIntrinsics() local
142 NewValue = lowerIsConstantIntrinsic(II); in lowerConstantIntrinsics()
143 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
147 NewValue = lowerObjectSizeCall(II, DL, &TLI, true); in lowerConstantIntrinsics()
148 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
153 II, NewValue, DTU ? &*DTU : nullptr); in lowerConstantIntrinsics()
/freebsd/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/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()
H A DEndian.h269 void operator=(value_type NewValue) {
270 endian::write<value_type, endian, alignment>(Ptr, NewValue);
/freebsd/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/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.h167 /// Insert new value \p NewValue or return already existing entry.
171 std::pair<KeyDataTy *, bool> insert(const KeyTy &NewValue) {
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()
172 insert(const KeyTy & NewValue) insert() argument
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIntrinsicInst.cpp122 Value *NewValue, in replaceVariableLocationOp() argument
126 auto ReplaceDbgAssignAddress = [this, OldValue, NewValue]() -> bool { in replaceVariableLocationOp()
130 DAI->setAddress(NewValue); in replaceVariableLocationOp()
136 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
149 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
150 ? NewValue in replaceVariableLocationOp()
152 getContext(), ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
156 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
163 Value *NewValue) { in replaceVariableLocationOp() argument
166 Value *NewOperand = isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
[all …]
H A DDebugProgramInstruction.cpp287 Value *NewValue, in replaceVariableLocationOp() argument
289 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
293 setAddress(NewValue); in replaceVariableLocationOp()
305 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
306 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
307 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
314 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
321 Value *NewValue) { in replaceVariableLocationOp() argument
325 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
326 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h455 void set(T NewValue) { in set()
457 LazyVal->LastValue = NewValue; in set()
460 Value = NewValue; in set()
464 void setNotUpdated(T NewValue) { Value = NewValue; } in setNotUpdated()
/freebsd/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/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/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/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp105 static void createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
113 DbgVariableRecord::createDbgVariableRecord(NewValue, Variable, Expression, DI, in createDebugValue()
116 static void createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
120 DIB.insertDbgValueIntrinsic(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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h418 void replaceUse(Use &U, Value *NewValue) { in replaceUse() argument
420 U = NewValue; in replaceUse()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h411 void replaceVariableLocationOp(Value *OldValue, Value *NewValue,
413 void replaceVariableLocationOp(unsigned OpIdx, Value *NewValue);
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h257 /// Sets value of this numeric variable to \p NewValue, and sets the input
260 void setValue(APInt NewValue,
262 Value = NewValue;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h585 PoisonIdentifierRAIIObject(IdentifierInfo *II, bool NewValue) in PoisonIdentifierRAIIObject() argument
588 II->setIsPoisoned(NewValue); in PoisonIdentifierRAIIObject()

12