reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Type.h
  420   static IntegerType *getInt1Ty(LLVMContext &C);

References

include/llvm/IR/IRBuilder.h
  384     return Type::getInt1Ty(Context);
include/llvm/IR/InstrTypes.h
  977       return VectorType::get(Type::getInt1Ty(opnd_type->getContext()),
  980     return Type::getInt1Ty(opnd_type->getContext());
lib/Analysis/ConstantFolding.cpp
 2179         ConstantInt::get(Type::getInt1Ty(Ty->getContext()), Overflow)
lib/Analysis/LazyValueInfo.cpp
 1397                               Type::getInt1Ty(Val->getContext()), isTrueDest));
lib/Analysis/ScalarEvolution.cpp
 4393     return IsPositiveBECond ? SE.getOne(Type::getInt1Ty(SE.getContext()))
 4394                             : SE.getZero(Type::getInt1Ty(SE.getContext()));
lib/Analysis/ScalarEvolutionExpander.cpp
 1062       GEPPtrTy = PointerType::get(Type::getInt1Ty(SE.getContext()),
lib/AsmParser/LLParser.cpp
 5935   if (Op0->getType() != Type::getInt1Ty(Context))
lib/Bitcode/Reader/BitcodeReader.cpp
 2628       Type *SelectorTy = Type::getInt1Ty(Context);
 4086           popValue(Record, OpNum, NextValueNo, Type::getInt1Ty(Context), Cond))
 4108         if (vector_type->getElementType() != Type::getInt1Ty(Context))
 4112         if (Cond->getType() != Type::getInt1Ty(Context))
 4245                                Type::getInt1Ty(Context));
 4933       FullTy = StructType::get(Context, {FullTy, Type::getInt1Ty(Context)});
lib/CodeGen/AtomicExpandPass.cpp
 1252   PHINode *Success = Builder.CreatePHI(Type::getInt1Ty(Ctx), 2);
 1762     ResultTy = Type::getInt1Ty(Ctx);
lib/CodeGen/ValueTypes.cpp
  270   case MVT::i1:      return Type::getInt1Ty(Context);
  283   case MVT::v1i1:    return VectorType::get(Type::getInt1Ty(Context), 1);
  284   case MVT::v2i1:    return VectorType::get(Type::getInt1Ty(Context), 2);
  285   case MVT::v4i1:    return VectorType::get(Type::getInt1Ty(Context), 4);
  286   case MVT::v8i1:    return VectorType::get(Type::getInt1Ty(Context), 8);
  287   case MVT::v16i1:   return VectorType::get(Type::getInt1Ty(Context), 16);
  288   case MVT::v32i1:   return VectorType::get(Type::getInt1Ty(Context), 32);
  289   case MVT::v64i1:   return VectorType::get(Type::getInt1Ty(Context), 64);
  290   case MVT::v128i1:  return VectorType::get(Type::getInt1Ty(Context), 128);
  291   case MVT::v256i1:  return VectorType::get(Type::getInt1Ty(Context), 256);
  292   case MVT::v512i1:  return VectorType::get(Type::getInt1Ty(Context), 512);
  293   case MVT::v1024i1: return VectorType::get(Type::getInt1Ty(Context), 1024);
  358     return VectorType::get(Type::getInt1Ty(Context), 1, /*Scalable=*/ true);
  360     return VectorType::get(Type::getInt1Ty(Context), 2, /*Scalable=*/ true);
  362     return VectorType::get(Type::getInt1Ty(Context), 4, /*Scalable=*/ true);
  364     return VectorType::get(Type::getInt1Ty(Context), 8, /*Scalable=*/ true);
  366     return VectorType::get(Type::getInt1Ty(Context), 16, /*Scalable=*/ true);
  368     return VectorType::get(Type::getInt1Ty(Context), 32, /*Scalable=*/ true);
lib/IR/AutoUpgrade.cpp
  510         Type::getInt1Ty(F->getContext())
