Home
last modified time | relevance | path

Searched refs:IndexType (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h47 class IndexType {
56 IndexType() {} in IndexType() function
81 class IndexRange : public std::pair<IndexType,IndexType> {
84 IndexRange(IndexType Start, IndexType End, bool F = false, bool T = false)
85 : std::pair<IndexType,IndexType>(Start, End), Fixed(F), TiedEnd(T) {}
110 void add(IndexType Start, IndexType End, bool Fixed, bool TiedEnd) { in add()
132 IndexType getPrevIndex(IndexType Idx) const;
133 IndexType getNextIndex(IndexType Idx) const;
186 inline bool HexagonBlockRanges::IndexType::operator== (IndexType Idx) const {
199 HexagonBlockRanges::IndexType HexagonBlockRanges::IndexType::operator++ () {
[all …]
H A DHexagonBlockRanges.cpp50 IndexType E = (end() != IndexType::None) ? end() : start(); in contains()
51 IndexType AE = (A.end() != IndexType::None) ? A.end() : A.start(); in contains()
159 IndexType Idx = IndexType::First; in InstrIndexMap()
181 return IndexType::None; in getIndex()
188 return IndexType::None; in getPrevIndex()
202 return IndexType::None; in getNextIndex()
379 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
388 if (LastDef[S] != IndexType::None || LastUse[S] != IndexType::None) in computeInitialLiveRanges()
438 DeadMap[R].add(IndexType::Entry, IndexType::Exit, false, false); in computeDeadMap()
455 IndexType AE = (A->end() == IndexType::None) ? A->start() : A->end(); in computeDeadMap()
[all …]
H A DHexagonFrameLowering.cpp2224 using IndexType = HexagonBlockRanges::IndexType; in optimizeSpillSlots() typedef
2335 LastStore[FI] = IndexType::Entry; in optimizeSpillSlots()
2343 LastLoad[FI] = IndexType::None; in optimizeSpillSlots()
2352 IndexType LL = I.second; in optimizeSpillSlots()
2353 if (LL == IndexType::None) in optimizeSpillSlots()
2356 IndexType &LS = LastStore[I.first]; in optimizeSpillSlots()
2357 if (LS != IndexType::None) in optimizeSpillSlots()
2361 LS = IndexType::None; in optimizeSpillSlots()
2364 IndexType LS = I.second; in optimizeSpillSlots()
2365 if (LS == IndexType::None) in optimizeSpillSlots()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DEnumeratedArray.h21 Enumeration LargestEnum = Enumeration::Last, typename IndexType = int,
22 IndexType Size = 1 + static_cast<IndexType>(LargestEnum)>
27 for (IndexType IX = 0; IX < Size; ++IX) { in EnumeratedArray()
32 auto IX = static_cast<const IndexType>(Index);
39 IndexType, Size> &>(*this)[Index]);
41 inline IndexType size() { return Size; } in size()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyDebugValueManager.cpp66 auto IndexType = DBI->isIndirectDebugValue() in replaceWithLocal() local
70 MO.ChangeToTargetIndex(IndexType, LocalId); in replaceWithLocal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTF.h151 uint32_t IndexType; ///< Index type member
H A DBTFDebug.cpp213 ArrayInfo.IndexType = BDebug.getArrayIndexTypeId(); in completeType()
219 OS.emitInt32(ArrayInfo.IndexType); in emitType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h2435 MachineMemOperand *MMO, ISD::MemIndexType IndexType)
2437 LSBaseSDNodeBits.AddressingMode = IndexType;
2438 assert(getIndexType() == IndexType && "Value truncated");
2445 void setIndexType(ISD::MemIndexType IndexType) {
2446 LSBaseSDNodeBits.AddressingMode = IndexType;
2480 ISD::MemIndexType IndexType, ISD::LoadExtType ETy)
2482 IndexType) {
2505 ISD::MemIndexType IndexType, bool IsTrunc)
2507 IndexType) {
H A DSelectionDAG.h1325 ISD::MemIndexType IndexType, ISD::LoadExtType ExtTy);
1328 ISD::MemIndexType IndexType,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h399 ArrayRecord(TypeIndex ElementType, TypeIndex IndexType, uint64_t Size, in ArrayRecord() argument
402 IndexType(IndexType), Size(Size), Name(Name) {} in ArrayRecord()
405 TypeIndex getIndexType() const { return IndexType; } in getIndexType()
410 TypeIndex IndexType; variable
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers.h87 const TypeDescriptor &IndexType; member
H A Dubsan_handlers.cpp391 Value IndexVal(Data->IndexType, Index); in handleOutOfBoundsImpl()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp372 AT.IndexType, AT.ElementType); in visitKnownRecord()
375 AT.Name, AT.Size, AT.IndexType, AT.ElementType); in visitKnownRecord()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h192 using IndexType = uint32_t; member
194 IndexType Index;
197 BlockNode(IndexType Index) : Index(Index) {} in BlockNode()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DProgramState.h195 bool assumption, QualType IndexType = QualType()) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp201 using HashTable = DenseMap<BlockNode::IndexType, Weight>; in combineWeightsByHashing()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeRecordMapping.cpp414 error(IO.mapInteger(Record.IndexType, "IndexType")); in visitKnownRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp639 Type *IndexType = IntegerType::get( in rewriteGEPAsOffset() local
643 NewInsts[Base] = ConstantInt::getNullValue(IndexType); in rewriteGEPAsOffset()
652 NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(), in rewriteGEPAsOffset()
750 Type *IndexType = IntegerType::get(V->getContext(), in getAsConstantIndexedAddress() local
753 Constant *Index = ConstantInt::getNullValue(IndexType); in getAsConstantIndexedAddress()
765 Index, ConstantExpr::getSExtOrBitCast(GEPIndex, IndexType)); in getAsConstantIndexedAddress()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4355 ISD::MemIndexType &IndexType, SDValue &Scale, in getUniformBase() argument
4374 IndexType = ISD::SIGNED_SCALED; in getUniformBase()
4395 IndexType = ISD::SIGNED_SCALED; in getUniformBase()
4420 ISD::MemIndexType IndexType; in visitMaskedScatter() local
4422 bool UniformBase = getUniformBase(Ptr, Base, Index, IndexType, Scale, this, in visitMaskedScatter()
4434 IndexType = ISD::SIGNED_UNSCALED; in visitMaskedScatter()
4447 Ops, MMO, IndexType, false); in visitMaskedScatter()
4539 ISD::MemIndexType IndexType; in visitMaskedGather() local
4541 bool UniformBase = getUniformBase(Ptr, Base, Index, IndexType, Scale, this, in visitMaskedGather()
4553 IndexType = ISD::SIGNED_UNSCALED; in visitMaskedGather()
[all …]
H A DSelectionDAG.cpp7717 ISD::MemIndexType IndexType, in getMaskedGather() argument
7725 dl.getIROrder(), VTs, MemVT, MMO, IndexType, ExtTy)); in getMaskedGather()
7733 IndexType = TLI->getCanonicalIndexType(IndexType, MemVT, Ops[4]); in getMaskedGather()
7735 VTs, MemVT, MMO, IndexType, ExtTy); in getMaskedGather()
7764 ISD::MemIndexType IndexType, in getMaskedScatter() argument
7772 dl.getIROrder(), VTs, MemVT, MMO, IndexType, IsTrunc)); in getMaskedScatter()
7780 IndexType = TLI->getCanonicalIndexType(IndexType, MemVT, Ops[4]); in getMaskedScatter()
7782 VTs, MemVT, MMO, IndexType, IsTrunc); in getMaskedScatter()
H A DTargetLowering.cpp7944 TargetLowering::getCanonicalIndexType(ISD::MemIndexType IndexType, EVT MemVT, in getCanonicalIndexType() argument
7947 (IndexType == ISD::SIGNED_SCALED) || (IndexType == ISD::UNSIGNED_SCALED); in getCanonicalIndexType()
7949 (IndexType == ISD::SIGNED_SCALED) || (IndexType == ISD::SIGNED_UNSCALED); in getCanonicalIndexType()
7954 IndexType = IsSignedIndex ? ISD::SIGNED_UNSCALED : ISD::UNSIGNED_UNSCALED; in getCanonicalIndexType()
7957 return IndexType; in getCanonicalIndexType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp449 IO.mapRequired("IndexType", Record.IndexType); in map()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1134 Type *IndexType = Type::getIntNTy(C, IndexBits); in buildFrameType() local
1136 SwitchIndexFieldId = B.addField(IndexType, None); in buildFrameType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1606 TypeIndex IndexType = getPointerSizeInBytes() == 8 in lowerTypeArray() local
1646 ArrayRecord AR(ElementTypeIndex, IndexType, ArraySize, Name); in lowerTypeArray()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp993 llvm::Value *Index, QualType IndexType, in EmitBoundsCheck() argument
1004 bool IndexSigned = IndexType->isSignedIntegerOrEnumerationType(); in EmitBoundsCheck()
1011 EmitCheckTypeDescriptor(IndexType) in EmitBoundsCheck()

12