Home
last modified time | relevance | path

Searched refs:IndexTy (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp75 Type *IndexTy = DL.getIndexType(Ptr->getType()); in getBoundsCheckCond() local
76 Value *NeededSizeVal = IRB.CreateTypeSize(IndexTy, NeededSize); in getBoundsCheckCond()
101 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IndexTy, 0)); in getBoundsCheckCond()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp292 llvm::Type *IndexTy = CGF.Int64Ty; in EmitVAArg() local
294 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg()
335 llvm::Value *MaxRegsV = llvm::ConstantInt::get(IndexTy, MaxRegs); in EmitVAArg()
351 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg()
365 llvm::Value *One = llvm::ConstantInt::get(IndexTy, 1); in EmitVAArg()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h336 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy);
338 DIE *IndexTy);
H A DDwarfUnit.cpp1387 DIE *IndexTy) { in constructSubrangeDIE() argument
1389 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
1429 DIE *IndexTy) { in constructGenericSubrangeDIE() argument
1432 addDIEEntry(DwGenericSubrange, dwarf::DW_AT_type, *IndexTy); in constructGenericSubrangeDIE()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2300 Type *IndexTy = Builder.getIndexTy( in shuffleAndStore() local
2311 Builder.CreateGEP(ElemType, SrcAddr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2348 Builder.CreateGEP(IntType, Ptr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2350 Builder.CreateGEP(IntType, ElemPtr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2362 Ptr = Builder.CreateGEP(IntType, Ptr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2364 Builder.CreateGEP(IntType, ElemPtr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore()
2374 Type *IndexTy = Builder.getIndexTy( in emitReductionListCopy() local
2394 {ConstantInt::get(IndexTy, 0), ConstantInt::get(IndexTy, En.index())}); in emitReductionListCopy()
2401 {ConstantInt::get(IndexTy, 0), ConstantInt::get(IndexTy, En.index())}); in emitReductionListCopy()
2618 Type *IndexTy = Builder.getIndexTy( in emitInterWarpCopyFunction() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h553 void SplitBlockAndInsertForEachLane(ElementCount EC, Type *IndexTy,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp1141 Type *IndexTy = DL.getIndexType(Call->getType()); in foldMemChr()
1147 PHINode *IndexPHI = IRB.CreatePHI(IndexTy, N, "memchr.idx"); in foldMemChr()
1163 IndexPHI->addIncoming(ConstantInt::get(IndexTy, I), BBCase); in foldMemChr()
1142 Type *IndexTy = DL.getIndexType(Call->getType()); foldMemChr() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1596 Type *IndexTy = State.VF.isScalable() && (IsReverse || Part > 0) in execute() local
1606 Value *RunTimeVF = getRuntimeVF(Builder, IndexTy, State.VF); in execute()
1609 ConstantInt::get(IndexTy, -(int64_t)Part), RunTimeVF); in execute()
1612 Builder.CreateSub(ConstantInt::get(IndexTy, 1), RunTimeVF); in execute()
1616 Value *Increment = createStepForVF(Builder, IndexTy, State.VF, Part); in execute()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1758 Type *IndexTy, Instruction *InsertBefore, in SplitBlockAndInsertForEachLane() argument
1764 Value *NumElements = IRB.CreateElementCount(IndexTy, EC); in SplitBlockAndInsertForEachLane()
1777 Func(IRB, ConstantInt::get(IndexTy, Idx)); in SplitBlockAndInsertForEachLane()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1172 *IndexTy = FrameTy->getElementType(IndexIndex); in buildFrameDebugInfo() local
1186 (Layout.getTypeSizeInBits(IndexTy) < 8) in buildFrameDebugInfo()
1188 : Layout.getTypeSizeInBits(IndexTy), in buildFrameDebugInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp3754 llvm::Type *IndexTy = Int32Ty; in GenerateClass() local
3756 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 2 : 1), nullptr, in GenerateClass()
3757 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 3 : 2) }; in GenerateClass()
3763 offsetPointerIndexes[2] = llvm::ConstantInt::get(IndexTy, ivarIndex); in GenerateClass()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2754 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local
2756 IndexTy->isVectorTy() in visitGetElementPtrInst()
2758 cast<VectorType>(IndexTy)->getElementCount()) in visitGetElementPtrInst()
2770 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1504 template <typename IndexTy>
1505 static Type *getIndexedTypeInternal(Type *Ty, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal()
1508 for (IndexTy V : IdxList.slice(1)) { in getIndexedTypeInternal()
H A DVerifier.cpp4106 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local
4107 if (auto *IndexVTy = dyn_cast<VectorType>(IndexTy)) { in visitGetElementPtrInst()
4111 Check(IndexTy->isIntOrIntVectorTy(), in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp5940 auto *IndexTy = VectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local
5944 Builder.CreateGEP(SecondTy, NewAddr, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst()
5975 auto *IndexTy = VectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local
5985 NewAddr = Builder.CreateGEP(ScalarTy, V, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2377 ISD::MemIndexType IndexTy = MGT->getIndexType(); in SplitVecRes_Gather()
2381 OpsLo, MMO, IndexTy, ExtType); in SplitVecRes_Gather()
2385 OpsHi, MMO, IndexTy, ExtType); in SplitVecRes_Gather()
2373 ISD::MemIndexType IndexTy = MGT->getIndexType(); SplitVecRes_Gather() local