Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DValueTypes.cpp208 case MVT::i1: return Type::getInt1Ty(Context); in getTypeForEVT()
221 case MVT::v1i1: return VectorType::get(Type::getInt1Ty(Context), 1); in getTypeForEVT()
222 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); in getTypeForEVT()
223 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); in getTypeForEVT()
224 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); in getTypeForEVT()
225 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16); in getTypeForEVT()
226 case MVT::v32i1: return VectorType::get(Type::getInt1Ty(Context), 32); in getTypeForEVT()
227 case MVT::v64i1: return VectorType::get(Type::getInt1Ty(Context), 64); in getTypeForEVT()
228 case MVT::v128i1: return VectorType::get(Type::getInt1Ty(Context), 128); in getTypeForEVT()
229 case MVT::v512i1: return VectorType::get(Type::getInt1Ty(Context), 512); in getTypeForEVT()
[all …]
H A DAtomicExpandPass.cpp1227 PHINode *Success = Builder.CreatePHI(Type::getInt1Ty(Ctx), 2); in expandAtomicCmpXchg()
1725 ResultTy = Type::getInt1Ty(Ctx); in expandAtomicOpToLibcall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp50 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), in reportGlobalToASan()
52 llvm::Type::getInt1Ty(VMContext), IsBlacklisted))}; in reportGlobalToASan()
H A DCGBuilder.h131 assert(Addr->getType()->getPointerElementType() == getInt1Ty());
132 return CreateAlignedLoad(getInt1Ty(), Addr, CharUnits::One(), Name);
137 assert(Addr->getType()->getPointerElementType() == getInt1Ty()); in CreateFlagStore()
H A DCGLoopInfo.cpp87 Type::getInt1Ty(Ctx), (Attrs.VectorizeEnable == in createMetadata()
121 Type::getInt1Ty(Ctx), (Attrs.DistributeEnable == in createMetadata()
136 Type::getInt1Ty(Ctx), (Attrs.PipelineDisabled == true)))}; in createMetadata()
H A DCGCoroutine.cpp237 CGF.CreateTempAlloca(Builder.getInt1Ty(), Prefix + Twine("resume.eh")); in emitSuspendExpression()
500 CGF.CreateTempAlloca(Builder.getInt1Ty(), CharUnits::One(), "gro.active"); in EmitGroAlloca()
H A DCGCleanup.cpp287 Builder.getInt1Ty(), CharUnits::One(), "cleanup.cond"); in createCleanupActiveFlag()
1211 var = CGF.CreateTempAlloca(CGF.Builder.getInt1Ty(), CharUnits::One(), in SetupCleanupBlockActivation()
H A DCodeGenTypes.cpp423 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType()
H A DCGExprScalar.cpp383 if (ZI->getOperand(0)->getType() == Builder.getInt1Ty()) { in EmitIntToBoolConversion()
518 return llvm::ConstantInt::get(Builder.getInt1Ty(), 1); in VisitObjCAvailabilityCheckExpr()
653 return llvm::ConstantInt::get(Builder.getInt1Ty(), E->getValue()); in VisitExpressionTraitExpr()
3668 Result = Builder.CreateTrunc(Result, Builder.getInt1Ty()); in EmitCompare()
3862 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLAnd()
3947 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLOr()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DType.cpp173 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() function in Type
217 return getInt1Ty(C)->getPointerTo(AS); in getInt1PtrTy()
246 case 1: return cast<IntegerType>(Type::getInt1Ty(C)); in get()
H A DIRBuilder.cpp454 assert(Cond->getType() == getInt1Ty() && in CreateAssumption()
532 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedGather()
568 Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context), in CreateMaskedScatter()
H A DConstants.cpp581 pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1); in getTrue()
588 pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0); in getFalse()
1928 Type *AligningTy = StructType::get(Type::getInt1Ty(Ty->getContext()), Ty); in getAlignOf()
2070 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getICmp()
2095 Type *ResultTy = Type::getInt1Ty(LHS->getContext()); in getFCmp()
H A DAutoUpgrade.cpp500 Type::getInt1Ty(F->getContext()) in UpgradeIntrinsicFunction1()
856 llvm::VectorType *MaskTy = llvm::VectorType::get(Builder.getInt1Ty(), in getX86MaskVec()
893 llvm::VectorType::get(Builder.getInt1Ty(), in EmitX86ScalarSelect()
1217 Cmp = Constant::getNullValue(llvm::VectorType::get(Builder.getInt1Ty(), NumElts)); in upgradeMaskedCompare()
1219 Cmp = Constant::getAllOnesValue(llvm::VectorType::get(Builder.getInt1Ty(), NumElts)); in upgradeMaskedCompare()
/freebsd-12.1/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp312 Type::getInt1Ty(Context), in pickScalarType()
626 Type *CondTy = Type::getInt1Ty(Context); in Act()
711 if (Instr.getType() == IntegerType::getInt1Ty(F->getContext())) in IntroduceControlFlow()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp264 Type *Int1Ty = Type::getInt1Ty(U->getContext()); in runOnUse()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp102 if (LI && LI->getType() == Type::getInt1Ty(Ctx) && in converted()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h407 static IntegerType *getInt1Ty(LLVMContext &C);
H A DInstrTypes.h891 return VectorType::get(Type::getInt1Ty(opnd_type->getContext()),
894 return Type::getInt1Ty(opnd_type->getContext());
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp138 Boolean = Type::getInt1Ty(Context); in doInitialization()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp882 new GlobalVariable(Type::getInt1Ty(GV->getContext()), false, in OptimizeGlobalAddressOfMalloc()
1607 if (GVElType == Type::getInt1Ty(GV->getContext()) || in TryToShrinkGlobalToBoolean()
1621 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()), in TryToShrinkGlobalToBoolean()
1632 assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) && in TryToShrinkGlobalToBoolean()
1690 StoreVal = ConstantInt::get(Type::getInt1Ty(GV->getContext()), in TryToShrinkGlobalToBoolean()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp941 Val->getType() != Type::getInt1Ty(LIC->getContext())) in EmitPreheaderBranchOnCondition()
1456 Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()), in RewriteLoopBodyWithConditionConstant()
H A DCorrelatedValuePropagation.cpp297 Constant *TorF = ConstantInt::get(Type::getInt1Ty(Cmp->getContext()), Result); in processCmp()
H A DStructurizeCFG.cpp300 Boolean = Type::getInt1Ty(Context); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp694 case 2: RetTy = Type::getInt1Ty(header->getContext()); break; in constructFunction()
1058 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum); in emitCallAndSwitchStatement()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp389 : Type::getInt1Ty(C); in buildFrameType()

123