Home
last modified time | relevance | path

Searched refs:InsertIdx (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h354 size_t InsertIdx; variable
358 size_t InsertIdx) in Substitution() argument
359 : Context(Context), FromStr(VarName), InsertIdx(InsertIdx) {} in Substitution()
367 size_t getIndex() const { return InsertIdx; } in getIndex()
377 size_t InsertIdx) in StringSubstitution() argument
378 : Substitution(Context, VarName, InsertIdx) {} in StringSubstitution()
394 size_t InsertIdx) in NumericSubstitution() argument
395 : Substitution(Context, ExpressionStr, InsertIdx), in NumericSubstitution()
476 Substitution *makeStringSubstitution(StringRef VarName, size_t InsertIdx);
482 size_t InsertIdx);
H A DFileCheck.cpp1374 size_t InsertIdx) { in makeStringSubstitution() argument
1376 std::make_unique<StringSubstitution>(this, VarName, InsertIdx)); in makeStringSubstitution()
1382 size_t InsertIdx) { in makeNumericSubstitution() argument
1384 this, ExpressionStr, std::move(Expression), InsertIdx)); in makeNumericSubstitution()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h1374 size_t InsertIdx = 0; in getArm64ECMangledFunctionName() local
1376 InsertIdx = Name.find("@@"); in getArm64ECMangledFunctionName()
1378 if (InsertIdx != std::string::npos && InsertIdx != ThreeAtSignsIdx) { in getArm64ECMangledFunctionName()
1379 InsertIdx += 2; in getArm64ECMangledFunctionName()
1381 InsertIdx = Name.find("@"); in getArm64ECMangledFunctionName()
1382 if (InsertIdx != std::string::npos) in getArm64ECMangledFunctionName()
1383 InsertIdx++; in getArm64ECMangledFunctionName()
1390 (Name.substr(0, InsertIdx) + Prefix + Name.substr(InsertIdx)).str()); in getArm64ECMangledFunctionName()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp597 size_t InsertIdx = 0; in mutate() local
602 AliveInsts.insert({InsertIdx, &I}); in mutate()
603 AliveInstsLookup.insert({&I, InsertIdx++}); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1463 uint64_t InsertIdx[2]; in foldConstantInsEltIntoShuffle() local
1465 if (!match(InsElt.getOperand(2), m_ConstantInt(InsertIdx[0])) || in foldConstantInsEltIntoShuffle()
1467 !match(IEI->getOperand(2), m_ConstantInt(InsertIdx[1])) || in foldConstantInsEltIntoShuffle()
1476 for (uint64_t I : InsertIdx) { in foldConstantInsEltIntoShuffle()
H A DInstCombineCalls.cpp3068 Value *InsertTuple, *InsertIdx, *InsertValue; in visitCallInst() local
3071 m_Value(InsertIdx))) && in visitCallInst()
3073 unsigned Index = cast<ConstantInt>(InsertIdx)->getZExtValue(); in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp8086 DemandedElts.setBit(InsertIdx); in getEntryCost()
8088 Mask[InsertIdx - OffsetBeg] = I; in getEntryCost()
8982 if (InsertIdx) { in getTreeCost()
9007 getInsertIndex(IEBase).value_or(*InsertIdx) == *InsertIdx)) in getTreeCost()
9054 int InIdx = *InsertIdx; in getTreeCost()
11246 IsIdentity &= InsertIdx - Offset == I; in vectorizeTree()
11247 Mask[InsertIdx - Offset] = I; in vectorizeTree()
11259 if (!InsertIdx) in vectorizeTree()
11262 InsertMask[*InsertIdx] = *InsertIdx; in vectorizeTree()
12045 if (InsertIdx) { in vectorizeTree()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp442 uint64_t InsertIdx = (Index * VecVT.getScalarSizeInBits()) / VecWidth; in getPermuteVINSERTCommutedImmediate() local
443 assert((InsertIdx == 0 || InsertIdx == 1) && "Bad insertf128 index"); in getPermuteVINSERTCommutedImmediate()
446 return getI8Imm(InsertIdx ? 0x02 : 0x30, DL); in getPermuteVINSERTCommutedImmediate()
H A DX86ISelLowering.cpp5782 uint64_t InsertIdx = N.getConstantOperandVal(2); in getFauxShuffleMask() local
5792 InsertIdx *= (MaxElts / NumElts); in getFauxShuffleMask()
5799 Mask[InsertIdx + i] = (SrcIsUndef ? 0 : MaxElts) + ExtractIdx + i; in getFauxShuffleMask()
5837 InsertIdx *= Scale; in getFauxShuffleMask()
5853 Mask[i + InsertIdx] = M; in getFauxShuffleMask()
7574 for (unsigned InsertIdx : NonConstIdx) { in LowerBUILD_VECTORvXi1() local
7576 Op.getOperand(InsertIdx), in LowerBUILD_VECTORvXi1()
7577 DAG.getIntPtrConstant(InsertIdx, dl)); in LowerBUILD_VECTORvXi1()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp5041 unsigned InsertIdx = Buffer.size() - 1; in onWriteMetadataAsOperand() local
5044 Buffer[InsertIdx].second = std::move(SS.str()); in onWriteMetadataAsOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3832 unsigned InsertIdx = (i / ElemsPerVReg) * NumOpElts; in lowerBUILD_VECTOR() local
3834 DAG.getVectorIdxConstant(InsertIdx, DL)); in lowerBUILD_VECTOR()
4463 const int InsertIdx = Mask[IsVSlidedown ? (NumElts - 1) : 0]; in lowerVECTOR_SHUFFLEAsVSlide1() local
4465 if (InsertIdx < 0 || InsertIdx / NumElts != (unsigned)OpsSwapped) in lowerVECTOR_SHUFFLEAsVSlide1()
4729 unsigned InsertIdx = DstVecIdx * NumOpElts; in lowerShuffleViaVRegSplitting() local
4731 DAG.getVectorIdxConstant(InsertIdx, DL)); in lowerShuffleViaVRegSplitting()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp21320 SDValue InsertIdx = DAG.getVectorIdxConstant(0, DL); in performLOADCombine() local
21323 {UndefVector, RemainingLoad, InsertIdx}); in performLOADCombine()
23488 SDValue InsertIdx = N->getOperand(2); in removeRedundantInsertVectorElt() local
23491 if (!isNullConstant(InsertIdx)) in removeRedundantInsertVectorElt()