/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/ |
H A D | LowerAtomic.cpp | 45 Value *NewVal; in buildAtomicRMWValue() local 62 NewVal = Builder.CreateICmpSGT(Loaded, Val); in buildAtomicRMWValue() 63 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue() 65 NewVal = Builder.CreateICmpSLE(Loaded, Val); in buildAtomicRMWValue() 66 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue() 68 NewVal = Builder.CreateICmpUGT(Loaded, Val); in buildAtomicRMWValue() 69 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue() 71 NewVal = Builder.CreateICmpULE(Loaded, Val); in buildAtomicRMWValue() 72 return Builder.CreateSelect(NewVal, Loaded, Val, "new"); in buildAtomicRMWValue()
|
H A D | SSAUpdater.cpp | 433 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); in run() local 434 replaceLoadWithValue(ALoad, NewVal); in run() 437 if (NewVal == ALoad) NewVal = PoisonValue::get(NewVal->getType()); in run() 438 ALoad->replaceAllUsesWith(NewVal); in run() 439 ReplacedLoads[ALoad] = NewVal; in run() 456 Value *NewVal = ReplacedLoads[User]; in run() local 457 assert(NewVal && "not a replaced load?"); in run() 464 NewVal = RLI->second; in run() 465 RLI = ReplacedLoads.find(NewVal); in run() 468 replaceLoadWithValue(cast<LoadInst>(User), NewVal); in run() [all …]
|
H A D | LoopRotationUtils.cpp | 169 Value *NewVal; in RewriteUsesOfClonedInstructions() local 171 NewVal = OrigPreHeaderVal; in RewriteUsesOfClonedInstructions() 173 NewVal = SSA.GetValueInMiddleOfBlock(UserBB); in RewriteUsesOfClonedInstructions() 175 NewVal = UndefValue::get(OrigHeaderVal->getType()); in RewriteUsesOfClonedInstructions() 176 DbgValue->replaceVariableLocationOp(OrigHeaderVal, NewVal); in RewriteUsesOfClonedInstructions()
|
H A D | LoopPeel.cpp | 1006 Value *NewVal = PHI->getIncomingValueForBlock(Latch); in peelLoop() local 1007 Instruction *LatchInst = dyn_cast<Instruction>(NewVal); in peelLoop() 1009 NewVal = LVMap[LatchInst]; in peelLoop() 1011 PHI->setIncomingValueForBlock(NewPreHeader, NewVal); in peelLoop()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 34 APSInt NewVal = Val; in convert() local 40 NewVal = NewVal.extend(NewVal.getBitWidth() + RelativeUpscale); in convert() 41 NewVal = NewVal.relativeShl(RelativeUpscale); in convert() 44 NewVal.getBitWidth(), in convert() 46 NewVal.getBitWidth())); in convert() 47 APInt Masked(NewVal & Mask); in convert() 53 NewVal = NewVal.isNegative() ? Mask : ~Mask; in convert() 60 if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) { in convert() 63 NewVal = 0; in convert() 68 NewVal = NewVal.extOrTrunc(DstSema.getWidth()); in convert() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
H A D | atomic_test.cpp | 84 Type NewVal = 24; in checkAtomicCompareExchange() local 87 NewVal, memory_order_relaxed)); in checkAtomicCompareExchange() 89 reinterpret_cast<T *>(&V), &OldVal, NewVal, memory_order_relaxed)); in checkAtomicCompareExchange() 90 EXPECT_EQ(NewVal, OldVal); in checkAtomicCompareExchange()
|
/openbsd/gnu/llvm/llvm/lib/Target/M68k/MCTargetDesc/ |
H A D | M68kBaseInfo.h | 60 value_t NewVal = 0; in swapWord() local 64 NewVal |= (Part << (i * 16)); in swapWord() 66 return NewVal; in swapWord()
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMatInt.cpp | 256 int64_t NewVal; in generateInstSeq() local 260 NewVal = Val | 0x80000000ll; in generateInstSeq() 263 NewVal = Val & ~0x80000000ll; in generateInstSeq() 265 if (isInt<32>(NewVal)) { in generateInstSeq() 267 generateInstSeqImpl(NewVal, ActiveFeatures, TmpSeq); in generateInstSeq()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 386 LI->replaceAllUsesWith(NewVal); in convertAtomicLoadToIntegerType() 403 Value *NewVal = Val->getType()->isPointerTy() in convertAtomicXchgToIntegerType() local 514 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); in convertAtomicStoreToIntegerType() 549 Type *OrigTy = NewVal->getType(); in createCmpXchgInstFun() 558 NewVal = Builder.CreateBitCast(NewVal, IntTy); in createCmpXchgInstFun() 563 Addr, Loaded, NewVal, AddrAlign, MemOpOrder, in createCmpXchgInstFun() 975 Value *NewVal = CI->getNewValOperand(); in expandPartwordCmpXchg() local 1165 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWLLSCLoop() local 1533 Value *NewVal = PerformOp(Builder, Loaded); in insertRMWCmpXchgLoop() local 1538 CreateCmpXchg(Builder, Addr, Loaded, NewVal, AddrAlign, in insertRMWCmpXchgLoop() [all …]
|
H A D | ExpandVectorPredication.cpp | 101 static void transferDecorations(Value &NewVal, VPIntrinsic &VPI) { in transferDecorations() argument 102 auto *NewInst = dyn_cast<Instruction>(&NewVal); in transferDecorations() 103 if (!NewInst || !isa<FPMathOperator>(NewVal)) in transferDecorations()
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 176 auto *NewVal = IRB.CreateBitCast( in visitLoadInst() local 178 LI.replaceAllUsesWith(NewVal); in visitLoadInst()
|
H A D | AMDGPULowerKernelArguments.cpp | 219 Value *NewVal = Builder.CreateBitCast(Trunc, ArgTy, in runOnFunction() local 221 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
|
H A D | AMDGPUCodeGenPrepare.cpp | 476 Value *NewVal = PoisonValue::get(Ty); in insertValues() local 478 NewVal = Builder.CreateInsertElement(NewVal, Values[I], I); in insertValues() 480 return NewVal; in insertValues() 572 Value *NewVal = insertValues(Builder, Ty, ResultVals); in replaceMulWithMul24() local 573 NewVal->takeName(&I); in replaceMulWithMul24() 574 I.replaceAllUsesWith(NewVal); in replaceMulWithMul24()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeTypes.cpp | 105 SDValue NewVal = getSDValue(NewValId); in PerformExpensiveChecks() local 106 (void)NewVal; in PerformExpensiveChecks() 107 assert(NewVal.getNode()->getNodeId() != NewNode && in PerformExpensiveChecks() 688 SDValue NewVal(M, i); in ReplaceValueWith() local 690 RemapValue(NewVal); in ReplaceValueWith() 696 auto NewValId = getTableId(NewVal); in ReplaceValueWith() 697 DAG.ReplaceAllUsesOfValueWith(OldVal, NewVal); in ReplaceValueWith()
|
/openbsd/gnu/llvm/llvm/include/llvm/Demangle/ |
H A D | Utility.h | 188 ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { in ScopedOverride() argument 189 Loc_ = std::move(NewVal); in ScopedOverride()
|
/openbsd/gnu/llvm/libcxxabi/src/demangle/ |
H A D | Utility.h | 188 ScopedOverride(T &Loc_, T NewVal) : Loc(Loc_), Original(Loc_) { in ScopedOverride() argument 189 Loc_ = std::move(NewVal); in ScopedOverride()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 243 void push_back(EltTy NewVal) { in push_back() argument 246 Val = NewVal; in push_back() 259 Val.template get<VecTy*>()->push_back(NewVal); in push_back()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 75 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits() local 77 if (!NewVal) return false; in SimplifyDemandedBits() 81 replaceUse(U, NewVal); in SimplifyDemandedBits() 747 Instruction *NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() local 749 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits() 912 Instruction *NewVal; in SimplifyDemandedUseBits() local 914 NewVal = BinaryOperator::CreateLShr( in SimplifyDemandedUseBits() 917 NewVal = BinaryOperator::CreateShl( in SimplifyDemandedUseBits() 919 NewVal->takeName(I); in SimplifyDemandedUseBits() 920 return InsertNewInstWith(NewVal, *I); in SimplifyDemandedUseBits()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IteratorModeling.cpp | 647 SVal NewVal; in handlePtrIncrOrDecr() local 649 NewVal = State->getLValue(ElementType, Offset, OldVal); in handlePtrIncrOrDecr() 653 NewVal = State->getLValue(ElementType, NegatedOffset, OldVal); in handlePtrIncrOrDecr() 665 ProgramStateRef NewState = setIteratorPosition(State, NewVal, *NewPos); in handlePtrIncrOrDecr() 668 assignToContainer(C, Iterator, NewVal, OldPos->getContainer()); in handlePtrIncrOrDecr()
|
/openbsd/gnu/llvm/llvm/tools/llvm-tapi-diff/ |
H A D | DiffEngine.cpp | 128 ValTypeT NewVal(Order, Val); in addDiffForTargSlice() local 129 cast<TargetVecT>(TargetVector->get())->TargValues.push_back(NewVal); in addDiffForTargSlice() 132 ValTypeT NewVal(Order, Val); in addDiffForTargSlice() local 133 NewTargetVec->TargValues.push_back(NewVal); in addDiffForTargSlice()
|
/openbsd/gnu/llvm/llvm/include/llvm/IR/ |
H A D | MatrixBuilder.h | 146 Value *CreateMatrixInsert(Value *Matrix, Value *NewVal, Value *RowIdx, in CreateMatrixInsert() argument 149 Matrix, NewVal, in CreateMatrixInsert()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.cpp | 834 Register NewVal, MachineMemOperand &MMO) { in buildAtomicCmpXchgWithSuccess() argument 840 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchgWithSuccess() 855 .addUse(NewVal) in buildAtomicCmpXchgWithSuccess() 861 Register CmpVal, Register NewVal, in buildAtomicCmpXchg() argument 867 LLT NewValTy = getMRI()->getType(NewVal); in buildAtomicCmpXchg() 880 .addUse(NewVal) in buildAtomicCmpXchg()
|
/openbsd/gnu/llvm/llvm/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 42 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument 44 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift); in setMaskElt()
|
/openbsd/gnu/llvm/clang/lib/Driver/ToolChains/ |
H A D | MSVC.cpp | 909 std::string NewVal = std::string(Val); in TranslateDArg() local 910 NewVal[Hash] = '='; in TranslateDArg() 911 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_D), NewVal); in TranslateDArg()
|
/openbsd/gnu/llvm/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelLowering.h | 157 Value *NewVal, Value *Mask,
|