Home
last modified time | relevance | path

Searched refs:ArrayRef (Results 1 – 25 of 2244) sorted by last modified time

12345678910>>...90

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp9480 static bool isShuffleEquivalent(ArrayRef<int> Mask, ArrayRef<int> ExpectedMask, in isShuffleEquivalent()
13305 auto balanceSides = [&](ArrayRef<int> AToAInputs, ArrayRef<int> BToAInputs, in lowerV8I16GeneralSingleInputShuffle()
13306 ArrayRef<int> BToBInputs, ArrayRef<int> AToBInputs, in lowerV8I16GeneralSingleInputShuffle()
13434 [&PSHUFDMask](ArrayRef<int> InPlaceInputs, ArrayRef<int> IncomingInputs, in lowerV8I16GeneralSingleInputShuffle()
14976 auto MatchMasks = [](ArrayRef<int> M1, ArrayRef<int> M2) { in lowerShuffleAsLanePermuteAndRepeatedMask()
15407 auto MatchMasks = [NumSubLaneElts](ArrayRef<int> M1, ArrayRef<int> M2) { in lowerShuffleAsRepeatedMaskAndLanePermute()
37732 ArrayRef<SDValue> Inputs, SDValue Root, ArrayRef<int> BaseMask, int Depth,
38493 ArrayRef<SDValue> Inputs, SDValue Root, ArrayRef<int> BaseMask, int Depth, in combineX86ShuffleChainWithExtract()
38948 ArrayRef<int> RootMask, ArrayRef<const SDNode *> SrcNodes, unsigned Depth, in combineX86ShufflesRecursively()
50036 ArrayRef<APInt> Bits, ArrayRef<APInt> UserBits) { in combineLoad()
[all …]
H A DX86MCInstLower.cpp1394 unsigned SrcOp2Idx, ArrayRef<int> Mask) { in getShuffleComment()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2463 ArrayRef<int> Mask; in foldVectorSelect()
2887 if (none_of(ArrayRef<Value *>({OuterSelVal.getCondition(), InnerSelVal}), in foldNestedSelects()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1012 [&](MVT VT, ArrayRef<MVT::SimpleValueType> SmallerVTs) { in RISCVTargetLowering()
4432 ArrayRef<int> Mask, in lowerVECTOR_SHUFFLEAsVSlide1()
4666 ArrayRef<int> Mask = SVN->getMask(); in lowerShuffleViaVRegSplitting()
4847 ArrayRef<int> Mask = SVN->getMask(); in lowerVECTOR_SHUFFLE()
17332 return ArrayRef(ArgEGPRs); in getArgGPRs()
17334 return ArrayRef(ArgIGPRs); in getArgGPRs()
17351 return ArrayRef(FastCCEGPRs); in getFastCCArgGPRs()
17353 return ArrayRef(FastCCIGPRs); in getFastCCArgGPRs()
17492 ArrayRef<MCPhysReg> ArgGPRs = RISCV::getArgGPRs(ABI); in CC_RISCV()
20046 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp21534 ArrayRef<int> Mask = SVN->getMask(); in mergeInsertEltWithShuffle()
23172 ArrayRef<int> LMask; in reduceBuildVecToShuffle()
23181 ArrayRef<int> RMask; in reduceBuildVecToShuffle()
24610 ArrayRef<int> Mask = Shuf->getMask(); in foldShuffleOfConcatUndefs()
24655 ArrayRef<int> Mask = SVN->getMask(); in partitionShuffleOfConcats()
24971 ArrayRef<int> Mask = ScaledMask; in combineShuffleToZeroExtendVectorInReg()
25028 ArrayRef<int> Mask = SVN->getMask(); in combineTruncationShuffle()
25201 ArrayRef<int> Mask = SVN->getMask(); in combineShuffleOfBitcast()
25301 ArrayRef<int> Mask = Shuf->getMask(); in replaceShuffleOfInsert()
25356 ArrayRef<int> Mask = Shuf->getMask(); in simplifyShuffleOfShuffle()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp163 ArrayRef<Register> PartRegs, in insertParts()
165 ArrayRef<Register> LeftoverRegs) { in insertParts()
548 ArrayRef<CallLowering::ArgInfo> Args, in createLibcall()
595 ArrayRef<CallLowering::ArgInfo> Args, in createLibcall()
1881 ArrayRef<Register> Slicer(Unmerges); in widenScalarMergeValues()
4291 ArrayRef<Register> Pieces(&Elts[Offset], NumNarrowTyElts); in fewerElementsVectorMerge()
4667 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in fewerElementsVectorShuffle()
5345 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in equalizeVectorShuffleLengths()
5418 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in moreElementsVectorShuffle()
5610 ArrayRef(DstRegs).drop_front(NarrowParts)); in narrowScalarAddSub()
[all …]
H A DCombinerHelper.cpp279 MachineInstr &MI, bool IsUndef, const ArrayRef<Register> Ops) { in applyCombineConcatVectors()
350 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in matchCombineShuffleVector()
386 const ArrayRef<Register> Ops) { in applyCombineShuffleVector()
404 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in matchShuffleToExtract()
2610 ArrayRef<int> Mask = MI.getOperand(3).getShuffleMask(); in matchUndefShuffleVectorMask()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp428 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals,
429 ArrayRef<llvm::Function *> CXXThreadLocalInits,
430 ArrayRef<const VarDecl *> CXXThreadLocalInitVars) override;
559 llvm::ArrayRef<llvm::Type *> FieldTypesRef(FieldTypes); in getCompleteObjectLocatorType()
2381 CodeGenModule &CGM, ArrayRef<const VarDecl *> CXXThreadLocals, in EmitThreadLocalInitFuncs()
2382 ArrayRef<llvm::Function *> CXXThreadLocalInits, in EmitThreadLocalInitFuncs()
2383 ArrayRef<const VarDecl *> CXXThreadLocalInitVars) { in EmitThreadLocalInitFuncs()
3782 llvm::ArrayRef<llvm::Value *>(GEPIndices))), in getClassHierarchyDescriptor()
3907 llvm::ArrayRef<llvm::Constant *> FieldsRef(Fields); in getCompleteObjectLocator()
4147 CGF.EmitCallArgs(Args, FPT, llvm::ArrayRef(ArgVec), CD, IsCopy ? 1 : 0); in getAddrOfCXXCtorClosure()
[all …]
H A DCGBuiltin.cpp8889 auto IntrinsicMap = ArrayRef(ARMSIMDIntrinsicMap); in EmitARMBuiltinExpr()
9182 Function *F = CGM.getIntrinsic(IRIntr, ArrayRef(Tys)); in EmitARMMVEBuiltinExpr()
11373 auto SISDMap = ArrayRef(AArch64SISDIntrinsicMap); in EmitAArch64BuiltinExpr()
13317 BuildVector(ArrayRef<llvm::Value*> Ops) { in BuildVector()
13386 ArrayRef<Value *> Ops) { in EmitX86ExpandLoad()
13424 ArrayRef<Value *> Ops, in EmitX86MaskLogic()
13791 ArrayRef<Value *> Ops) { in EmitX86Muldq()
13820 ArrayRef<Value *> Ops) { in EmitX86Ternlog()
14839 Ops[1], ArrayRef(Indices, DstNumElts), "widen"); in EmitX86BuiltinExpr()
15222 Zero, In, ArrayRef(Indices, NumElts), "kshiftl"); in EmitX86BuiltinExpr()
[all …]
H A DCGCall.cpp681 ArrayRef<CanQualType> argTypes) { in arrangeBuiltinFunctionDeclaration()
757 CanQualType resultType, FnInfoOpts opts, ArrayRef<CanQualType> argTypes, in arrangeLLVMFunctionInfo()
759 ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos, in arrangeLLVMFunctionInfo()
822 ArrayRef<ExtParameterInfo> paramInfos, in create()
824 ArrayRef<CanQualType> argTypes, in create()
4181 ArrayRef<CallArgList::CallArgCleanup> Cleanups = in deactivateArgCleanupsBeforeCall()
4396 ArrayRef<QualType> ArgTypes) { in hasInAllocaArgs()
4738 ArrayRef<llvm::Value *> args, in EmitNounwindRuntimeCall()
4778 ArrayRef<llvm::Value *> args, in EmitRuntimeCall()
4788 llvm::FunctionCallee callee, ArrayRef<llvm::Value *> args) { in EmitNoreturnRuntimeCallOrInvoke()
[all …]
H A DCGObjCGNU.cpp449 ArrayRef<const ObjCMethodDecl*> Methods,
494 ArrayRef<const ObjCMethodDecl*> Methods);
563 llvm::Constant *MakeBitField(ArrayRef<bool> bits);
982 ArrayRef<llvm::Value*> Args) { in CallRuntimeFunction()
1084 auto Arr = llvm::ArrayRef(&ToBuf[0], ToPtr + 1); in GenerateConstantString()
1310 ArrayRef<llvm::Constant *> IvarTypes, in GenerateIvarList()
1312 ArrayRef<llvm::Constant *> IvarAlign, in GenerateIvarList()
3063 GenerateIvarList(ArrayRef<llvm::Constant *> IvarNames, in GenerateIvarList()
3064 ArrayRef<llvm::Constant *> IvarTypes, in GenerateIvarList()
3065 ArrayRef<llvm::Constant *> IvarOffsets, in GenerateIvarList()
[all …]
H A DCoverageMappingGen.cpp2098 ArrayRef<CounterExpression> Expressions, in dump()
2099 ArrayRef<CounterMappingRegion> Regions) { in dump()
2209 llvm::StructType::get(Ctx, ArrayRef(FunctionRecordTypes), in emitFunctionMappingRecord()
2218 llvm::ConstantStruct::get(FunctionRecordTy, ArrayRef(FunctionRecordVals)); in emitFunctionMappingRecord()
2260 ArrayRef<std::string> FilenameRefs = llvm::ArrayRef(FilenameStrs); in addFunctionMappingRecord()
2306 llvm::StructType::get(Ctx, ArrayRef(CovDataHeaderTypes)); in emit()
2312 llvm::ConstantStruct::get(CovDataHeaderTy, ArrayRef(CovDataHeaderVals)); in emit()
2316 auto CovDataTy = llvm::StructType::get(Ctx, ArrayRef(CovDataTypes)); in emit()
2318 auto CovDataVal = llvm::ConstantStruct::get(CovDataTy, ArrayRef(TUDataVals)); in emit()
H A DCodeGenModule.h1104 ArrayRef<llvm::Type *> Tys = std::nullopt);
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.cpp50 ArrayRef<ParenState> Stack) { in getLengthToMatchingParen()
H A DUnwrappedLineParser.cpp152 ArrayRef<FormatToken *> Tokens, UnwrappedLineConsumer &Callback, in UnwrappedLineParser()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1329 ArrayRef(OffsetV)); in simplifyRelocatesOffABase()
5823 NewAddr = Builder.CreateGEP(SourceTy, Ops[0], ArrayRef(Ops).drop_front()); in optimizeGatherScatterInst()
5826 SourceTy, ArrayRef(Ops).drop_front()); in optimizeGatherScatterInst()
5838 Base = Builder.CreateGEP(SourceTy, Base, ArrayRef(Ops).drop_front()); in optimizeGatherScatterInst()
5840 SourceTy, ArrayRef(Ops).drop_front()); in optimizeGatherScatterInst()
7026 for (SelectInst *SI : ArrayRef(ASI).drop_front()) in optimizeSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2498 auto &&IsSame = [VL](ArrayRef<Value *> Scalars, ArrayRef<int> Mask) { in isSame()
4295 ArrayRef<int> Slice = ArrayRef(NewMask).slice(0, Sz); in reorderNodeWithReuses()
7110 computeExtractCost(ArrayRef<Value *> VL, ArrayRef<int> Mask, in computeExtractCost()
7159 ArrayRef<int> MaskSlice = in computeExtractCost()
7211 ArrayRef<int> SubMask = in estimateNodesPermuteCost()
7735 ArrayRef<Value *> VL = E->Scalars; in getEntryCost()
8829 function_ref<T *(ArrayRef<int>, ArrayRef<T *>)> Action) { in performExtractsShuffleAction()
10250 ArrayRef<Value *> VL = in adjustExtracts()
11083 ArrayRef<int> Mask = in vectorizeTree()
13556 ArrayRef<Value *> Slice = ArrayRef(Operands).slice(Cnt, Size); in vectorizeStores()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11478 static bool isEXTMask(ArrayRef<int> M, EVT VT, bool &ReverseEXT, in isEXTMask()
11641 static bool isINSMask(ArrayRef<int> M, int NumInputElements, in isINSMask()
11705 ArrayRef<int> Mask = cast<ShuffleVectorSDNode>(Op)->getMask(); in tryFormConcatFromShuffle()
11894 static SDValue GenerateTBL(SDValue Op, ArrayRef<int> ShuffleMask, in GenerateTBL()
12043 static bool isWideTypeMask(ArrayRef<int> M, EVT VT, in isWideTypeMask()
12095 ArrayRef<int> Mask = cast<ShuffleVectorSDNode>(Op)->getMask(); in tryWidenMaskForShuffle()
12200 ArrayRef<int> ShuffleMask = SVN->getMask(); in LowerVECTOR_SHUFFLE()
14866 ArrayRef<int> M1, M2; in areExtractShuffleVectors()
15651 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad()
15652 ArrayRef<unsigned> Indices, unsigned Factor) const { in lowerInterleavedLoad()
[all …]
H A DAArch64ISelLowering.h526 ArrayRef<MCPhysReg> getGPRArgRegs();
527 ArrayRef<MCPhysReg> getFPRArgRegs();
613 bool isShuffleMaskLegal(ArrayRef<int> M, EVT VT) const override;
617 bool isVectorClearMaskLegal(ArrayRef<int> M, EVT VT) const override;
678 ArrayRef<ShuffleVectorInst *> Shuffles,
679 ArrayRef<unsigned> Indices,
724 ArrayRef<MCPhysReg> getRoundingControlRegisters() const override;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp73 static Value *simplifyGEPInst(Type *, Value *, ArrayRef<Value *>, bool,
78 ArrayRef<Value *> NewOps,
2803 auto IsNAC = [](ArrayRef<const Value *> Objects) { in computePointerICmp()
2810 auto IsAllocDisjoint = [](ArrayRef<const Value *> Objects) { in computePointerICmp()
4950 ArrayRef<Value *> Indices, bool InBounds, in simplifyGEPInst()
5091 ArrayRef<unsigned> Idxs, in simplifyInsertValueInst()
5123 ArrayRef<unsigned> Idxs, in simplifyInsertValueInst()
5174 ArrayRef<unsigned> InsertValueIdxs = IVI->getIndices(); in simplifyExtractValueInst()
6690 ArrayRef<Value *> Args, in simplifyIntrinsic()
6861 ArrayRef<Value *> Args, in tryConstantFoldCall()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp961 ArrayRef<ConstantRange> Ops) { in intrinsic()
/freebsd/contrib/llvm-project/lld/COFF/
H A DChunks.cpp395 ArrayRef<uint8_t> a = getContents(); in writeTo()
477 void SectionChunk::writeAndRelocateSubsection(ArrayRef<uint8_t> sec, in writeAndRelocateSubsection()
478 ArrayRef<uint8_t> subsec, in writeAndRelocateSubsection()
701 ArrayRef<uint8_t> SectionChunk::getContents() const { in getContents()
702 ArrayRef<uint8_t> a; in getContents()
707 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic() { in consumeDebugMagic()
712 ArrayRef<uint8_t> SectionChunk::consumeDebugMagic(ArrayRef<uint8_t> data, in consumeDebugMagic()
736 SectionChunk *SectionChunk::findByName(ArrayRef<SectionChunk *> sections, in findByName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp243 ArrayRef<WeakVH> LoopHeaders;
289 const DataLayout &DL, ArrayRef<WeakVH> LoopHeaders, in SimplifyCFGOpt()
317 BasicBlock *BB, ArrayRef<BasicBlock *> IncomingBlocks, in IncomingValuesAreCompatible()
1865 ArrayRef<Instruction *> Insts, in canSinkInstructions()
2001 static bool sinkLastInstruction(ArrayRef<BasicBlock*> Blocks) { in sinkLastInstruction()
2115 ArrayRef<BasicBlock*> Blocks;
2172 ArrayRef<Instruction*> operator * () const { in operator *()
2727 for (ArrayRef<InvokeInst *> Invokes : Grouper.Sets) { in MergeCompatibleInvokes()
3280 ArrayRef<BasicBlock *> PredBBs = Pair.second.getArrayRef(); in FoldCondBranchOnValueKnownInPredecessorImpl()
6394 static bool isSwitchDense(ArrayRef<int64_t> Values) { in isSwitchDense()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp73 ArrayRef<SMLoc> Locs; // Source locations from the Record instance.
317 ArrayRef<Record *> IndexRows; in emitLookupFunction()
H A DVarLenCodeEmitterGen.cpp85 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
102 static std::pair<StringRef, StringRef> getCustomCoders(ArrayRef<Init *> Args) { in getCustomCoders()
349 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()

12345678910>>...90