Home
last modified time | relevance | path

Searched refs:isCast (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp177 if (CastInst->isCast()) in findMatInsertPt()
460 if (!CastInst->isCast()) in collectConstantCandidates()
478 if (!ConstExpr->isCast()) in collectConstantCandidates()
495 if (Inst->isCast()) in collectConstantCandidates()
792 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
821 assert(ConstExpr->isCast() && "ConstExpr should be a cast"); in emitBaseConstants()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.h168 bool isCast() const { return isCast(getOpcode()); }
220 static inline bool isCast(unsigned OpCode) {
H A DAbstractCallSite.h147 if (CE->hasOneUse() && CE->isCast()) in isCallee()
H A DConstants.h1150 bool isCast() const;
H A DInstrTypes.h699 return I->isCast();
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/
H A DNodeIntrospection.h46 bool isCast() const { return m_flags & IsCast; } in isCast() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAbstractCallSite.cpp67 if (CE->hasOneUse() && CE->isCast()) { in AbstractCallSite()
H A DConstantsContext.h61 return Instruction::isCast(CE->getOpcode()) || in classof()
611 if (Instruction::isCast(Opcode) ||
H A DConstantFold.cpp91 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
93 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
567 if (CE->isCast()) { in ConstantFoldCastInstruction()
2510 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtr()
H A DConstants.cpp1456 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr
1457 return Instruction::isCast(getOpcode()); in isCast()
1979 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
H A DFunction.cpp1677 if (FI->isCast() && !FI->user_empty() && in hasAddressTaken()
H A DAsmWriter.cpp1621 if (CE->isCast()) { in WriteConstantInternal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp305 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
H A DNVPTXISelLowering.cpp1382 if (!CE->isCast()) in getArgumentAlignment()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DExecutionUtils.cpp63 if (CE->isCast()) in operator *()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DExtractFunction.cpp272 if (CE->isCast()) in SplitStaticCtorDtor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLint.cpp679 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
H A DConstantFolding.cpp1061 if (Instruction::isCast(Opcode)) in ConstantFoldInstOperandsImpl()
1335 assert(Instruction::isCast(Opcode)); in ConstantFoldCastOperand()
H A DValueTracking.cpp4986 if (isa<CastInst>(Op) || (CE && CE->isCast())) in canCreateUndefOrPoison()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprObjC.cpp3915 unsigned convKindForDiag = Sema::isCast(CCK) ? 0 : 1; in diagnoseObjCARCConversion()
4459 isCast(CCK)) in CheckObjCConversion()
4484 if (exprACTC == ACTC_retainable && isAnyRetainable(castACTC) && isCast(CCK)) in CheckObjCConversion()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp393 if (CE->isCast()) in runStaticConstructorsDestructors()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4100 (Instruction::isCast(E->getOpcode()) && in getEntryCost()
4101 Instruction::isCast(E->getAltOpcode()))) && in getEntryCost()
5341 (Instruction::isCast(E->getOpcode()) && in vectorizeTree()
5342 Instruction::isCast(E->getAltOpcode()))) && in vectorizeTree()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributor.cpp809 if (CE->isCast() && CE->getType()->isPointerTy() && in checkForAllCallSites()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2553 if (Instruction::isCast(CE->getOpcode())) { in writeConstants()
2735 if (Instruction::isCast(I.getOpcode())) { in writeInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp279 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp()

12