lib/IR/ConstantFold.cpp
 1789     ResultTy = VectorType::get(Type::getInt1Ty(C1->getContext()),
 1792     ResultTy = Type::getInt1Ty(C1->getContext());
lib/IR/Constants.cpp
  612     pImpl->TheTrueVal = ConstantInt::get(Type::getInt1Ty(Context), 1);
  619     pImpl->TheFalseVal = ConstantInt::get(Type::getInt1Ty(Context), 0);
 1940   Type *AligningTy = StructType::get(Type::getInt1Ty(Ty->getContext()), Ty);
 2082   Type *ResultTy = Type::getInt1Ty(LHS->getContext());
 2107   Type *ResultTy = Type::getInt1Ty(LHS->getContext());
lib/IR/Core.cpp
  547   return (LLVMTypeRef) Type::getInt1Ty(*unwrap(C));
lib/IR/IRBuilder.cpp
  531     Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context),
  567     Mask = Constant::getAllOnesValue(VectorType::get(Type::getInt1Ty(Context),
lib/IR/Instructions.cpp
   88     if (VT->getElementType() != Type::getInt1Ty(Op0->getContext()))
   96   } else if (Op0->getType() != Type::getInt1Ty(Op0->getContext())) {
 1474           StructType::get(Cmp->getType(), Type::getInt1Ty(Cmp->getContext())),
 1486           StructType::get(Cmp->getType(), Type::getInt1Ty(Cmp->getContext())),
lib/IR/MDBuilder.cpp
  118   Type *Int1 = Type::getInt1Ty(Context);
lib/IR/Type.cpp
  221   return getInt1Ty(C)->getPointerTo(AS);
  250   case   1: return cast<IntegerType>(Type::getInt1Ty(C));
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  141   Boolean = Type::getInt1Ty(Context);
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  263     Type *Int1Ty = Type::getInt1Ty(U->getContext());
lib/Target/SystemZ/SystemZTDC.cpp
  101       if (LI && LI->getType() == Type::getInt1Ty(Ctx) &&
lib/Target/X86/X86TargetTransformInfo.cpp
 3187       VectorType::get(Type::getInt1Ty(SrcVTy->getContext()), VF);
 3190       getCmpSelInstrCost(Instruction::ICmp, Type::getInt1Ty(SrcVTy->getContext()),
lib/Transforms/Coroutines/CoroFrame.cpp
  417                             : Type::getInt1Ty(C);
lib/Transforms/IPO/Attributor.cpp
 3606             ConstantInt::get(Type::getInt1Ty(F->getContext()), false)};
lib/Transforms/IPO/GlobalOpt.cpp
  884     new GlobalVariable(Type::getInt1Ty(GV->getContext()), false,
 1614   if (GVElType == Type::getInt1Ty(GV->getContext()) ||
 1628   GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()),
 1639   assert(InitVal->getType() != Type::getInt1Ty(GV->getContext()) &&
 1704         StoreVal = ConstantInt::get(Type::getInt1Ty(GV->getContext()),
lib/Transforms/IPO/LowerTypeTests.cpp
  389   IntegerType *Int1Ty = Type::getInt1Ty(M.getContext());
lib/Transforms/InstCombine/InstCombineCalls.cpp
   97   IntegerType *BoolTy = Type::getInt1Ty(V->getContext());
lib/Transforms/InstCombine/InstructionCombining.cpp
 2402                             ConstantInt::get(Type::getInt1Ty(C->getContext()),
lib/Transforms/Instrumentation/PoisonChecking.cpp
  246                          Type::getInt1Ty(M->getContext()));
  257   auto * const Int1Ty = Type::getInt1Ty(F.getContext());
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  323   Constant *TorF = ConstantInt::get(Type::getInt1Ty(Cmp->getContext()), Result);
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  419       ConstantAsMetadata::get(ConstantInt::get(Type::getInt1Ty(Context), 0));
lib/Transforms/Scalar/JumpThreading.cpp
  812           Res = ConstantInt::get(Type::getInt1Ty(LHS->getContext()), ResT);
lib/Transforms/Scalar/LoopUnswitch.cpp
  944       Val->getType() != Type::getInt1Ty(LIC->getContext()))
 1467       Replacement = ConstantInt::get(Type::getInt1Ty(Val->getContext()),
lib/Transforms/Scalar/StructurizeCFG.cpp
  304   Boolean = Type::getInt1Ty(Context);
lib/Transforms/Utils/CodeExtractor.cpp
  780   case 2: RetTy = Type::getInt1Ty(header->getContext()); break;
 1211             brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum);
lib/Transforms/Utils/SimplifyCFG.cpp
 3236           ConstantInt::get(Type::getInt1Ty(BB->getContext()), CondIsTrue));
 3246           Type::getInt1Ty(BB->getContext()), std::distance(PB, PE),
 3258               ConstantInt::get(Type::getInt1Ty(BB->getContext()), CondIsTrue),
 5464         Shifted, Type::getInt1Ty(Mod.getContext()), "switch.lobit");
lib/Transforms/Vectorize/LoopVectorize.cpp
 6123           VectorType::get(IntegerType::getInt1Ty(RetTy->getContext()), VF);
 6152                  ToVectorTy(Type::getInt1Ty(Phi->getContext()), VF));
tools/clang/lib/CodeGen/CGExprScalar.cpp
 4012   llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2,
 4097   llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2,
tools/clang/lib/CodeGen/CGLoopInfo.cpp
   52                                 llvm::Type::getInt1Ty(Ctx), 1))}));
  232                                 llvm::Type::getInt1Ty(Ctx), 0))}));
  266         ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt1Ty(Ctx),
  295             llvm::Type::getInt1Ty(Ctx),
  332                                 llvm::Type::getInt1Ty(Ctx), 0))}));
  350                           llvm::Type::getInt1Ty(Ctx),
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2600           llvm::Type::getInt1Ty(VMContext), IsClassMessage))};
 2676           llvm::Type::getInt1Ty(VMContext), Class != nullptr))};
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  421       ResultType = llvm::Type::getInt1Ty(getLLVMContext());
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   52           llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)),
   54           llvm::Type::getInt1Ty(VMContext), IsBlacklisted))};
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   54       Type::getInt1Ty,  Type::getInt8Ty,  Type::getInt16Ty, Type::getInt32Ty,
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   39       Type::getInt1Ty,  Type::getInt8Ty,  Type::getInt16Ty, Type::getInt32Ty,
tools/llvm-stress/llvm-stress.cpp
  311         Type::getInt1Ty(Context),
  625     Type *CondTy = Type::getInt1Ty(Context);
  710     if (Instr.getType() == IntegerType::getInt1Ty(F->getContext()))
