/freebsd-10.3-release/contrib/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 52 if (U->getType() == Ty) 65 CI->setOperand(0, UndefValue::get(V->getType())); 95 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) && 100 if (V->getType() == Ty) 103 if (CI->getOperand(0)->getType() == Ty) 109 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) { 113 SE.getTypeSizeInBits(CI->getType()) == 114 SE.getTypeSizeInBits(CI->getOperand(0)->getType())) 119 SE.getTypeSizeInBits(CE->getType()) == 120 SE.getTypeSizeInBits(CE->getOperand(0)->getType())) [all...] |
H A D | CaptureTracking.cpp | 83 assert(V->getType()->isPointerTy() && "Capture is for pointers only!"); 113 if (CS.onlyReadsMemory() && CS.doesNotThrow() && I->getType()->isVoidTy()) 169 if (CPN->getType()->getAddressSpace() == 0)
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastToStructChecker.cpp | 38 QualType OrigTy = Ctx.getCanonicalType(E->getType()); 39 QualType ToTy = Ctx.getCanonicalType(CE->getType());
|
H A D | FixedAddressChecker.cpp | 43 QualType T = B->getType();
|
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 77 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 0); 85 return ConstantInt::get(CmpInst::makeCmpResultType(LHS->getType()), 1);
|
H A D | SimplifyIndVar.cpp | 112 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand"); 117 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth(); 127 if (!SE->isSCEVable(UseInst->getType())) 210 SE->getMinusSCEV(S, SE->getConstant(S->getType(), 1)); 223 ConstantInt::get(Rem->getType(), 0), 252 if (!SE->isSCEVable(UseInst->getType()) || 253 (UseInst->getType() != IVOperand->getType()) || 293 if (!SE->isSCEVable(I->getType())) 320 if (!SE->isSCEVable(CurrIV->getType())) [all...] |
H A D | SimplifyLibCalls.cpp | 121 if ((*it)->getType()->isFloatingPointTy()) 504 return Constant::getNullValue(CI->getType()); 540 return Constant::getNullValue(CI->getType()); 559 return ConstantInt::get(CI->getType(), 0); 567 return ConstantInt::get(CI->getType(), Str1.compare(Str2)); 571 CI->getType())); 574 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); 605 return ConstantInt::get(CI->getType(), 0); 615 return ConstantInt::get(CI->getType(), 0); 628 return ConstantInt::get(CI->getType(), SubStr [all...] |
H A D | BypassSlowDivision.cpp | 133 Dividend->getType()); 136 Dividend->getType()); 141 PHINode *QuoPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2); 144 PHINode *RemPhi = SuccessorBuilder.CreatePHI(Instr->getType(), 2); 166 Value *ZeroV = ConstantInt::getSigned(Dividend->getType(), 0); 242 if (!J->getType()->isIntegerTy()) 246 IntegerType *T = cast<IntegerType>(J->getType());
|
H A D | CloneModule.cpp | 48 I->getType()->getElementType(), 53 I->getType()->getAddressSpace()); 61 Function::Create(cast<FunctionType>(I->getType()->getElementType()), 70 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(),
|
H A D | DemoteRegToStack.cpp | 34 Slot = new AllocaInst(I.getType(), 0, 38 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem", 119 Slot = new AllocaInst(P->getType(), 0, 123 Slot = new AllocaInst(P->getType(), 0, P->getName()+".reg2mem",
|
/freebsd-10.3-release/contrib/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 28 return ConstantInt::get(cast<IntegerType>(C->getType()), 1); 33 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); 37 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); 61 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 96 if (VectorType *VTy = dyn_cast<VectorType>(In1->getType())) { 237 uint64_t ArrayElementCount = Init->getType()->getArrayNumElements(); 255 Type *EltTy = Init->getType()->getArrayElementType(); 398 Type *IntPtrTy = TD->getIntPtrType(GEP->getType()); 400 if (Idx->getType()->getPrimitiveSizeInBits() > PtrSize) 411 Value *FirstTrueIdx = ConstantInt::get(Idx->getType(), FirstTrueElemen [all...] |
H A D | InstCombineShifts.cpp | 23 assert(I.getOperand(1)->getType() == I.getOperand(0)->getType()); 47 Value *Rem = Builder->CreateAnd(A, ConstantInt::get(I.getType(), *B-1), 126 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); 150 unsigned TypeWidth = I->getType()->getScalarSizeInBits(); 213 unsigned TypeWidth = BO->getType()->getScalarSizeInBits(); 223 return Constant::getNullValue(I->getType()); 225 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); 247 BO->setOperand(1, ConstantInt::get(BO->getType(), 255 unsigned TypeWidth = BO->getType() [all...] |
H A D | InstCombinePHI.cpp | 31 Type *LHSType = LHSVal->getType(); 32 Type *RHSType = RHSVal->getType(); 49 I->getOperand(0)->getType() != LHSType || 50 I->getOperand(1)->getType() != RHSType) 149 if (!GEP || !GEP->hasOneUse() || GEP->getType() != FirstInst->getType() || 175 if (FirstInst->getOperand(op)->getType() !=GEP->getOperand(op)->getType()) 207 PHINode *NewPN = PHINode::Create(FirstOp->getType(), e, 348 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), [all...] |
H A D | InstCombineSelect.cpp | 114 return Constant::getNullValue(I->getType()); 116 return Constant::getAllOnesValue(I->getType()); 118 return ConstantInt::get(I->getType(), 1); 130 Type *FIOpndTy = FI->getOperand(0)->getType(); 131 if (TI->getOperand(0)->getType() != FIOpndTy) 135 Type *CondTy = SI.getCondition()->getType(); 147 TI->getType()); 345 return ConstantFoldInstOperands(I->getOpcode(), I->getType(), 370 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) 399 V = Builder->CreateZExtOrTrunc(V, Y->getType()); [all...] |
/freebsd-10.3-release/contrib/llvm/lib/IR/ |
H A D | TypeFinder.cpp | 29 incorporateType(I->getType()); 37 incorporateType(I->getType()); 45 incorporateType(FI->getType()); 62 incorporateType(I.getType()); 135 incorporateType(V->getType());
|
H A D | Globals.cpp | 96 assert(InitVal->getType() == Ty && 117 assert(InitVal->getType() == Ty && 173 assert(InitVal->getType() == getType()->getElementType() && 202 assert(aliasee->getType() == Ty && "Alias and aliasee types should match!"); 226 assert((!Aliasee || Aliasee->getType() == getType()) &&
|
/freebsd-10.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | GVN.cpp | 165 e.type = I->getType(); 203 e.type = CmpInst::makeCmpResultType(LHS->getType()); 219 e.type = EI->getType(); 837 StoredVal->getType()->isStructTy() || 838 StoredVal->getType()->isArrayTy()) 842 if (TD.getTypeSizeInBits(StoredVal->getType()) < 863 Type *StoredValTy = StoredVal->getType(); 915 Constant *Val = ConstantInt::get(StoredVal->getType(), StoreSize-LoadSize); 1020 if (DepSI->getValueOperand()->getType()->isStructTy() || 1021 DepSI->getValueOperand()->getType() [all...] |
H A D | SCCP.cpp | 228 if (GV->getType()->getElementType()->isSingleValueType()) { 287 assert(!V->getType()->isStructTy() && "Should use other method"); 294 if (StructType *STy = dyn_cast<StructType>(V->getType())) 316 assert(!V->getType()->isStructTy() && "Should use other method"); 321 assert(!V->getType()->isStructTy() && "Should use other method"); 359 assert(!V->getType()->isStructTy() && "Should use other method"); 368 assert(!V->getType()->isStructTy() && "Should use getStructValueState"); 391 assert(V->getType()->isStructTy() && "Should use getValueState"); 392 assert(i < cast<StructType>(V->getType())->getNumElements() && 654 if (PN.getType() [all...] |
H A D | ScalarReplAggregates.cpp | 477 if (LI->getType()->isX86_MMXTy()) 480 MergeInTypeForLoadOrStore(LI->getType(), Offset); 488 if (SI->getOperand(0)->getType()->isX86_MMXTy()) 491 MergeInTypeForLoadOrStore(SI->getOperand(0)->getType(), Offset); 518 if (!GEPNonConstantIdx->getType()->isIntegerTy(32)) 631 = ConvertScalar_ExtractValue(LoadedVal, LI->getType(), Offset, 702 PointerType* SPTy = cast<PointerType>(SrcPtr->getType()); 703 PointerType* AIPTy = cast<PointerType>(NewAI->getType()); 719 PointerType* DPTy = cast<PointerType>(MTI->getDest()->getType()); 720 PointerType* AIPTy = cast<PointerType>(NewAI->getType()); [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransBlockObjCVariable.cpp | 85 var->getType()->isObjCObjectPointerType() && 86 isImplicitStrong(var->getType())) { 141 bool useWeak = canApplyWeak(Pass.Ctx, var->getType());
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | InheritViz.cpp | 98 QualType CanonBaseType = Context.getCanonicalType(Base->getType()); 106 WriteNode(Base->getType(), Base->isVirtual()); 112 WriteNodeReference(Base->getType(), Base->isVirtual());
|
/freebsd-10.3-release/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCInst.cpp | 32 unsigned HexagonMCInst::getType() const { function in class:HexagonMCInst 42 getType() != HexagonII::TypeENDLOOP); 47 return (getType() == HexagonII::TypePREFIX);
|
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGExprComplex.cpp | 149 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); 152 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); 200 assert(E->getType()->isAnyComplexType() && "Expected complex type!"); 201 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); 206 assert(E->getType()->isAnyComplexType() && "Expected complex type!"); 207 QualType Elem = E->getType()->castAs<ComplexType>()->getElementType(); 298 if (lvalue.getType()->isAtomicType()) 305 QualType ComplexTy = lvalue.getType(); 332 if (lvalue.getType()->isAtomicType()) 340 QualType ComplexTy = lvalue.getType(); [all...] |
/freebsd-10.3-release/contrib/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 46 Type *getType() const { return V->getType(); } function in class:llvm::SCEVConstant 67 Type *getType() const { return Ty; } function in class:llvm::SCEVCastExpr 157 Type *getType() const { return getOperand(0)->getType(); } 211 Type *getType() const { function in class:llvm::SCEVAddExpr 215 return getOperand(getNumOperands() - 1)->getType(); 258 Type *getType() const { function in class:llvm::SCEVUDivExpr 264 return getRHS()->getType(); 442 Type *getType() cons function in class:llvm::SCEVUnknown [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | ConstraintManager.cpp | 30 QualType Ty = Sym->getType();
|