| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SystemZ.cpp | 305 llvm::Type *IndexTy = CGF.Int64Ty; in EmitVAArg() local 307 llvm::ConstantInt::get(IndexTy, PaddedSize.getQuantity()); in EmitVAArg() 348 llvm::Value *MaxRegsV = llvm::ConstantInt::get(IndexTy, MaxRegs); in EmitVAArg() 364 llvm::ConstantInt::get(IndexTy, RegSaveIndex * PaddedSize.getQuantity() in EmitVAArg() 378 llvm::Value *One = llvm::ConstantInt::get(IndexTy, 1); in EmitVAArg()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | BoundsChecking.cpp | 78 Type *IndexTy = DL.getIndexType(Ptr->getType()); in getBoundsCheckCond() local 79 Value *NeededSizeVal = IRB.CreateTypeSize(IndexTy, NeededSize); in getBoundsCheckCond() 104 Value *Cmp1 = IRB.CreateICmpSLT(Offset, ConstantInt::get(IndexTy, 0)); in getBoundsCheckCond()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2434 Type *IndexTy = Builder.getIndexTy( in shuffleAndStore() local 2445 Builder.CreateGEP(ElemType, SrcAddr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore() 2482 Builder.CreateGEP(IntType, Ptr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore() 2484 Builder.CreateGEP(IntType, ElemPtr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore() 2496 Ptr = Builder.CreateGEP(IntType, Ptr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore() 2498 Builder.CreateGEP(IntType, ElemPtr, {ConstantInt::get(IndexTy, 1)}); in shuffleAndStore() 2508 Type *IndexTy = Builder.getIndexTy( in emitReductionListCopy() local 2528 {ConstantInt::get(IndexTy, 0), ConstantInt::get(IndexTy, En.index())}); in emitReductionListCopy() 2535 {ConstantInt::get(IndexTy, 0), ConstantInt::get(IndexTy, En.index())}); in emitReductionListCopy() 2756 Type *IndexTy = Builder.getIndexTy( in emitInterWarpCopyFunction() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVLegalizerInfo.cpp | 761 LLT IndexTy = MRI.getType(IndexReg); in legalizeBRJT() local 766 auto ShiftAmt = MIRBuilder.buildConstant(IndexTy, Log2_32(EntrySize)); in legalizeBRJT() 767 IndexReg = MIRBuilder.buildShl(IndexTy, IndexReg, ShiftAmt).getReg(0); in legalizeBRJT() 785 auto Load = MIRBuilder.buildLoadInstr(LoadOpc, IndexTy, Addr, *MMO); in legalizeBRJT() 790 auto Load = MIRBuilder.buildLoadInstr(TargetOpcode::G_SEXTLOAD, IndexTy, in legalizeBRJT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 1212 Type *IndexTy = DL.getIndexType(Call->getType()); in foldMemChr() local 1218 PHINode *IndexPHI = IRB.CreatePHI(IndexTy, N, "memchr.idx"); in foldMemChr() 1234 IndexPHI->addIncoming(ConstantInt::get(IndexTy, I), BBCase); in foldMemChr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | BasicBlockUtils.h | 554 ElementCount EC, Type *IndexTy, BasicBlock::iterator InsertBefore,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanRecipes.cpp | 2355 Type *IndexTy = getGEPIndexTy(State.VF.isScalable(), /*IsReverse*/ true, in execute() local 2360 if (IndexTy != RunTimeVF->getType()) in execute() 2361 RunTimeVF = Builder.CreateZExtOrTrunc(RunTimeVF, IndexTy); in execute() 2364 ConstantInt::get(IndexTy, Stride * (int64_t)CurrentPart), RunTimeVF); in execute() 2366 Value *LastLane = Builder.CreateSub(RunTimeVF, ConstantInt::get(IndexTy, 1)); in execute() 2368 LastLane = Builder.CreateMul(ConstantInt::get(IndexTy, Stride), LastLane); in execute() 2392 Type *IndexTy = getGEPIndexTy(State.VF.isScalable(), /*IsReverse*/ false, in execute() local 2396 Value *Increment = createStepForVF(Builder, IndexTy, State.VF, CurrentPart); in execute()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 1619 ElementCount EC, Type *IndexTy, BasicBlock::iterator InsertBefore, in SplitBlockAndInsertForEachLane() argument 1625 Value *NumElements = IRB.CreateElementCount(IndexTy, EC); in SplitBlockAndInsertForEachLane() 1638 Func(IRB, ConstantInt::get(IndexTy, Idx)); in SplitBlockAndInsertForEachLane()
|
| H A D | SimplifyCFG.cpp | 6602 Type *IndexTy = DL.getIndexType(Array->getType()); in buildLookup() local 6604 if (Index->getType() != IndexTy) in buildLookup() 6605 Index = Builder.CreateZExtOrTrunc(Index, IndexTy); in buildLookup() 6607 Value *GEPIndices[] = {ConstantInt::get(IndexTy, 0), Index}; in buildLookup()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroFrame.cpp | 733 *IndexTy = FrameTy->getElementType(IndexIndex); in buildFrameDebugInfo() local 747 (Layout.getTypeSizeInBits(IndexTy) < 8) in buildFrameDebugInfo() 749 : Layout.getTypeSizeInBits(IndexTy), in buildFrameDebugInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 3845 llvm::Type *IndexTy = Int32Ty; in GenerateClass() local 3847 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 2 : 1), nullptr, in GenerateClass() 3848 llvm::ConstantInt::get(IndexTy, ClassABIVersion > 1 ? 3 : 2) }; in GenerateClass() 3854 offsetPointerIndexes[2] = llvm::ConstantInt::get(IndexTy, ivarIndex); in GenerateClass()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 3120 Type *IndexTy = (*I)->getType(); in visitGetElementPtrInst() local 3122 IndexTy->isVectorTy() in visitGetElementPtrInst() 3124 cast<VectorType>(IndexTy)->getElementCount()) in visitGetElementPtrInst() 3136 if (IndexTy != NewIndexType) { in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 1571 template <typename IndexTy> 1572 static Type *getIndexedTypeInternal(Type *Ty, ArrayRef<IndexTy> IdxList) { in getIndexedTypeInternal() 1575 for (IndexTy V : IdxList.slice(1)) { in getIndexedTypeInternal()
|
| H A D | Verifier.cpp | 4250 Type *IndexTy = Idx->getType(); in visitGetElementPtrInst() local 4251 if (auto *IndexVTy = dyn_cast<VectorType>(IndexTy)) { in visitGetElementPtrInst() 4255 Check(IndexTy->isIntOrIntVectorTy(), in visitGetElementPtrInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 6330 auto *IndexTy = VectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local 6334 Builder.CreateGEP(SecondTy, NewAddr, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst() 6365 auto *IndexTy = VectorType::get(ScalarIndexTy, NumElts); in optimizeGatherScatterInst() local 6375 NewAddr = Builder.CreateGEP(ScalarTy, V, Constant::getNullValue(IndexTy)); in optimizeGatherScatterInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorTypes.cpp | 2452 ISD::MemIndexType IndexTy = MGT->getIndexType(); in SplitVecRes_Gather() local 2456 OpsLo, MMO, IndexTy, ExtType); in SplitVecRes_Gather() 2460 OpsHi, MMO, IndexTy, ExtType); in SplitVecRes_Gather()
|