tools/polly/lib/CodeGen/IRBuilder.cpp
  131     auto *FalseValue = ConstantInt::get(Type::getInt1Ty(Ctx), 0);
tools/polly/lib/Exchange/JSONExporter.cpp
  608       {"i1", Type::getInt1Ty(LLVMContext)},
tools/polly/lib/Support/ScopHelper.cpp
  453       return ConstantInt::getTrue(Type::getInt1Ty(TI->getContext()));
unittests/Analysis/MemorySSATest.cpp
  713   B.CreateCondBr(UndefValue::get(Type::getInt1Ty(C)), IfThen, IfEnd);
unittests/Analysis/PhiValuesTest.cpp
   24   Type *I1Ty = Type::getInt1Ty(C);
   91   Type *I1Ty = Type::getInt1Ty(C);
unittests/Analysis/ScalarEvolutionTest.cpp
   75   Type *Ty = Type::getInt1Ty(Context);
  125   BranchInst::Create(LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)),
  174       LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), LoopBB);
  383   BranchInst::Create(LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)),
  752   Type *T_int1 = Type::getInt1Ty(Context);
 1017       LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), LoopBB);
 1074       LoopBB, ExitBB, UndefValue::get(Type::getInt1Ty(Context)), LoopBB);
unittests/Analysis/SparsePropagation.cpp
  384   LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin());
  424   LoadInst *Cond = Builder.CreateLoad(Type::getInt1Ty(Context), F->arg_begin());
unittests/FuzzMutate/OperationsTest.cpp
  186   SBOp.BuilderFunc({UndefValue::get(Type::getInt1Ty(Ctx))}, RI);
unittests/FuzzMutate/StrategiesTest.cpp
   30       Type::getInt1Ty,  Type::getInt8Ty,  Type::getInt16Ty, Type::getInt32Ty,
   43       Type::getInt1Ty,  Type::getInt8Ty,  Type::getInt16Ty, Type::getInt32Ty,
unittests/IR/ConstantsTest.cpp
  198   Type *Int1Ty = Type::getInt1Ty(Context);
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
  909     auto *Cond = new LoadInst(Type::getInt1Ty(Context), &Ptr, Name,
 1112     auto *Cond = new LoadInst(Type::getInt1Ty(Context), &Ptr, Name,
 1507                 new LoadInst(Type::getInt1Ty(Context), &Ptr, "cond.0.3",