Home
last modified time | relevance | path

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

123

/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/Transforms/Scalar/
H A DLowerConstantIntrinsics.cpp54 Value *NewValue, in replaceConditionalBranchesOnConstant() argument
58 replaceAndRecursivelySimplify(II, NewValue, nullptr, nullptr, nullptr, in replaceConditionalBranchesOnConstant()
136 Value *NewValue; in lowerConstantIntrinsics() local
141 NewValue = lowerIsConstantIntrinsic(II); in lowerConstantIntrinsics()
142 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
146 NewValue = lowerObjectSizeCall(II, DL, &TLI, true); in lowerConstantIntrinsics()
147 LLVM_DEBUG(dbgs() << "Folding " << *II << " to " << *NewValue << "\n"); in lowerConstantIntrinsics()
152 II, NewValue, DTU ? &*DTU : nullptr); in lowerConstantIntrinsics()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp146 Value *NewValue = C; in remapConstant() local
156 NewValue = Builder.CreateAddrSpaceCast( in remapConstant()
163 NewValue = remapConstantVectorOrConstantAggregate(M, F, C, Builder); in remapConstant()
168 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); in remapConstant()
171 ConstantToValueMap[C] = NewValue; in remapConstant()
172 return NewValue; in remapConstant()
198 Value *NewValue = PoisonValue::get(C->getType()); in remapConstantVectorOrConstantAggregate() local
202 NewValue = Builder.CreateInsertElement(NewValue, NewOperands[i], Idx); in remapConstantVectorOrConstantAggregate()
206 NewValue = in remapConstantVectorOrConstantAggregate()
207 Builder.CreateInsertValue(NewValue, NewOperands[i], ArrayRef(i)); in remapConstantVectorOrConstantAggregate()
[all …]
H A DNVVMReflect.cpp62 void foldReflectCall(CallInst *Call, Constant *NewValue);
180 auto *NewValue = ConstantInt::get(Call->getType(), ReflectVal); in handleReflectFunction() local
181 foldReflectCall(Call, NewValue); in handleReflectFunction()
190 void NVVMReflect::foldReflectCall(CallInst *Call, Constant *NewValue) { in foldReflectCall() argument
201 ReplaceInstructionWithConst(Call, NewValue); in foldReflectCall()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DVariantValue.cpp343 void VariantValue::setBoolean(bool NewValue) { in setBoolean() argument
346 Value.Boolean = NewValue; in setBoolean()
358 void VariantValue::setDouble(double NewValue) { in setDouble() argument
361 Value.Double = NewValue; in setDouble()
373 void VariantValue::setUnsigned(unsigned NewValue) { in setUnsigned() argument
376 Value.Unsigned = NewValue; in setUnsigned()
388 void VariantValue::setString(StringRef NewValue) { in setString() argument
391 Value.String = new std::string(NewValue); in setString()
401 void VariantValue::setNodeKind(ASTNodeKind NewValue) { in setNodeKind() argument
404 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()
/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.h172 std::pair<KeyDataTy *, bool> insert(const KeyTy &NewValue) { in insert() argument
174 uint64_t Hash = Info::getHashValue(NewValue); in insert()
192 KeyDataTy *NewData = Info::create(NewValue, MultiThreadAllocator); in insert()
209 if (Info::isEqual(Info::getKey(*EntryData), NewValue)) { in insert()
/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.cpp288 Value *NewValue, in replaceVariableLocationOp() argument
290 assert(NewValue && "Values must be non-null"); in replaceVariableLocationOp()
294 setAddress(NewValue); in replaceVariableLocationOp()
306 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
307 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
308 : ValueAsMetadata::get(NewValue)); in replaceVariableLocationOp()
315 ValueAsMetadata *NewOperand = getAsMetadata(NewValue); in replaceVariableLocationOp()
322 Value *NewValue) { in replaceVariableLocationOp() argument
326 setRawLocation(isa<MetadataAsValue>(NewValue) in replaceVariableLocationOp()
327 ? cast<MetadataAsValue>(NewValue)->getMetadata() in replaceVariableLocationOp()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTSource.h481 void set(T NewValue) { in set()
483 LazyVal->LastValue = NewValue; in set()
486 Value = NewValue; in set()
490 void setNotUpdated(T NewValue) { Value = NewValue; } in setNotUpdated()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp375 assert(Entry.NewValue); in getReducedOperand()
376 return Entry.NewValue; in getReducedOperand()
387 assert(!NodeInfo.NewValue && "Instruction has been evaluated"); in ReduceExpressionGraph()
402 NodeInfo.NewValue = I->getOperand(0); in ReduceExpressionGraph()
475 NodeInfo.NewValue = Res; in ReduceExpressionGraph()
H A DAggressiveInstCombineInternal.h71 Value *NewValue = nullptr; member
/freebsd/sys/dev/mps/
H A Dmps_sas_lsi.c395 le32toh(event_data->NewValue), in mpssas_fw_work()
402 le32toh(event_data->NewValue), in mpssas_fw_work()
409 le32toh(event_data->NewValue), in mpssas_fw_work()
413 state = le32toh(event_data->NewValue); in mpssas_fw_work()
462 le32toh(event_data->NewValue), in mpssas_fw_work()
472 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
481 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
484 switch (event_data->NewValue) { in mpssas_fw_work()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DGOFF.h193 constexpr void set(uint8_t BitIndex, uint8_t Length, T NewValue) { in set() argument
194 Val = bits(BitIndex, Length, static_cast<uint8_t>(NewValue), Val); in set()
/freebsd/sys/dev/mpr/
H A Dmpr_sas_lsi.c471 le32toh(event_data->NewValue), in mprsas_fw_work()
478 le32toh(event_data->NewValue), in mprsas_fw_work()
485 le32toh(event_data->NewValue), in mprsas_fw_work()
489 state = le32toh(event_data->NewValue); in mprsas_fw_work()
544 le32toh(event_data->NewValue), in mprsas_fw_work()
555 le32toh(event_data->NewValue), in mprsas_fw_work()
566 le32toh(event_data->NewValue), in mprsas_fw_work()
571 switch (event_data->NewValue) { in mprsas_fw_work()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDIE.h763 T &&NewValue) { in replaceValue() argument
767 DIEValue(NewAttribute, Form, std::forward<T>(NewValue)); in replaceValue()
777 dwarf::Form Form, T &&NewValue) { in replaceValue() argument
780 val = *new (Alloc) DIEValue(Attribute, Form, std::forward<T>(NewValue)); in replaceValue()
789 dwarf::Form Form, DIEValue &NewValue) { in replaceValue() argument
792 val = NewValue; in replaceValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp107 static void createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
115 DbgVariableRecord::createDbgVariableRecord(NewValue, Variable, Expression, DI, in createDebugValue()
118 static void createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue() argument
122 DIB.insertDbgValueIntrinsic(NewValue, Variable, Expression, DI, in createDebugValue()
H A DLoopUnrollAndJam.cpp445 Value *NewValue = OldValue; in UnrollAndJamLoop() local
447 NewValue = PrevValue; in UnrollAndJamLoop()
451 Phi.setIncomingValue(0, NewValue); in UnrollAndJamLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h420 void replaceUse(Use &U, Value *NewValue) { in replaceUse() argument
422 U = NewValue; in replaceUse()
/freebsd/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h425 LLVM_ABI void replaceVariableLocationOp(Value *OldValue, Value *NewValue,
427 LLVM_ABI void replaceVariableLocationOp(unsigned OpIdx, Value *NewValue);

123