/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 75 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 D | SystemZ.cpp | 292 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 D | DwarfUnit.h | 336 void constructSubrangeDIE(DIE &Buffer, const DISubrange *SR, DIE *IndexTy); 338 DIE *IndexTy);
|
H A D | DwarfUnit.cpp | 1387 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 D | OMPIRBuilder.cpp | 2300 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 D | BasicBlockUtils.h | 553 void SplitBlockAndInsertForEachLane(ElementCount EC, Type *IndexTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 1141 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 D | VPlanRecipes.cpp | 1596 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 D | BasicBlockUtils.cpp | 1758 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 D | CoroFrame.cpp | 1172 *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 D | CGObjCGNU.cpp | 3754 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 D | InstructionCombining.cpp | 2754 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 D | Instructions.cpp | 1504 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 D | Verifier.cpp | 4106 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 D | CodeGenPrepare.cpp | 5940 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 D | LegalizeVectorTypes.cpp | 2377 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
|