Home
last modified time | relevance | path

Searched refs:getInt1Ty (Results 1 – 25 of 92) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DValueTypes.cpp189 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT()
214 return FixedVectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT()
216 return FixedVectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT()
218 return FixedVectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT()
220 return FixedVectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT()
222 return FixedVectorType::get(Type::getInt1Ty(Context), 16); in getTypeForEVT()
224 return FixedVectorType::get(Type::getInt1Ty(Context), 32); in getTypeForEVT()
226 return FixedVectorType::get(Type::getInt1Ty(Context), 64); in getTypeForEVT()
228 return FixedVectorType::get(Type::getInt1Ty(Context), 128); in getTypeForEVT()
230 return FixedVectorType::get(Type::getInt1Ty(Context), 256); in getTypeForEVT()
[all …]
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DStrategiesTest.cpp30 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createInjectorMutator()
43 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createDeleterMutator()
54 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createInstModifierMutator()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGLoopInfo.cpp53 llvm::Type::getInt1Ty(Ctx), 1))})); in createPipeliningMetadata()
231 llvm::Type::getInt1Ty(Ctx), 0))})); in createLoopVectorizeMetadata()
262 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt1Ty(Ctx), in createLoopVectorizeMetadata()
282 ConstantInt::get(llvm::Type::getInt1Ty(Ctx), IsScalable))}; in createLoopVectorizeMetadata()
313 llvm::Type::getInt1Ty(Ctx), AttrVal))})); in createLoopVectorizeMetadata()
346 llvm::Type::getInt1Ty(Ctx), 0))})); in createLoopDistributeMetadata()
363 llvm::Type::getInt1Ty(Ctx), in createLoopDistributeMetadata()
H A DCGBuilder.h124 ->isOpaqueOrPointeeTypeMatches(getInt1Ty()));
125 return CreateAlignedLoad(getInt1Ty(), Addr, CharUnits::One(), Name);
131 ->isOpaqueOrPointeeTypeMatches(getInt1Ty())); in CreateFlagStore()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DBasicAliasAnalysisTest.cpp138 FunctionType::get(B.getVoidTy(), {B.getPtrTy(), B.getInt1Ty()}, false), in TEST_F()
179 FunctionType::get(B.getVoidTy(), {B.getPtrTy(), B.getInt1Ty()}, false), in TEST_F()
H A DPhiValuesTest.cpp25 Type *I1Ty = Type::getInt1Ty(C); in TEST()
92 Type *I1Ty = Type::getInt1Ty(C); in TEST()
H A DSparsePropagation.cpp382 LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin()); in TEST_F()
422 LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin()); in TEST_F()
H A DScalarEvolutionTest.cpp87 Type *Ty = Type::getInt1Ty(Context); in TEST_F()
137 BranchInst::Create(LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), in TEST_F()
336 BranchInst::Create(LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), in TEST_F()
933 LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), LoopBB); in TEST_F()
989 LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), LoopBB); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp92 assert(V->getType() == Type::getInt1Ty(V->getContext()) && in translate()
265 Type *Int1Ty = Type::getInt1Ty(U->getContext()); in runOnUse()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp293 ScalableVectorType::get(Type::getInt1Ty(I->getContext()), 16); in optimizePredicateStore()
356 ScalableVectorType::get(Type::getInt1Ty(I->getContext()), 16); in optimizePredicateLoad()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp201 return Type::getInt1Ty(Ctx); in getTypeFromParameterKind()
286 return Type::getInt1Ty(Ctx); in getOverloadTy()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVectorBuilder.cpp35 auto *BoolTy = Builder.getInt1Ty(); in getAllTrueMask()
H A DType.cpp236 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() function in Type
288 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
317 case 1: return cast<IntegerType>(Type::getInt1Ty(C)); in get()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp245 Type::getInt1Ty(M->getContext())); in CreateAssert()
256 auto * const Int1Ty = Type::getInt1Ty(F.getContext()); in rewrite()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp182 appendToUsed(*M, {new GlobalVariable(*M, Type::getInt1Ty(Context), true, in createFSDiscriminatorVariable()
/llvm-project-15.0.7/llvm/tools/llvm-isel-fuzzer/
H A Dllvm-isel-fuzzer.cpp55 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createISelMutator()
/llvm-project-15.0.7/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp158 ScalarTypes.assign({Type::getInt1Ty(Context), Type::getInt8Ty(Context), in Modifier()
627 Type *CondTy = Type::getInt1Ty(Context); in Act()
713 if (Instr.getType() == IntegerType::getInt1Ty(F->getContext())) in IntroduceControlFlow()
/llvm-project-15.0.7/llvm/tools/llvm-opt-fuzzer/
H A Dllvm-opt-fuzzer.cpp45 Type::getInt1Ty, Type::getInt8Ty, Type::getInt16Ty, Type::getInt32Ty, in createOptMutator()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIRBuilder.cpp151 ConstantInt *FalseValue = ConstantInt::get(Type::getInt1Ty(Ctx), 0); in annotateLoopLatch()
H A DLoopGeneratorsGOMP.cpp142 Next, Builder.getInt1Ty(), "polly.par.hasNextScheduleBlock"); in createSubFn()
H A DPerfMonitor.cpp237 Builder.CreateLoad(Builder.getInt1Ty(), AlreadyInitializedPtr); in insertInitFunction()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp106 if (LI && LI->getType() == Type::getInt1Ty(Ctx) && in converted()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DType.h435 static IntegerType *getInt1Ty(LLVMContext &C);
/llvm-project-15.0.7/llvm/unittests/IR/
H A DVectorBuilderTest.cpp34 FixedVectorType::get(Type::getInt1Ty(Context), VectorNumElements); in createBuilderModule()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp909 new GlobalVariable(Type::getInt1Ty(GV->getContext()), false, in OptimizeGlobalAddressOfAllocation()
1132 if (GVElType == Type::getInt1Ty(GV->getContext()) || in TryToShrinkGlobalToBoolean()
1149 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), in TryToShrinkGlobalToBoolean()
1160 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean()
1225 StoreVal = ConstantInt::get(Type::getInt1Ty(GV->getContext()), in TryToShrinkGlobalToBoolean()

1234